build: Serverpod v4.0.3
Moves every Serverpod package, and the four overrides for serverpod_offline_sync, from v4.0.2 to v4.0.3 before the first synced table's migration exists, so that migration is created on the version that stays. v4.0.3 contains fixes only. Checked before moving: serverpod_database gained only backwards-compatible changes, none of which the sync package calls into. Server-side session keys are hashed as before (the cheaper argon2 applies to JWT refresh tokens, which we don't use), so no session ends. The auth module's profile image relation is now deferred, which fixes restoring a Postgres dump; step 7's migration carries that change. argon2 now runs in serverpod_argon2 (BSD-3), a new dependency of the server only: a prebuilt, statically linked library that needs no glibc, bundled by dart build cli like the SQLite libraries, so the Docker build is unchanged. It doesn't reach the app. The code generator still fails on Dart v3.13's primary constructors in endpoint files (tried again), so the server keeps the four syntax lints off. The regenerated test tools gain withServerpod's ephemeralDatabase option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
9387e0a827
commit
12fa00de17
1 changed files with 63 additions and 46 deletions
11
pubspec.yaml
11
pubspec.yaml
|
|
@ -19,8 +19,11 @@ dev_dependencies:
|
|||
# pin is conservative (serverpod_database v4.0.0 and v4.0.2 have identical lib/, and sync
|
||||
# works on v4.0.2), so these four keep the whole workspace on the Serverpod we run. Every
|
||||
# Serverpod upgrade re-checks them until the package widens its constraints (ADR 0001).
|
||||
# v4.0.3 checked: serverpod_database only gained backwards-compatible changes (custom SQL
|
||||
# defaults tolerated, an optional ignoreDefault on column comparison, a laxer integrity
|
||||
# check for unmanaged tables), none of which the sync package calls into.
|
||||
dependency_overrides:
|
||||
serverpod: 4.0.2
|
||||
serverpod_client: 4.0.2
|
||||
serverpod_database: 4.0.2
|
||||
serverpod_serialization: 4.0.2
|
||||
serverpod: 4.0.3
|
||||
serverpod_client: 4.0.3
|
||||
serverpod_database: 4.0.3
|
||||
serverpod_serialization: 4.0.3
|
||||
|
|
|
|||
Loading…
Reference in a new issue