Skip to content

Releases: dgg/nmoneys

7.3.0.0

03 Jul 19:19
@dgg dgg
419d3cf
Compare
Choose a tag to compare

Release for NMoneys v7.3.0.0

  • Implement amendment 177
    • ZWL -> ZWG
  • Sync currency names and significant decimal digits with current ISO list.
  • Sync currency information with latest framework information.
  • Add extensions methods to int (besides the existing decimal)
  • Add static factory method to create a instance of CurrencyConfiguration from the information in CultureInfo and RegionInfo (effectively adding the ablity to reset the information of a given currency to whatever is in the framework)

Full Changelog: 7.2.0.0...7.3.0.0

7.2.0.0

19 Mar 17:41
@dgg dgg
0166b76
Compare
Choose a tag to compare

Release for NMoneys v7.2.0.0.

  • Implement amendment 170:
    • Introduce VED
  • Implement amendment 171-173 and 175 (a bit too early):
    • Deprecate SLL and introduce SLE
  • Implement amendment 174:
    • Deprecate HRK

Full Changelog: 7.1.0.0...7.2.0.0

7.1.0.0

28 Jan 15:32
@dgg dgg
6444777
Compare
Choose a tag to compare

Release for NMoneys v7.1.0.0.

  • Added MonetaryQuantity and MonetaryRecord as a serialization surrogates for scenarios in which is not possible to tweak serialization framework.

  • Added Money.AsQuantity() to format the instance as a compact string that can be easily parsed

  • Added Money.Parse(string) to parse compact string representations

  • Added blueprint code (Copy&Paste + Tweak in your solution) for JSON, BSON and EF Core serialization of Money with System.Json.Text, Newtonsoft.Json, MongoDB.Bson and Microsoft.EntityFrameworkCore to src/NMoneys.Serialization

Full Changelog: 7.0.0.0...7.1.0.0

7.0.0.0

30 Dec 15:30
@dgg dgg
a4784cb
Compare
Choose a tag to compare

Release for NMoneys v7.0.0.0.

  • Breaking change: Library rewritten for .NET 6 (net6.0) and dropped support for .NET Framework (net48).
  • Breaking change: Custom serialization capabilities of Money and Currency removed. No longer binary, XML or DataContract serializables. New strategy for serialization coming in future releases.
  • Breaking change: Currency.Entity becomes nullable instead of a null object.
  • Breaking change: CharacterReference properties renamed:
    • .SimpleName -> .Name
    • .EntityName -> .NamedReference
    • .EntityNumber -> .DecimalReference
  • Breaking change: ./tools are not in the repo anymore (except the upgraded PSake). Modern alternatives will be added.
  • Breaking change: HTML help is no longer generated.
  • Archive notice: NMoneys.Exchange project is archived. No more versions will be released. Code rewritten to target netstandard1.3 only and resides in ./archive folder.
  • *.CodeProject.* projects moved from ./src to ./archive and removed from solution. Only contains html and zipped original code. NMoneys samples have been upgraded and incorporated to the NMoneys.Tests project.
  • New Github Actions pipeline (instead of AppVeyor)
  • NMoneys.Tests project moved from ./src to ./tests top-level folder.
  • Some classes (ChangeSolution, Ratio, Denomination, ...) have been rewritten as records.

6.1.2.0

03 Dec 19:29
@dgg dgg
Compare
Choose a tag to compare

Improved rounding when allocating monetary quantities

6.1.0.0

19 Aug 13:52
@dgg dgg
Compare
Choose a tag to compare
  • Implement amendment 168:
    • Change name of PHP
    • Deprecate VEF adn introduce VES
  • Implement amendment 169 (a bit too early):
    • Introduce UYW

6.0.0.0

31 Dec 05:23
@dgg dgg
Compare
Choose a tag to compare

Release for NMoneys v6.0.0.0

  • Breaking change: .Allocate() methods have moved from NMoneys namespace to the NMoneys.Allocations namespace as part of a general effort to improve the architecture of the library
  • Apply Amendment 164:
    • Make STD obsolete
    • Create STN obsolete
    • Change PHP name
  • Apply Amendment 165:
    • Make MRO obsolete
    • Create MRU obsolete
  • Expose extension method CurrencyIsoCode.Equals(public static bool Equals(CurrencyIsoCode) to efficiently compare two currency codes
  • Reconcile a lot of currencies with newly supported information in System.Globalization: ALL, ANG, AOA, AWG, BIF, BMD, BSD, CUC, CVE, DJF, FJD, FKP, GHS, GIP, GMD, GNF, GYD, KMF, KPW, LRD, MGA, MRO, MUR, MWK, MZN, NAD, PGK, SDB, SCR, SDG, SHP, SLL, SSP, STD, SRD, SZL, TOP, TZS, UGX, VUV, WST, XPF
  • Re-implement NMoneys.Tools to make detecting future changes of the information of a currency easier and more effective

NMoneys 5.1.0.0

14 Jun 12:19
@dgg dgg
Compare
Choose a tag to compare

Release for NMoneys v5.1.0.0

  • Add operations to make change:

    • .CountWaysToMakeChange()
    • .MakeChange()
    • .MakeOptimalChange()
  • Amendment 163:

    • change name for AZN, KMF, GNF and LAK
    • change currency short form for UYI

NMoneys 5.0, NMoneys.Exchange 4.0

21 Apr 10:04
@dgg dgg
Compare
Choose a tag to compare

Major release. .NET framework users will not find major updates, but both project now support .NETCore via a "lighter" netstandard1.3 library:

  • Support netcore.
  • Methods that previously threw InvalidEnumArgumentException now throw ArgumentException to align both runtimes
  • Currency.Get() and Currency.TryGet() have different internal implementations due to differences in runtime libraries
  • Upgrade to NUnit 3.6.1
  • Upgrade PSake

Netstandard library supports all features that were available in the "classic" .NET framework version minus:

  • Custom serialization
  • ICloneable is not implemented

NMoneys 4.5.0.0, NMoneys.Exchange 3.1.0.0

20 Jul 13:28
@dgg dgg
Compare
Choose a tag to compare

Release tag for NMoneys 4.5.0.0 an NMoneys.Exchange 3.1.0.0

  • Decorate public pure methods with [Pure]
  • Migrate to NUnit 3