Skip to content

Commit bb8a84f

Browse files
chore(zero-swift): version packages (#18)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent af85342 commit bb8a84f

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎.changeset/parked-decisions.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎packages/zero-swift-cli/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# zero-swift
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- af85342: Calling a mutator that isn't registered with the `Zero` no longer crashes the app: `mutate` logs an error and returns a result whose `client` and `server` are both a `.zeroError` with the message JS throws, and nothing is written or sent. Waiting for `.complete` or `.cached` on an unnamed query, or preloading one, now logs a warning once per query: an unnamed query only sees local data and is never complete, so use a named query to sync it. The docs of `run` and `preload` say what happens to a pending call when the client closes or is replaced. `zero-swift codegen --help` no longer prints the examples `--schemaFile shared/schema.ts` and `--check true`; it shows `--schema-file` and a bare `--check`.
8+
39
## 0.4.0
410

511
### Minor Changes

‎packages/zero-swift-cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zero-swift",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Generates the Swift row types and schema of a Zero app for the Zero Swift client.",
55
"license": "Apache-2.0",
66
"repository": {

‎swift/VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.0
1+
0.4.1

0 commit comments

Comments
 (0)