Modernize project for .NET 8/10 and Tomlyn v2#7
Open
wxxb789 wants to merge 2 commits intobugproof:masterfrom
Open
Modernize project for .NET 8/10 and Tomlyn v2#7wxxb789 wants to merge 2 commits intobugproof:masterfrom
wxxb789 wants to merge 2 commits intobugproof:masterfrom
Conversation
- Convert .sln to .slnx XML format - Target netstandard2.0, net8.0, net10.0 (drop net461) - Upgrade Tomlyn from 0.14.3 to 2.3.0 (TomlSerializer API) - Upgrade test framework to xUnit v3 (3.2.2) - Update Microsoft.Extensions deps to 10.0.6 - Update FluentAssertions to 8.9.0 - Bump package version to 2.0.0
Align with official M.E.Configuration.Json provider by validating the stream parameter is not null at the extension method entry point.
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.
Closes #6
Hi! I've been using this library and put together some updates to help keep it current with the latest .NET ecosystem. I hope this is helpful — please feel free to suggest any changes or let me know if this direction doesn't align with your plans for the project.
Summary
.slnto.slnxXML format (introduced in .NET 9)netstandard2.0,net8.0,net10.0(replacingnet461)0.14.3to2.3.0(Toml.Parse().ToModel()→TomlSerializer.Deserialize<TomlTable>())3.2.2)10.0.68.9.0, Microsoft.NET.Test.Sdk to18.4.0streamnull validation inAddTomlStream()for consistency with the official JSON provider2.0.0Test plan
net8.0andnet10.0(4/4 tests)TomlTable,TomlArray,TomlTableArraystill work as expected)Thank you for maintaining this library!