Releases: jirenius/csharp-res
Release v0.5.0
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.8.1
.NET Core SDK Version
7.0.302
NuGet
Release Info
Introducing custom error handling allowing clients to provide a delegate that is called on unexpected exceptions in handlers. It also updates some dependency versions as well as bumping .NET Framework to 4.8.1.
Issues
- #70 Global error handler
Release v0.4.8
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
5.0.102
NuGet
Release Info
Fixed a bug where using ResService fails to subscribe to call and auth subjects properly after calling ResService.SetOwnedResources
with resource patterns not containing full wildcards.
Issues
- #64 SetOwnedResources does not subscribe to call methods
Release v0.4.7
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
5.0.102
NuGet
Release Info
Fixed a bug causing ResourceContext.QueryEvent
to fail when using an async callback.
Issues
- #62 QueryEvent with async callback fails
Release v0.4.6
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
5.0.102
NuGet
Release Info
Added support for features introduced in RES protocol v1.2.1 and v1.2.2:
Issues
Release v0.4.5
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
5.0.102
NuGet
Release Info
Added support for custom JSON serializer settings.
- #56 JSON serializer settings
Release v0.4.4
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
5.0.102
NuGet
Release Info
Added support to the IAsyncHandler to get the ResService instance and the handler's full resource pattern.
- #53 Add OnRegister method to IAsyncHandler
Release v0.4.3
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
3.1.101
NuGet
Release Info
This patch release provides a bugfix, improved tests, and fixed spelling.
Features & improvements
- #51 Fixed exception when registering a call method named "new".
Release v0.4.2
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
2.1.508
NuGet
Release Info
This minor release adds support for RES Protocol v1.2.0 functionality.
The Search example has also been updated to use resource response on query request to show how query events can be handled more efficiently.
Features & improvements
- #48 RES protocol v1.2.0 support
Deprecation
- New request and INewRequest are deprecated in favor of Call request using Resource response.
Release v0.4.1
Target Frameworks
- .NET Standard 1.6
- .NET Standard 2.0
- .NET Framework 4.5
.NET Core SDK Version
2.1.508
NuGet
Release Info
This release enables asynchronous programming using Task Parallel Library (TPL), which let's you utilize the server CPUs more efficiently. This new feature required a backwards incompatible change to the API, where the old IResourceHandler interface was replaced with the new IAsyncHandler interface.
What does that mean in terms of upgrading to this version?
ModelHandler
andCollectionHandler
are obsolete andBaseHandler
should be used instead.- Classes inheriting from
BaseHandler
should no longer have override for the handler methods. - The Apply handlers now gets the event data in an object derived from EventArgs. Revert information is also stored in that object, instead of being returned by the handler method.
- DynamicHandler has deprecated the Set prefix to its methods.
For an example on how to upgrade, look at the changes required to upgrade the examples.
The release also adds two new examples, and a couple of other minor features. The full list is as follows:
Features & improvements
- #22 Add ResService.WithGroup
- #24 Asynchronous programming support using TPL
- #25 Add .NET Standard 2.0 target
- #27 Handler event listeners
- #30 RES Protocol v1.1.1 support
- #32 Improved ILogger interface
- #34 Search query example
- #36 Hello World examples
- #39 Implement IDisposal interface
- #42 Remove Set prefix from DynamicHandler methods
Fixes
Release v0.3.1
Target Frameworks
- .NET Standard 1.6
- .NET Framework 4.5
.NET Core SDK Version
2.1.508
NuGet
Release Info
This is a minor release that introduces .NET Framework 4.5 as an additional target framework, and lowers the .NET Standard target version from 2.0 to 1.6 for increased compatibility.