Repository navigation
Releases
v3.0.0
Breaking Changes
- The signatures for the
ConvertToDurationextension method onIRelativityParserhave changed.
What's Changed
- Composite unit durations by @wazzamatazz in #19
Full Changelog: v2.2.0...v3.0.0
v2.2.0
Breaking Changes
The change listed below is technically a breaking change but we have not incremented the major version on the basis that the v2.1.0 release was only a couple of hours before this one. The 2.1.0 packages will be delisted from nuget.org to prevent confusion.
What's Changed
- Improved TimeSpan to duration string conversion by @wazzamatazz in #17
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Convert TimeSpan to duration string by @wazzamatazz in #16
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Breaking Changes
This release contains several breaking changes compared to version 1. Please consult the migration guide when moving from v1 to v2.
What's Changed
- Add extensions for timestamp/duration validity by @wazzamatazz in #3
- Add string extensions by @wazzamatazz in #4
- Static invariant parser updates by @wazzamatazz in #5
- Documentation updates by @wazzamatazz in #6
- Extension method updates by @wazzamatazz in #7
- Add support for IANA time zones by @wazzamatazz in #8
- RelativityParser.Current uses invariant UTC parser by default by @wazzamatazz in #9
- Request header time zone provider fixes/improvements by @wazzamatazz in #10
- Always use requested culture when returning a parser by @wazzamatazz in #11
- Central package management by @wazzamatazz in #12
- Bump packages by @wazzamatazz in #13
- Time zone providers use ValueTask instead of Task by @wazzamatazz in #14
Full Changelog: v2.0.0-pre.3...v2.0.0
2.0.0-pre.13
2.0.0-pre.12
What's Changed
- Central package management by @wazzamatazz in #12
Full Changelog: v2.0.0-pre.11...v2.0.0-pre.12
2.0.0-pre.11
What's Changed
- Always use requested culture when returning a parser by @wazzamatazz in #11
Full Changelog: v2.0.0-pre.10...v2.0.0-pre.11
2.0.0-pre.7
What's Changed
- Add extensions for timestamp/duration validity by @wazzamatazz in #3
- Add string extensions by @wazzamatazz in #4
- Static invariant parser updates by @wazzamatazz in #5
- Documentation updates by @wazzamatazz in #6
- Extension method updates by @wazzamatazz in #7
Full Changelog: v2.0.0-pre.3...v2.0.0-pre.7
2.0.0-pre.10
What's Changed
- Add support for IANA time zones by @wazzamatazz in #8
- RelativityParser.Current uses invariant UTC parser by default by @wazzamatazz in #9
- Request header time zone provider fixes/improvements by @wazzamatazz in #10
Full Changelog: v2.0.0-pre.7...v2.0.0-pre.10
2.0.0-pre.3
This is the first preview release of Relativity v2. There are fundamental breaking changes compared to v1:
RelativityParseris now a static class.RelativityParser.Currentcan be used to get or set the parser for the current asynchronous control flow.IRelativityParserdefines a parser.IRelativityParserFactorydefines a factory for registering and requesting parsers.RelativityParserFactoryis the default implementation ofIRelativityParserFactory. The staticRelativityParserFactory.Defaultproperty can be used to get a default parser factory that can be used in scenarios where anIRelativityParserFactoryis 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
- Relativity V2 implementation by @wazzamatazz in #1
- Don't sign examples and tests by @wazzamatazz in #2
Full Changelog: https://github.com/intelligentplant/IntelligentPlant.Relativity/commits/v2.0.0-pre.3