Skip to content

Commit

Permalink
Merge pull request #369 from evoluhq/changeset-release/main
Browse files Browse the repository at this point in the history
[ci] release
  • Loading branch information
steida authored Mar 20, 2024
2 parents 2a041e5 + 43dd1da commit 60a9865
Show file tree
Hide file tree
Showing 19 changed files with 109 additions and 49 deletions.
33 changes: 0 additions & 33 deletions .changeset/yellow-lobsters-promise.md

This file was deleted.

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

## 1.0.29

### Patch Changes

- Updated dependencies [8af071c]
- @evolu/common@4.1.0
- @evolu/common-react@7.0.0
- @evolu/react-native@8.0.0

## 1.0.28

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "native",
"version": "1.0.28",
"version": "1.0.29",
"private": true,
"main": "index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions apps/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# server

## 1.0.46

### Patch Changes

- @evolu/server@6.0.0

## 1.0.45

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "server",
"version": "1.0.45",
"version": "1.0.46",
"private": true,
"type": "module",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions apps/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# web

## 1.0.46

### Patch Changes

- Updated dependencies [8af071c]
- @evolu/common@4.1.0
- @evolu/react@7.0.0

## 1.0.45

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "1.0.45",
"version": "1.0.46",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
7 changes: 7 additions & 0 deletions packages/evolu-common-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evolu/common-react

## 7.0.0

### Patch Changes

- Updated dependencies [8af071c]
- @evolu/common@4.1.0

## 6.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/evolu-common-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evolu/common-react",
"version": "6.0.3",
"version": "7.0.0",
"description": "Common code for Evolu React libraries",
"keywords": [
"evolu",
Expand Down Expand Up @@ -49,7 +49,7 @@
"vitest": "^1.4.0"
},
"peerDependencies": {
"@evolu/common": "^4.0.5",
"@evolu/common": "^4.1.0",
"react": "^18.2.0"
},
"publishConfig": {
Expand Down
7 changes: 7 additions & 0 deletions packages/evolu-common-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evolu/common-web

## 7.0.0

### Patch Changes

- Updated dependencies [8af071c]
- @evolu/common@4.1.0

## 6.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/evolu-common-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evolu/common-web",
"version": "6.0.4",
"version": "7.0.0",
"description": "Common code for Evolu libraries targeting web",
"keywords": [
"evolu",
Expand Down Expand Up @@ -46,7 +46,7 @@
"vitest": "^1.4.0"
},
"peerDependencies": {
"@evolu/common": "^4.0.5",
"@evolu/common": "^4.1.0",
"@sqlite.org/sqlite-wasm": "3.45.1-build1"
},
"publishConfig": {
Expand Down
34 changes: 34 additions & 0 deletions packages/evolu-common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @evolu/common

## 4.1.0

### Minor Changes

- 8af071c: Indexes (or indices, we don't judge)

This release brings SQLite indexes support to Evolu with two helpful options for `evolu.createQuery` functions.

```ts
const indexes = [
createIndex("indexTodoCreatedAt").on("todo").column("createdAt"),
];

const evolu = createEvolu(Database, {
// Try to remove/re-add indexes with `logExplainQueryPlan`.
indexes,
});

const allTodos = evolu.createQuery(
(db) => db.selectFrom("todo").orderBy("createdAt").selectAll(),
{
logExecutionTime: true,
// logExplainQueryPlan: false,
},
);
```

Indexes are not necessary for development but are required for production.

Before adding an index, use `logExecutionTime` and `logExplainQueryPlan`
createQuery options.

SQLite has [a tool](https://sqlite.org/cli.html#index_recommendations_sqlite_expert_) for index recommendations.

## 4.0.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/evolu-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evolu/common",
"version": "4.0.5",
"version": "4.1.0",
"description": "Local-first platform designed for privacy, ease of use, and no vendor lock-in to sync and backup people's lifetime data",
"keywords": [
"evolu",
Expand Down
6 changes: 6 additions & 0 deletions packages/evolu-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @evolu/react-native

## 8.0.0

### Patch Changes

- @evolu/common-react@7.0.0

## 7.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/evolu-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evolu/react-native",
"version": "7.1.1",
"version": "8.0.0",
"description": "Evolu for React Native",
"keywords": [
"evolu",
Expand Down Expand Up @@ -53,7 +53,7 @@
"vitest": "^1.4.0"
},
"peerDependencies": {
"@evolu/common-react": "^6.0.3",
"@evolu/common-react": "^7.0.0",
"expo": "^50.0.14",
"expo-sqlite": "~13.4.0",
"react-native": "0.73.6"
Expand Down
9 changes: 9 additions & 0 deletions packages/evolu-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @evolu/react

## 7.0.0

### Patch Changes

- Updated dependencies [8af071c]
- @evolu/common@4.1.0
- @evolu/common-react@7.0.0
- @evolu/common-web@7.0.0

## 6.0.2

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/evolu-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evolu/react",
"version": "6.0.2",
"version": "7.0.0",
"description": "Evolu for React",
"keywords": [
"evolu",
Expand Down Expand Up @@ -48,9 +48,9 @@
"vitest": "^1.4.0"
},
"peerDependencies": {
"@evolu/common": "^4.0.5",
"@evolu/common-react": "^6.0.3",
"@evolu/common-web": "^6.0.4",
"@evolu/common": "^4.1.0",
"@evolu/common-react": "^7.0.0",
"@evolu/common-web": "^7.0.0",
"react-dom": "^18.2.0"
},
"publishConfig": {
Expand Down
7 changes: 7 additions & 0 deletions packages/evolu-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evolu/server

## 6.0.0

### Patch Changes

- Updated dependencies [8af071c]
- @evolu/common@4.1.0

## 5.0.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/evolu-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evolu/server",
"version": "5.0.5",
"version": "6.0.0",
"description": "Node.js server for Evolu",
"author": "Daniel Steigerwald <daniel@steigerwald.cz>",
"license": "MIT",
Expand Down Expand Up @@ -48,7 +48,7 @@
"vitest": "^1.4.0"
},
"peerDependencies": {
"@evolu/common": "^4.0.5",
"@evolu/common": "^4.1.0",
"effect": "2.4.9"
},
"publishConfig": {
Expand Down

0 comments on commit 60a9865

Please sign in to comment.