Skip to content

2.0.0-pre.3

Pre-release
Pre-release

Choose a tag to compare

@wazzamatazz wazzamatazz released this 28 Feb 10:34
5336281

This is the first preview release of Relativity v2. There are fundamental breaking changes compared to v1:

  • RelativityParser is now a static class. RelativityParser.Current can be used to get or set the parser for the current asynchronous control flow.
  • IRelativityParser defines a parser.
  • IRelativityParserFactory defines a factory for registering and requesting parsers.
  • RelativityParserFactory is the default implementation of IRelativityParserFactory. The static RelativityParserFactory.Default property can be used to get a default parser factory that can be used in scenarios where an IRelativityParserFactory is not available via dependency injection.

The repository now contains new projects for configuring ASP.NET Core and OWIN middleware that can set RelativityParser.Current for an incoming HTTP request based on the localization settings of the request. Both projects also support specifying the time zone to use when converting relative timestamps into absolute DateTime instances.

What's Changed

Full Changelog: https://github.com/intelligentplant/IntelligentPlant.Relativity/commits/v2.0.0-pre.3