chore: Bump version to 0.0.8 and update CHANGELOG (#144)

This commit is contained in:
Marcelo Mendonça Soares 2026-09-17 11:09:52 -03:00 • committed by GitHub
commit a0304938e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 24 additions and 8 deletions

View file

@ -1,3 +1,19 @@
## 0.0.8
- fix: BREAKING. Reject unique-text values ending in `__conflict__<UUID>`,
`__hidden__<UUID>`, or `__park__<UUID>`, and unique version-8 UUIDs (except
primary keys, foreign keys, and nullable UUID columns). Local writes and
incoming sync throw `OfflineSyncReservedValueException` for these values.
- fix: Enforce database unique constraints on local writes and restores, and
reject upsert batches that target the same record more than once.
- fix: Retain upserted values and explicit nulls when replacing a conflicting
value, including upserts matched through another unique index.
- fix: Treat restored rows as fresh writes so field values and conflict ages
stay consistent across sync and bootstrap.
- fix: Preserve UUID-shaped text and binary values during conflict resolution
and sync, and encode restored values according to their column types.
- fix: Show UUIDs correctly in errors for references to deleted records.
## 0.0.7
- fix: Keep non-synced `updateRow` calls in the test harness transaction.

View file

@ -101,17 +101,17 @@ Add the packages to the server and client `pubspec.yaml` files.
```yaml
# your_project_client/pubspec.yaml
dependencies:
serverpod_offline_sync_client: 0.0.7
serverpod_offline_sync_client: 0.0.8
```
```yaml
# your_project_server/pubspec.yaml
dependencies:
serverpod_offline_sync_server: 0.0.7
serverpod_offline_sync_server: 0.0.8
```
> [!NOTE]
> Version `0.0.7` requires Serverpod `4.0.0`.
> Version `0.0.8` requires Serverpod `4.0.0`.
After adding the dependencies, list the `serverpod_offline_sync` module on the
`generator.yaml` file and enable the experimental `database: sync` option:

View file

@ -1,5 +1,5 @@
name: serverpod_offline_sync
version: 0.0.7
version: 0.0.8
description: Shared package for the Serverpod Offline Sync project.
homepage: https://github.com/marcelomendoncasoares/serverpod_offline_sync

View file

@ -1,5 +1,5 @@
name: serverpod_offline_sync_client
version: 0.0.7
version: 0.0.8
description: Client transport adapter for the Serverpod Offline Sync project.
homepage: https://github.com/marcelomendoncasoares/serverpod_offline_sync
@ -11,7 +11,7 @@ resolution: workspace
dependencies:
serverpod_client: 4.0.0
serverpod_database: 4.0.0
serverpod_offline_sync: 0.0.7
serverpod_offline_sync: 0.0.8
dev_dependencies:
lints: '>=3.0.0 <7.0.0'

View file

@ -1,5 +1,5 @@
name: serverpod_offline_sync_server
version: 0.0.7
version: 0.0.8
description: Server module for the Serverpod Offline Sync project.
homepage: https://github.com/marcelomendoncasoares/serverpod_offline_sync
@ -12,7 +12,7 @@ dependencies:
meta: ^1.16.0
serverpod: 4.0.0
serverpod_database: 4.0.0
serverpod_offline_sync: 0.0.7
serverpod_offline_sync: 0.0.8
dev_dependencies:
lints: '>=3.0.0 <7.0.0'