Releases: dgg/nmoneys
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
CurrencyConfiguration
from the information inCultureInfo
andRegionInfo
(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
SLL
and 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
MonetaryQuantity
andMonetaryRecord
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
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
andCurrency
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
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
STD
obsolete - Create
STN
obsolete - Change
PHP
name
- Make
- Apply Amendment 165:
- Make
MRO
obsolete - Create
MRU
obsolete
- 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.Tools
to 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
,GNF
andLAK
- 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
InvalidEnumArgumentException
now throwArgumentException
to 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
ICloneable
is not implemented
NMoneys 4.5.0.0, NMoneys.Exchange 3.1.0.0
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