Repository navigation
10.0.0-alpha.5
Pre-release
Pre-release
·
85 commits
to master
since this release
Fifth alpha of Weasel 10.0 for the Critter Stack .NET 11 release train. Targets net10.0 and net11.0. See the 10.0 migration guide.
SQLite: Microsoft.Data.Sqlite 10.0.15 (#857, #860)
- Microsoft.Data.Sqlite 10.0.12 and earlier have a pool race (dotnet/efcore#39008, fixed in 10.0.13). Reclaiming a leaked connection could lend one native handle to two open connections. Weasel.Sqlite now requires 10.0.15. The fix is in the driver, so it covers a plain
new SqliteConnection(...)as well as every Weasel path. - New regression tests count the shared handles. On 10.0.9 they failed in every run; on 10.0.15 they passed 10 runs out of 10 on both frameworks.
Hi-Lo: a SetFloor can take the overlap rule too (#849, #855)
- New protected
HiloSequenceBase.InstallCountandTrySetCurrentHi(raw, installCountBefore). ASetFloorthat readsInstallCountbefore it reserves its block, and passes that toTrySetCurrentHi, has its block dropped as a gap if an advance installed a higher block in the meantime. Ids no longer step backwards after a floor reset. TrySetCurrentHi(raw)from outside an advance still installs what it is given, as before.
Synchronous tenant resolution on a cold store (#850, #856)
- New protected virtual
MasterTableTenancyBase.TryProvisionControlTableSynchronously(), which returnsfalseby default. A dialect that overrides it letsTryResolveTenantprovision the control table synchronously, instead of falling back to the async path on the first call. ANotSupportedExceptionfrom it is remembered, and later calls fall back without retrying. The async path still provisions as before.
Event loader: an upcast source that is also a live alias (#851, #854)
EventTypeAllowList.UpcastSourceAliasesnow keeps a source alias that is also a declared alias. OnlyAliasesIncludingUpcastSourcesremoves duplicates. Before, a dialect that pushes upcast sources down separately (such as one keyed ondotnet_type) missed rows stored under that alias.
All changes are additive, with no new interface members and no changed signatures.
Full Changelog: 10.0.0-alpha.4...10.0.0-alpha.5