Follow-up to the Critter Stack 2026 dedupe pillar (JasperFx/jasperfx#214). Weasel 9.0.0-alpha.8 lifted several Marten/Polecat duplicates into Weasel.Core; Polecat should now consume them and drop its copies. Tracked under [Master] Polecat 4.0 (#46).
Published surface to adopt (Weasel 9.0.0-alpha.8):
Weasel.Core.Sequences now owns the dialect-agnostic Hi-Lo pieces:
ISequence, IReadOnlyHiloSettings, HiloSettings
HiloSequenceBase : ISequence — owns CurrentHi/CurrentLo/MaxLo/EntityName state + the arithmetic (AdvanceValue, ShouldAdvanceHi, NextInt/NextLong under lock, TrySetCurrentHi). Leaves AdvanceToNextHi / AdvanceToNextHiSync / SetFloor abstract.
HiloSequenceAdvanceToNextHiAttemptsExceededException
Tasks:
2. Serialization option enums — JasperFx/weasel#286 (weasel PR #289)
Weasel.Core now owns Casing, CollectionStorage, NonPublicMembersStorage (verbatim, incl. the [Flags] All composition), beside the already-canonical Weasel.Core.EnumStorage.
Tasks:
Refs
🤖 Generated with Claude Code
Follow-up to the Critter Stack 2026 dedupe pillar (JasperFx/jasperfx#214). Weasel 9.0.0-alpha.8 lifted several Marten/Polecat duplicates into
Weasel.Core; Polecat should now consume them and drop its copies. Tracked under [Master] Polecat 4.0 (#46).Published surface to adopt (Weasel
9.0.0-alpha.8):1. Hi-Lo sequence — JasperFx/weasel#287 (weasel PR #288)
Weasel.Core.Sequencesnow owns the dialect-agnostic Hi-Lo pieces:ISequence,IReadOnlyHiloSettings,HiloSettingsHiloSequenceBase : ISequence— ownsCurrentHi/CurrentLo/MaxLo/EntityNamestate + the arithmetic (AdvanceValue,ShouldAdvanceHi,NextInt/NextLongunder lock,TrySetCurrentHi). LeavesAdvanceToNextHi/AdvanceToNextHiSync/SetFloorabstract.HiloSequenceAdvanceToNextHiAttemptsExceededExceptionTasks:
Polecat.Schema.Identity.Sequences.HiloSequencederives fromWeasel.Core.Sequences.HiloSequenceBase, keeping only the SQL Server I/O — the optimisticUPDATE/INSERTonpc_hilo, theEnsureHiloTable*migration, and theResiliencePipelinewrapping — in theAdvanceToNextHi*/SetFlooroverrides. (Note: the base'sTrySetCurrentHi(object?)accepts the boxedlongPolecat passes today.)Weasel.Core.Sequences.{ISequence, IReadOnlyHiloSettings, HiloSettings}; drop Polecat's local copies.HiloSequenceAdvanceToNextHiAttemptsExceededException; dropPolecat.Exceptions' copy.2. Serialization option enums — JasperFx/weasel#286 (weasel PR #289)
Weasel.Corenow ownsCasing,CollectionStorage,NonPublicMembersStorage(verbatim, incl. the[Flags] Allcomposition), beside the already-canonicalWeasel.Core.EnumStorage.Tasks:
Weasel.Core.{Casing, CollectionStorage, NonPublicMembersStorage}; dropPolecat.Serialization.{Casing, CollectionStorage, NonPublicMembersStorage}.EnumStoragein favour ofWeasel.Core.EnumStorage(per the weasel#286 note).Refs
🤖 Generated with Claude Code