Skip to content

Release v0.4.1

Compare
Choose a tag to compare
@jirenius jirenius released this 21 Oct 10:54
· 49 commits to master since this release
4b04045

Target Frameworks

  • .NET Standard 1.6
  • .NET Standard 2.0
  • .NET Framework 4.5

.NET Core SDK Version

2.1.508

NuGet

ResgateIO.Service v0.4.1

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 and CollectionHandler are obsolete and BaseHandler 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

  • #45 Fixed deprecated PackageIconUrl element for Nuget package
  • #44 Fixed potential race issue calling QueryEvent