Releases: dgg/nmoneys
7.4.0.0
7.3.0.0
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 existingdecimal) - Add static factory method to create a instance of
CurrencyConfigurationfrom the information inCultureInfoandRegionInfo(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
Release for NMoneys v7.2.0.0.
- Implement amendment 170:
- Introduce
VED
- Introduce
- Implement amendment 171-173 and 175 (a bit too early):
- Deprecate
SLLand introduceSLE
- Deprecate
- Implement amendment 174:
- Deprecate
HRK
- Deprecate
Full Changelog: 7.1.0.0...7.2.0.0
7.1.0.0
Release for NMoneys v7.1.0.0.
-
Added
MonetaryQuantityandMonetaryRecordas 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
Moneywith 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
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
MoneyandCurrencyremoved. No longer binary, XML or DataContract serializables. New strategy for serialization coming in future releases. - Breaking change:
Currency.Entitybecomes nullable instead of a null object. - Breaking change:
CharacterReferenceproperties renamed:->.SimpleName.Name->.EntityName.NamedReference->.EntityNumber.DecimalReference
- Breaking change:
./toolsare 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
./archivefolder. *.CodeProject.*projects moved from./srcto./archiveand 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
./srcto./teststop-level folder. - Some classes (
ChangeSolution,Ratio,Denomination, ...) have been rewritten as records.
6.1.2.0
6.1.0.0
6.0.0.0
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
STDobsolete - Create
STNobsolete - Change
PHPname
- Make
- Apply Amendment 165:
- Make
MROobsolete - Create
MRUobsolete
- Make
- 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.Toolsto make detecting future changes of the information of a currency easier and more effective
NMoneys 5.1.0.0
Release for NMoneys v5.1.0.0
-
Add operations to make change:
.CountWaysToMakeChange().MakeChange().MakeOptimalChange()
-
Amendment 163:
- change name for
AZN,KMF,GNFandLAK - change currency short form for
UYI
- change name for
NMoneys 5.0, NMoneys.Exchange 4.0
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
InvalidEnumArgumentExceptionnow throwArgumentExceptionto align both runtimes Currency.Get()andCurrency.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
ICloneableis not implemented