Skip to content
Rob Garrison edited this page Jan 29, 2019 · 16 revisions

Change Log

v2.0.8 (2019-01-28)

  • Created a format.es5.js file which should support IE11. See issue #21.
  • Meta:
    • Added babel to rollup config.
    • Updated dependencies.

v2.0.7 (2018-11-13)

  • Update typescript binding. See issue #20.
  • Fix improper placeholder behavior. Updated Readme with format symbols table. Closes issue #19.
  • Add more tests.
  • Meta:
    • Update dependencies.
    • Improve code readability.
    • Include version in min.js.

v2.0.6 (2018-11-06)

  • Trim trailing zeros in mask. Fixes issue #18.

v2.0.0 – 2.0.5 (2018-10-26)

  • Add ignoreSign option (modified to enforeceMaskSign!).
  • Switch to XO, AVA & rollup.
  • Meta: Update dot files & remove bower support.
  • Code cleanup & convert to ES2015.
    • Rename ignoreSign to enforceMaskSign (default false).
    • Reduce code complexity.
    • Export as node module.
    • Update TS with options.
    • Switch demo to use lib file & highlight valid results.
  • Switch from Grunt to rollup.
  • Switch from IIFE to UMD output.

v1.1.12 (2018-09-05)

  • Core
    • Different Handling for Negative "-" and Positive "+" Signs. See pull #11; thanks @hyyan!
    • Prevent JS error when passing a string.
  • Readme:
    • Update log.
  • Meta:
  • Demo:
    • Fix prettify loading.
    • Use https. Fixes issue #13.

v1.1.11 (2017-01-31)

  • Readme:
    • Update log.
    • Add playground link.
    • Reword note.
  • Meta:
    • Update dependencies.
    • Remove GPL portion of the license & update package.json entry.
    • Fix bower.json "main" reference.
  • Build:
    • Fix build process to use the updated package.json license format.

v1.1.10 (2016-08-19)

  • Update license.
  • Update dependencies & rebuild.

v1.1.9 (2016-01-18)

  • Update dependencies & version bump.

v1.1.8 (2016-01-18)

  • Fixed bug that caused zero precisions formats to not work with commas as decimal separators. See pull #4; thanks @AaronHirsch!

v1.1.7 (2015-12-16)

  • bower.json: remove version number & add ignore entry.
  • Update format.min.js.
  • Update dependencies.

v1.1.6 (2015-12-16)

  • Modify package.json files entry. Fixes issue #3.

V1.1.5 (2015-01-26)

  • Change name in bower.json & package.json to "number-format.js".
  • Update readme with installation instructions.

v1.1.4 (2015-01-26)

  • Add AMD & NodeJS compatibility (UMD). Thanks MadMG!
  • Renamed variables & code cleanup to make it more readable.

v1.1.3 (2014-11-12)

  • Fix bower link to point to the production version. Thanks marcelboettcher!
  • Minor code & demo cleanup.

v1.1.2 (2014-06-22)

  • Remove negative sign from results with a value of zero.
  • Added more examples to demo page.

v1.1.1 (2014-05-01)

  • Various fixes to get Travis builds to work.

v1.1.0 (2014-05-01)

  • Forked a copy of the script on GitHub
  • Clean up
    • Cleaned up code for jshint.
    • Add grunt build with jshint, testing & compression.
    • Register script with bower.
  • Add support for a prefix & suffix within the mask.
    • Updated demo with prefix & suffix examples; showing allowed and not-allowed formats.
    • Updated tests

r2 (v1.0.0) (2011-06-29)