- Fix #755: export EcmaScript modules in dist/es/. Thanks @DamienCassou
- Update a ton of dependencies. Thanks @BenjaminVanRyseghem
- Update the tool-chain. Thanks @BenjaminVanRyseghem
- Fix spacing issue with en-GB currency. Thanks @DamienCassou
- Fix #507: mantissa precision produces wrong results for certain numbers. Thanks @swissmanu
- Fix broken release. Thanks @BenjaminVanRyseghem
- Fix providedFormat pollution. Thanks @BenjaminVanRyseghem
- Fix #597: Fix issue with en-IE currency. Thanks @Blackbaud-WesGabbard
- Fix German abbreviations Thanks @chaosflaws
- Fix Hebrew words for million and billion Thanks @amire80
- Fix #604: add
lowPrecision
to typescript definitions Thanks @fullaive
- Fix fr abbreviation. Thanks @BenjaminVanRyseghem
- Fix #541: validate(0) return false. Thanks @BenjaminVanRyseghem
- Fix #558: missing object
bytes
for language en-GB. Thanks @BenjaminVanRyseghem - Allow
trimMantissa
hint in string format. Thanks @lexanth - Fix #577: allow space between abbreviations and postfix currency symbols. Thanks @marvec
- Introduce
lowPrecision
to tweak precision when computing average value. Thanks @BenjaminVanRyseghem - Fix #411: spaceSeparated is not working for bytes. Thanks @BenjaminVanRyseghem
- Bump
lodash.template
to 4.5.0. Thanks @BenjaminVanRyseghem - Fix TypeScript return type definition of
Format.currencySymbol
. Thanks @jarnovanleeuwen - Fix #359: Add Bytes I18N possibility + French translation. Thanks @T0nio
- Fix #474: Fix Bytes formatting tests and coverage. Thanks @austingreco
- Fix #425: Fix interpretation of totalLength with negative numbers. Thanks @DamienCassou
- Fix #462: Fix negative number format issue. Thanks @bhartibdengada
- Fix #546: Format issue with average. Thanks @BenjaminVanRyseghem
- Fix #383: BigNumber Issue - new BigNumber() number type has more than 15 significant digits. Thanks @BenjaminVanRyseghem
- Fix dependencies through
npm audit --production
- Fix #446: CDNJS in website Relocation. Thanks @pranithan-kang
- Fix #364: Format Decimal without Rounding. Thanks @shefrancia
- Fix #414: Fix de-CH thousands separator. Thanks @FrEaKmAn
- Fix #418: Correct symbol and sign order for formatCurrency when forceSign=true. Thanks @adriang133
- Fix #424: Add ordinal for 40 for tr-TR. Thanks @yatki
- Fix #423: No way to have space separated abbreviation and not-separated currency symbol at the same time. Thanks @Osipova
- Fix #392: Small negative numbers get the leading zero incorrectly cut off. Thanks @Rudd
- Fix #403: Update numbro.d.ts to match the current API of the library. Thanks @Monck
- Fix #428: Fix id thousands and decimal separator. Thanks @kukuhyoniatmoko
- Fix #453: Fix broken BCP47 link. Thanks @sesam
- Fix #399: Update dependencies. Thanks @baer
- Fix #390: Small changes to doc comments. Thanks @cnrudd
- Fix #328: Fixed unformat for non standard delimiters. Thanks @jkettmann
- Fix #372: Truncated numbers with trimMantissa and zero mantissa. Thanks @timfish
- Fix #367: Fixes duplicate call of chooseLanguage when setting a language without subtag. Thanks @LarsBauer
- Fix #363: Enable es6 imports when using typescript. Thanks @aralisza
- Fix #353: Add monthly download to README. Thanks @BenjaminVanRyseghem
- Fix #358: Maximal mantissa. Thanks @BenjaminVanRyseghem.
- Fix #345: export Format interface. Thanks @jordydejong.
- Fix #348: fixed currency position for nl-NL. Thanks @jordydejong.
- Fix #344: Add format option to specify currency symbol position. Thanks @BenjaminVanRyseghem.
- Fix #343: Mantissa not taken into account when no decimals. Thanks @BenjaminVanRyseghem.
- Fix #342: fix typing of numbro.languages(). Thanks @ntamas.
- Fix #334: Update numbro.d.ts. Thanks @sousarka.
- Fix #330: Fix language file permissions. Thanks @thomas88.
- Fix #325: Unable to resolve module
./globalState
. Thanks @BenjaminVanRyseghem. - Fix #323: add missing option in typings. Thanks @nicolashenry.
- Fix #322: "spaced" should be optional in typings. Thanks @nicolashenry.
- Fix #321: formatCurrency with a string format throws. Thanks @BenjaminVanRyseghem.
- Fix #319: Fix typings. Thanks @nicolashenry.
- Fix #320: Fix main entry of package.json. Thanks @BenjaminVanRyseghem.
- Fix failing npm publish
- Fix #318: v2.0 is not importable due to invalid package.json. Thanks @BenjaminVanRyseghem.
- Complete rewrite of numbro (#305). Thanks @BenjaminVanRyseghem.
- Fix copyright owner references.
- Fix #313: add es-MX language definition. Thanks @joebordes.
- Fix #232: update numbro.d.ts to use export = instead of export default. Thanks @olmobrutall.
- Fix #241: Added bg localization. Thanks @gwynjudd.
- Fix #248: Fix index.js generation for culture neutral codes. Thanks @gwynjudd.
- Fix #255: Allow four character country code. Thanks @gwynjudd.
- Fix #260: Added el localization. Thanks @gwynjudd.
- Fix #269: Fix thousands and decimal separator for en-ZA. Thanks @gwynjudd.
- Fix #271: Added es-CL localization. Thanks @gwynjudd.
- Fix #272: Added es-CO localization. Thanks @gwynjudd.
- Fix #273: Added es-CR localization. Thanks @gwynjudd.
- Fix #274: Added es-NI localization. Thanks @gwynjudd.
- Fix #275: Added es-PE localization. Thanks @gwynjudd.
- Fix #276: Added es-PR localization. Thanks @gwynjudd.
- Fix #277: Added es-SV localization. Thanks @gwynjudd.
- Fix #239: Add de-AT localization. Thanks @gwynjudd.
- Fix #242: Added de-LI localisation. Thanks @gwynjudd.
- Fix #243: en-IE localization. Thanks @gwynjudd.
- Fix #246: Added it-CH localization. Thanks @gwynjudd.
- Fix #265: Revert Error thrown when invalid input. Thanks @BenjaminVanRyseghem.
- Fix #213: Unhelpful Error Message with $ as Format String. Thanks @reustle.
- Fix #221: update package.json license field. Thanks @mguida22.
- Fix #190: Allow abbreviation precision for < 4. Thanks @chrisnicola.
- Fix #227: Add Romanian locale. Thanks @herodrigues.
- Fix #222: allow a decimal format for an integer. Thanks @mguida22.
- Fix #233: Correct CZ and SK locales (finally). Thanks @smajl.
- Fix #244: Fixes for fr-CH. Thanks @gwynjudd.
- Fix #262: Better input validation. Thanks @BenjaminVanRyseghem.
- Fix #184: Accurate, up-to-date type definitions for TypeScript. Thanks @dpoggi.
- Fix #196: Fix german language specifications. Thanks @Ben305.
- Fix #197: Add detection for Meteor. Thanks @Ben305.
- Fix #206: fix number formats for de-CH. Thanks @Remo.
- Fix #195: Fixed wrong results from formatForeignCurrency. Thanks @Ben305.
- Add forgotten files
- Fix #192: Add locales en-AU and en-NZ. Thanks @Ben305.
- Fix #193: Add function formatForeignCurrency. Thanks @Ben305.
- Fix #194: Fix undefined error on React native. Thanks @abalhier.
- Fix #182: Added support for numbers without leading zero. Thanks @budnix.
- Fix #183: Number validation doesn't validate negative numbers. Thanks @budnix.
- Fix #180: Add culture function, deprecate language. Thanks @wereHamster.
- Fix #170: Add the ability to determine units without formatting. Thanks @pickypg.
- Fix #162: Add TypeScript declaration file. Thanks @wereHamster.
- Fix #163: unformat: return undefined when value can't be parsed. Thanks @wereHamster.
- Fix #173: Added two latest stable node versions to Travis build. Thanks @therebelrobot.
- Fix #176: default pt-BR currency is prefix, not postfix. Thanks @luisrudge.
- Fix #175: Zero byte unit fix, take 2. Thanks @therebelrobot.
- Fix #135: Fix fr-CA currency format. Thanks @killfish.
- Fix #174: Set versions for all deps. Thanks @BenjaminVanRyseghem.
- Fix #152: Use zeros() function instead of multiple inline implementations. Thanks @MarkHerhold.
- Fix #142: Limit packaging extraneous files. Thanks @MarkHerhold.
- Fix #143: Fixing web build. Thanks @mmollick.
- Fix #149: Allow loading of cultures in node explicitly if numbro hasn't detected correctly that it is in node. Thanks @stewart42.
- Fix #147: Fixing formatting issues for very small (+/-1e-23) numbers. Thanks @MarkHerhold.
- Fix decimal rounding issue. Thangrks @Shraymonks.
- Fix #114: webpack bundling. Thanks @mmollick.
- Add ko-KR & zh-TW support. Thanks @rocketedaway and @rWilander.
- Add existence check for require. Thanks @jamiter.
- Improve verbatim feature. Thanks @jneill.
- Fix deprecated use of
language
and introducecultureCode
. Thanks @BenjaminVanRyseghem
- Fix languages to use proper intPrecision. Thanks @BenjaminVanRyseghem
- Fix
intPrecision
when value is 0. Thanks @BenjaminVanRyseghem
-
Introduce new API functions:
- setCulture
- culture
- cultureData
- cultures
-
Deprecate API functions:
- setLanguage
- language
- languageData
- languages
Those deprecated functions will be removed in version 2.0.0
- Fixed scoping issue. Thanks @tuimz
- #68 Format decimal numbers. Thanks @BenjaminVanRyseghem
- #70 v1.5.0 error with browserify. Thanks @BenjaminVanRyseghem
- #71 Incorrectly reporting hasModule = true. Thanks @BenjaminVanRyseghem
- #72 the currency symbol is $ which is a currency symbol already by itself (the dollar..). Thanks @BenjaminVanRyseghem
- #76 ability to "pad" a number in formatting. Thanks @BenjaminVanRyseghem
- #79 browserify attempts to load all language files. Thanks @BenjaminVanRyseghem
- #106 Exception on large number formatting. Thanks @andrewla
- #78 Why is 0 formatted as +0?. Thanks to @clayzermk1
- #80 currency format "+$..." produces output "$+...". Thanks to @clayzermk1
- Fixes German separator. Thanks to @gka
- Adds support for Hebrew (he-LI). Thanks to @eli-zehavi
- #62 using languages in node. Thanks @alexkwolfe
- #64 multiply loses accuracy on minification. Thanks @rafde
- Fix issue with the release process
- Fix context issue when in strict mode. Thanks @avetisk
- #53 Max significant numbers formating. Thanks @BenjaminVanRyseghem
- #57 Broken reference to this in languages. Thanks @BenjaminVanRyseghem
- Remove old minified files
- Forgot to build when published
- #27 Binary and decimal bytes. Thanks @clayzermk1 and @Graham42
- #26 Jshint improvemnents. Thanks @baer and @Graham42
- Fixes french ordinal. Thanks @BenjaminVanRyseghem
- #32 Use svg instead of png to get better image quality. Thanks @PeterDaveHello
- #33 Correct culture code for Español. Thanks @maheshsenni
- #34 Clean up locales info. Thanks @Graham42
- #36 Improve
dist/
layout. Thanks @Graham42 - #35 Correct Polish currency symbol. Thanks @Graham42
- Fixes Swedish tests. Thanks @BenjaminVanRyseghem
- Fixes inconsistent white spaces. Thanks @BenjaminVanRyseghem
- #44 Tests for culture code format. Thanks @maheshsenni
- #50 added en-ZA language. Thanks @stewart42
- Fixes minified version number. Thanks @BenjaminVanRyseghem
- Removes old minified files. Thanks @Graham42
- Adds
languages
to expose all registered languages. Thanks @NicolasPetton - Adds support for filipino. Thanks @Graham42 and @mjmaix
- Adds support for farsi. Thanks @Graham42 and @neo13
- Improves release process. Thanks @Graham42
- Updates the
README
file. Thanks @Graham42 - Fixes Danish currency symbol. Thanks @Graham42 and @philostler
- Fixes npm/bower dependencies. Thanks @BenjaminVanRyseghem
- Cleans up Numeral-js leftovers. Thanks @uniphil
- Updates homepage url. Thanks @BenjaminVanRyseghem
- Rebases on Numeraljs to keep git history. Thanks @uniphil @Graham42
Fork numeraljs
v1.5.3, renaming everything to numbro
For changes before numbro
forked numeral-js
, see CHANGELOG-Numeraljs.md.