Skip to content

Release/v2.1.0.0 rc.1 - #418

Closed
MPCoreDeveloper wants to merge 11 commits into
masterfrom
release/v2.1.0.0-RC.1
Closed

Release/v2.1.0.0 rc.1#418
MPCoreDeveloper wants to merge 11 commits into
masterfrom
release/v2.1.0.0-RC.1

Conversation

@MPCoreDeveloper

Copy link
Copy Markdown
Owner

No description provided.

- Multi-target core + tests to net10.0;net11.0; C# 15 preview language only on net11 (net10 stays C# 14)
- Pin global.json to .NET 11 RC SDK (11.0.100-rc.1.26425.128) and commit it
- Bump package version to 2.1.0-preview.1
- Fix Zstd scaffold: .NET 11 RC1's System.IO.Compression has NO ZstandardStream, so the Zstd mode throws PlatformNotSupportedException honestly on all runtimes; gate Zstd tests with Assert.Skip until a runtime ships native Zstandard
- net10.0: 1679 tests green / net11.0: 1685 tests green (6 Zstd tests skipped)
Additive SharpCoreDB.Net11.Net11Additions (source-gated via #if NET11_0_OR_GREATER): extension indexer db[tableName] to TableInfo, collection-expression capacity argument NewList(T), and a closed-hierarchy demo type. net11-gated tests added. net10.0 1679 tests green (unchanged), net11.0 1688 tests green (6 Zstd tests skipped).
…tream

Previous commit wrongly disabled Zstd: the ref-pack XML search missed the type, but reflection against System.IO.Compression.dll (11.0.0-rc.1) confirms ZstandardStream(Stream, CompressionLevel, bool) and ZstandardCompressionOptions exist. Restore the original #if NET11_0_OR_GREATER implementation; Zstd tests now pass on net11 (0 skipped). net10.0 unchanged (PlatformNotSupportedException fallback, 1679 tests green).
net11.0 native Zstd path now uses ZstandardCompressionOptions: OptionalCompressionLevel maps to zstd quality (Fastest=1, Optimal=5, SmallestSize=19) and append a frame checksum for corruption detection on read. Brotli/GZip unchanged; net10 fallback unchanged (PlatformNotSupportedException). net11.0: 1688 tests green, 0 skipped.
Adds Features=runtime-async=on to the net11.0 target only: the compiler emits runtime-native async state machines (fewer allocations, cleaner stack traces). net10.0 is untouched (same async behavior for .NET 10 consumers). net11.0: 1688 tests green, 0 skipped.
Documents the multi-target net10.0;net11.0 preview: native Zstd (quality mapping + checksum), Runtime Async (net11 only), the opt-in SharpCoreDB.Net11 C# 15 API surface, what is deliberately deferred, and the backward-compatibility guarantees.
…es design pass

- .github/workflows/ci-net11.yml: matrix over ubuntu/windows x net10.0/net11.0 for the preview branch (kept separate from master's ci.yml, installs both SDKs, runs the MTP test executable per framework).
- docs/net11/UNION_TYPES_DESIGN.md: verified-against-RC1 blueprints for an opt-in SharpCoreDB.Unions namespace (union keyword + [Union]/IUnion), usage, backward-compat, perf notes, test strategy.
- UPGRADE.md points to the design doc.
- Version 2.1.0-preview.1 -> 2.1.0-RC.1 (core + tests)
- ci-net11.yml: trigger on release/v2.1.0.0-* and add a manual publish job (workflow_dispatch) that packs the net10;net11 core and pushes to NuGet.org with the NUGET_API_KEY secret
setup-dotnet cannot resolve the floating prerelease '11.0.100-rc.1' (that is why the CI 'Setup .NET 11 (RC)' step failed); pin the exact build 11.0.100-rc.1.26425.128. global.json keeps the exact pin with rollForward=latestPatch.
@sonarqubecloud

Copy link
Copy Markdown

@MPCoreDeveloper

Copy link
Copy Markdown
Owner Author

preview RC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant