Skip to content

[0.4.2] - 2024-10-09

Compare
Choose a tag to compare
@berezovskyi berezovskyi released this 09 Oct 22:18
· 74 commits to main since this release

Security

  • 🔒️❗️ OSLC4Net.Client now defaults to strong TLS certificate checking. Skipping TLS checks now requires explicit configuration.

Added

  • ⚡️ Support for .NET 6+ was added by migrating most of the projects in the solution to target netstandard2.0.

Changed

  • ⚡️ OSLC4Net.Core now targets netstandard2.0, which allows it to be used under .NET Framework 4.7.2 or higher as well as .NET 6+.
  • ⚡️ dotNetRDF was upgraded from v1 to v3 to enable targeting netstandard2.0.
    • One of the key breaking changes is that ITriple and INode no longer have the .Graph property.
    • ❗️ This caused breaking changes to some of the method signatures in OSLC4Net.DotNetRdfProvider to allow the IGraph instance to be passed.
  • OSLC4Net.Client now targets netstandard2.0.
    • ❗️ The main breaking change is the replacement of the legacy WebRequestHandler with HttpClientHandler. This caused some method/constructor signatures to change.
    • ❗️ RemoteCertificateValidationCallback was replaced with a lambda function.
  • OSLC4Net.Query now targets netstandard2.0. The Antlr3 runtime package targeting PCL was replaced with a package targeting NETStandard1.0 (Antlr 4 targets NETStandard2.0).
  • ❗️ JsonMediaTypeFormatter was renamed into OslcJsonMediaTypeFormatter to better reflect its purpose (support a bespoke OSLC JSON format) and avoid conflict with System.Net.Http.Formatting.MediaTypeFormatter.
  • Test projects were migrated from MSTestV2 to xUnit (except for integration tests for OSLC CM)

Deprecated

  • .NET 6 support is deprecated as the EOL is approaching soon. Given that all non-Framework libraries target netstandard2.0, this should have no impact on the users.

Removed

  • .NET 7 support was removed since the SDK has reached EOL.
  • Newtonsoft.Json package was only used in the StockQuoteSample ASP.NET MVC project. Its references were removed from all other projects.

Fixed

This release does not contain bug fixes.