- Release for security fixes in devDependencies
- Fixed truncation of fractional cents when using
fromCents
- Fixed incorrect values from
distribute()
when usingfromCents
- Fixed incorrect values being returned from methods when using
fromCents
(#260 thanks @chrisvariety)
- Formatter now accepts a function or static option, allowing for fine tuned customization of output formats (#213)
- Adjusted internal precision to better account for some edge case precision issues. (#133) thanks @tvainika
- Added new formatting options,
pattern
andnegativePattern
allowing for greater flexibility of currency formats. (#95)
- Fixed rounding for string values. (#116) thanks @pdcmoreira
- Fixed grouping separator for numbers with 0 precision. (#109) thanks @hameedraha
- Fixed rounding not always being consistent with half cent values and high precision. (#102) thanks @philippetrepanier
- Fixed comma separator appearing in decimals when formatting. (#104) thanks @lanceli
- Fixed negative distribution values. (#99) thanks @andrewkatz
useVedic
option added for displaying groupings using the Indian Numbering System. (#74)increment
option added for incremental rounding on display. (#70)- Documentation updated to be built from source; should help keep documentation in sync.
- Changed module
export default currency
toexport = currency
for Typescript definition. (#88 thanks @arturnt)
- Fixed travis deployments. (#79)
- Removed
static
properties from flow definition files.
- Fixed default imports for Typescript. (#73 thanks @shepherdwind)
- Node < 4 support dropped.
- Separate UMD, ES6, CommonJS modules now available.
- Global currency settings removed. Settings are now passed per currency.js instance.
- Different precision currencies supported. (#29)
- Added Typescript definition. (#36)
- Added Flow definition. (#37)
- Fix for currency.min.js being compiled incorrectly.
- Added AMD support.
- Fixed issue resolving bundling with webpack/browserify. (#24)
- Updated to latest closure compiler for minification.
- Whitelist currency.js files for smaller npm size.
- Switched to mocha for testing and added test coverage.
- Removed deprecated "seperator" option, is now "separator".
- Currency can now throw an error with undefined inputs with the
errorOnInvalid
option set to true.
- Fix bower package management.
- Fix spelling of "seperator" to "separator".
- Automatic publish to npm when tags are pushed to master.
- Added bower support.
- Added new format option to optionally include the set currency symbol.
- Added travis ci integration.
- Fixed issue where international values were not being formatted correctly. (#6)
- Adding nodejs / commonjs support
- Fixes issue with serializing currency via JSON.stringify (#1)
- Added grunt tasks
- Switching value returned to be the real float value and not the int value.
- Fixed issue with rounding not being defaulted correctly.
- Fixed issue with multiplication/division not allowing precision beyond 2 decimal points.
- Initial release