github axuno/SmartFormat v3.2.1

latest releases: v3.5.1, v3.5.0, v3.4.0...
21 months ago

What's Changed

PluralLocalizationFormatter

  • Fix: Auto-detection of PluralLocalizationFormatter does not throw for values not convertible to decimal by @axunonb in #330 Resolves #329 (Thanks to @BtbN)

    • Current behavior, introduced in v3.2.0:
      When PluralLocalizationFormatter.CanAutoDetect == true, values that are not convertible to decimal will throw then trying to IConvertible.ToDecimal(...)

    • New behavior, equivalent to v3.1.0:
      When PluralLocalizationFormatter.CanAutoDetect == true, for values that are not convertible to decimal, IFormatter.TryEvaluateFormat(...) will return false

  • Fix processing for Singular languages by @axunonb in #322

Other Changes

  • EditorConfig and appveyor.yml by @axunonb in #319
  • Integrate Cysharp.ZString release v2.5.0 (26 Oct 2022) by @axunonb in #323
  • Fix: PluralRules for Czech locale by @alexheb in #325
  • Fixes for Demo App and NUnit TestAdapter by @axunonb in #328

New Contributors

Full Changelog: v3.2.0...v3.2.1

Don't miss a new SmartFormat release

NewReleases is sending notifications on new releases.