Skip to content

Commit

Permalink
Merge pull request #64 from evoluhq/changeset-release/main
Browse files Browse the repository at this point in the history
[ci] release
  • Loading branch information
steida authored Dec 27, 2022
2 parents e193754 + 9359ec8 commit 67a9501
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 20 deletions.
7 changes: 0 additions & 7 deletions .changeset/weak-kangaroos-punch.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# server

## 0.0.20

### Patch Changes

- Updated dependencies [e193754]
- evolu@0.6.0

## 0.0.19

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "server",
"version": "0.0.19",
"version": "0.0.20",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -14,7 +14,7 @@
"better-sqlite3": "^8.0.1",
"body-parser": "^1.20.1",
"cors": "^2.8.5",
"evolu": "workspace:0.5.1",
"evolu": "workspace:0.6.0",
"express": "^4.18.2",
"fp-ts": "^2.13.1"
},
Expand Down
7 changes: 7 additions & 0 deletions apps/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# web

## 0.0.20

### Patch Changes

- Updated dependencies [e193754]
- evolu@0.6.0

## 0.0.19

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "0.0.19",
"version": "0.0.20",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -13,7 +13,7 @@
"dependencies": {
"@next/bundle-analyzer": "^13.1.1",
"cross-env": "^7.0.3",
"evolu": "workspace:0.5.1",
"evolu": "workspace:0.6.0",
"next": "^13.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
8 changes: 8 additions & 0 deletions packages/evolu/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# evolu

## 0.6.0

### Minor Changes

- e193754: Replace rfc6902 and immutable-json-patch with custom and much faster algorithm.

For now, we detect only a change in the whole result and in-place edits. In the future, we will add more heuristics. We will probably not implement the Myers diff algorithm because it's faster to rerender all than to compute many detailed patches. We will only implement a logic a developer would implement manually, if necessary.

## 0.5.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/evolu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "evolu",
"version": "0.5.1",
"version": "0.6.0",
"description": "React Hooks library for local-first software with end-to-end encrypted backup and sync using SQLite and CRDT.",
"keywords": [
"evolu",
Expand Down
10 changes: 4 additions & 6 deletions packages/evolu/test/diff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ test("createPatches", () => {
},
]
`);
expect(
createPatches([item, { b: 2 }], [item, { b: 3 }])
).toMatchInlineSnapshot(`
expect(createPatches([item, { b: 2 }], [item, { b: 3 }]))
.toMatchInlineSnapshot(`
[
{
"index": 1,
Expand All @@ -41,9 +40,8 @@ test("createPatches", () => {
},
]
`);
expect(
createPatches([{ a: 1 }, item, { c: 4 }], [{ a: 0 }, item, { c: 1 }])
).toMatchInlineSnapshot(`
expect(createPatches([{ a: 1 }, item, { c: 4 }], [{ a: 0 }, item, { c: 1 }]))
.toMatchInlineSnapshot(`
[
{
"index": 0,
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 67a9501

@vercel
Copy link

@vercel vercel bot commented on 67a9501 Dec 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

evolu – ./

evolu-git-main-evolu.vercel.app
evolu.vercel.app
evolu-evolu.vercel.app
www.evolu.dev
evolu.dev

Please sign in to comment.