Skip to content

V9.9.0

Choose a tag to compare

@jeremydmiller jeremydmiller released this 06 Jul 21:27
· 512 commits to master since this release
cb2e908

What's Changed

New Weasel.Storage package — dialect-neutral document-storage contracts (#329, #331)

Introduces a new Weasel.Storage library holding the closed-shape, dialect-neutral document-storage runtime contracts extracted from Marten (JasperFx/marten#4821). Combined with the shared Weasel.Core SQL-generation substrate (V9.7.0, #327), this lets Marten's storage runtime target a physically shared, Npgsql-free package reusable by its SQL Server sibling. Packed and published alongside the existing Weasel packages.

Opt-in schema fingerprinting — skip unchanged full applies (#330)

Adds opt-in schema fingerprinting so a full schema apply can be skipped when the desired schema is unchanged from what was last applied, avoiding redundant work on startup. Thanks to @erdtsieck.

Idempotent partition creation (#326)

Partition creation now emits CREATE TABLE IF NOT EXISTS so concurrent schema appliers (e.g. tenant provisioning racing an async daemon's storage check) can both compute the same missing partition without one failing. Thanks to @erdtsieck.

Fix: ListPartition bound round-trip drift for integer/date values (#320)

ListPartition had the same latent drift that RangePartition had before #318: PostgreSQL single-quotes every partition-bound literal on read-back (a declared integer 20 comes back as '20') and renders timestamptz in the session time zone, so integer and date list partitions never matched their read-back form and forced a spurious, destructive rebuild on every migration. ListPartition.Equals now compares values element-wise via NormalizePartitionValue (mirroring the range fix), and GetHashCode combines the normalized element values + suffix (previously it hashed the array reference, inconsistent with Equals).

Full Changelog: V9.7.0...V9.9.0