Skip to content

Tags: axuno/SmartFormat

Tags

v3.5.3

Toggle v3.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to v3.5.3 (#463)

* Bump version to v3.5.3
* Add "/d:sonar.scanner.scanAll=false" for sonar scanner

v3.5.2

Toggle v3.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to v3.5.2 (#457)

* Update NUnit v4.2.2 to v4.3.0
   Fix unit test that was using `Is.EqualTo` instead of `Is.EquivalentTo` for an `IEnumerable` object
* Bump version to v3.5.2

v3.5.1

Toggle v3.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to v3.5.1 (#444)

v3.5.0

Toggle v3.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to v3.5.0 (#437)

v3.4.0

Toggle v3.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Target Framework Updates (#389)

* Reference to Cysharp ZString v2.6.0 package (#382)
* Reference Cysharp `ZString` v2.6.0 in `SmartFormat` project (net461 target use the netstandard2.0 assemblies)
* Remove project `SmartFormat.Zstring`
* Move internal static class ZStringBuilderExtensions to namespace SmartFormat.ZString
* Rename ZStringBuilderExtensions to ZStringBuilderUtilities
* Exclude ZString wrappers from code coverage (#384)
* Flag `ZStringBuilder` and `ZStringWriter`with `[ExcludeFromCodeCoverage]`
* Add AltCoverAttributeFilter="ExcludeFromCodeCoverage" in CI tests
* #380 Add net60 as additional target framework (#381)
* #380 Add net 6 to STJ project and make other dependencies conditional
* Optimize package properties.
* Fix nullability and warning issues for Demo and Performance projects
* chore: net60/ZString related housekeeping (#385)
* Directory.Build.props: Remove duplicate entries from Demo and Performance projects
* Enable NRT for Demo and Performance projects
* Remove folder SmartFormat.ZString from former projects SmartFormat.ZString
* Remove obsolete entries from SmartFormat.sln
* Remove reference to former SmartFormat.ZString.dll from SmartFormat.csproj
* Enable net60 for project SmartFormat (#387)
* feat: Add net8.0 as a target framework (#388)
* Mark CTOR overload (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) as obsolete (like it is in net8.0).
* Update proprocessor directives and nuget packages
* Change appveyor_build_worker_image to Ubuntu2204
* Add net8.0 as target framework
* Update target framework net461 to net462
* Bump version to v3.4.0

---------

Co-authored-by: James Thompson <[email protected]>

v3.3.2

Toggle v3.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Change all public types in namespace Cysharp.Text to internal (#372)

* Change all public types in namespace Cysharp.Text to internal

* Regression caused by #368
* Stop namespace collision with Cysharp.Text nuget package
* Affects: class, struct, interface, delegate, enum
* using https://github.com/zzzprojects/findandreplace on command line, so we can automate this step:
"fnr.exe" --cl --dir "SmartFormat.ZString\repo\src\ZString" --fileMask "*.cs,*.tt" --includeSubDirectories --caseSensitive --useRegEx --find "public (?=.*(class |struct |enum |interface |delegate ))" --replace "internal "

* Add a unit test to get an alert when Cysharp.Text objects are public

* Bump version to v3.3.2

v3.3.1

Toggle v3.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version to v3.3.1 (#371)

* Bump version to v3.3.1
* Update README.md

v3.3.0

Toggle v3.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version to v3.3.0 (#356)

v3.2.2

Toggle v3.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Resolves #345 (#346)

* Resolves #345

* PluralLocalizationFormatter does treat numeric string as valid argument
* Restore behavior of v3.1.0 and before (don't convert numeric string to decimal for arg values)
* Bump version to v3.2.2
* Update appveyor and github CI scripts

v3.2.1

Toggle v3.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Auto-detection of PluralLocalizationFormatter does not throw for…

… values not convertible to decimal (#330)

* Resolves #329

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

New behavior:
When PluralLocalizationFormatter.CanAutoDetect == true, for values not convertible to decimal, IFormatter.TryEvaluateFormat(...) will return false

* Make PluralLocalizationFormatter.TryGetDecimalValue static