Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

5.1.0 (2021-02-24)

Features

5.0.0 (2020-07-29)

Features

  • 5.0.0: API Updates (9d576c8)
  • ES Modules: Create ES Module compatible build (44ef920)
  • Match: Implement match (95f1d0e)
  • Regex: Exports and documents used Regexs (dd1315d)
  • Replace: Implement replace (deb348b)

BREAKING CHANGES

  • 5.0.0: - postcode no longer uses default exports. All exports are named
  • postcode no longer exports a class
  • Legacy new Postcode() functionality has been removed. Methods attached to Postcode are all available as named exports. E.g. new Postcode(postcode).unit() becomes toUnit(postcode);

4.0.0 (2020-06-25)

chore

  • Node: Drop Node 8, add 14 (e7a0f43)

BREAKING CHANGES

  • Node: Node 8 no longer supported

3.0.0 (2020-06-25)

chore

  • Node: Drop explicit support for Node 8 (53393f1)

BREAKING CHANGES

  • Node: Node 8 no longer forms part of CI testing

2.0.1 (2020-01-02)

Only significant change is typescript upgrade (3.7)

Test automated tagging and npm publish with semantic release

Cosmetic changes since 2.0.0:

  • Improved docs
  • Updated dev dependencies
  • General maintenance
  • Release: Trigger patch version bump (96d0ecd)

2.0.0 (12/02/2019)

  • Breaking Change: Require minimum node.js of 8.0.0
  • Ported to typescript (now exports typings)
  • Provides a cleaner, more modern API to extract and parse while supporting old methods
    • Add static methods to extract single datapoints
    • Add a ValidPostcode class with accessor methods which can be destructured
  • Updated documentation: postcodejs.ideal-postcodes.dev
  • Added benchmarking

1.0.1 (12/02/2019)

  • Add runkit example
  • Rename github repo to ideal-postcodes/postcode

1.0.0 (12/02/2019)

  • Test on node 8 and above only
  • Drop unused branches
  • Update dependencies
  • Add coverage testing