Skip to content

Commit 102ca97

Browse files
BryanBryan
authored andcommitted
Add release notes
1 parent 346aa4d commit 102ca97

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/content/releases/4.1.1.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
**Refactor price formatting and parsing. As a result, breaking changes may have been introduced.**
2+
3+
* The price format function has refactored.
4+
* Function signature is unchanged.
5+
* Function behavior has changed.
6+
* A string is always returned.
7+
* Passing a non-numeric value will yield a zero-length string.
8+
* Passing an invalid unit code will yield a zero-length string.
9+
* The price parse function has been refactored.
10+
* Function signature was expanded.
11+
* New arguments were appended. The same values used to format a value should be used when parsing.
12+
* fractionSeparator
13+
* specialFractions
14+
* thousandsSeparator
15+
* Function behavior has changed.
16+
* Passing a value which cannot will yield Number.NaN.
17+
* Passing an invalid unit code will yield Number.NaN.
18+
* A formal enumeration, called UnitCode, was added.

0 commit comments

Comments
 (0)