Release/v2.1.0.0 preview.1 - #417
Closed
MPCoreDeveloper wants to merge 8 commits into
Closed
Conversation
- 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.
|
Owner
Author
|
preview rc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.