github axuno/SmartFormat v3.3.1

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

Fix

PluralRule for DualFromZeroToTwo: Now a value of 2 is covered and will not throw. Frend is one of the affected languages. Closes #369 in #370

Enhancement

Dictionary<string, PluralRuleDelegate> PluralRule.IsoLangToDelegate holds delegates with the pluralization rule per language. Changing a value of this dictionary will change the pluralization rules globally. This is not recommended, but possible. After a change calling PluralRules.RestoreDefault() will restore the default rules.

Other Changes

  • Unit tests: Convert NUnit Classic Assert to Constraint Model in #364
  • Bump NUnit package reference to v4.0.1 in #367
  • Linq optimizations in #366
  • Update package Cysharp.ZString to v2.5.1 in #368
  • Bump version to v3.3.1 in #371

Full Changelog: v3.3.0...v3.3.1

Don't miss a new SmartFormat release

NewReleases is sending notifications on new releases.