Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Releases: baumandm/angular-numeraljs

2.0.1

06 May 16:52

Choose a tag to compare

Updated the Numeral.js dependency version to >=2.0.0. Minor dev dependency upgrades. No feature change.

2.0.0

14 Feb 01:14

Choose a tag to compare

This release switches to track the Numeral.js 2.x branch. There are several breaking changes, both in Numeral.js itself as well as this library. If you need compatibility with Numeral.js 1.x, please use the latest angular-numeraljs 1.x release (code on the 1.x branch).

Features

  • Upgrade to Numeral.js 2.x
  • Fixed indentation to match EditorConfig settings
  • Upgraded Karma & related test dependencies

Breaking Changes

  • $numeraljsConfigProvider's interface has been modified to better match Numeral.js:
    • $numeraljsConfigProvider.setCurrentLanguage(lang) has been renamed to locale(locale)
    • $numeraljsConfigProvider.setDefaultFormat(format) has been renamed to defaultFormat(format)
    • $numeraljsConfigProvider.setFormat(name, formatString) has been renamed to namedFormat(name, formatString)
    • $numeraljsConfigProvider.setLanguage(lang, def) has been renamed to register('locale', name, def)

1.3.0

17 Jan 04:53

Choose a tag to compare

Remove the separate CommonJS build in favor of a single UMD module.

1.2.0

18 Nov 04:16

Choose a tag to compare

Adds support for reconfiguring the library at runtime via injectable $numeraljsConfig.

1.1.6

30 Oct 04:39

Choose a tag to compare

Bug fixes for some edge cases.

1.1.0

21 Sep 20:18

Choose a tag to compare

Adds a configuration provider that supports custom named formats and languages.

1.0.3

16 Sep 17:29

Choose a tag to compare

Rebuild dist/min versions, bump to 1.0.3

1.0.2

16 Sep 16:07

Choose a tag to compare

Added language option

1.0.1

21 Aug 17:32

Choose a tag to compare

Exclude src from bower, update readme

1.0.0

21 Aug 17:28

Choose a tag to compare

Improve the bower config and bump to 1.0.0