diff --git a/.changeset/parked-decisions.md b/.changeset/parked-decisions.md deleted file mode 100644 index 82e27d79ee..0000000000 --- a/.changeset/parked-decisions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'zero-swift': patch ---- - -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`. diff --git a/packages/zero-swift-cli/CHANGELOG.md b/packages/zero-swift-cli/CHANGELOG.md index 6c902d63b3..fe61f80c88 100644 --- a/packages/zero-swift-cli/CHANGELOG.md +++ b/packages/zero-swift-cli/CHANGELOG.md @@ -1,5 +1,11 @@ # zero-swift +## 0.4.1 + +### Patch Changes + +- 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`. + ## 0.4.0 ### Minor Changes diff --git a/packages/zero-swift-cli/package.json b/packages/zero-swift-cli/package.json index 797994d3b0..ffa217421f 100644 --- a/packages/zero-swift-cli/package.json +++ b/packages/zero-swift-cli/package.json @@ -1,6 +1,6 @@ { "name": "zero-swift", - "version": "0.4.0", + "version": "0.4.1", "description": "Generates the Swift row types and schema of a Zero app for the Zero Swift client.", "license": "Apache-2.0", "repository": { diff --git a/swift/VERSION b/swift/VERSION index 1d0ba9ea18..267577d47e 100644 --- a/swift/VERSION +++ b/swift/VERSION @@ -1 +1 @@ -0.4.0 +0.4.1