Skip to content
Compare
Choose a tag to compare

5.1.0 (2021-02-24)

Features

Compare
Choose a tag to compare

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);
Compare
Choose a tag to compare

4.0.0 (2020-06-25)

chore

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

BREAKING CHANGES

  • Node: Node 8 no longer supported
Compare
Choose a tag to compare

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
Compare
Choose a tag to compare

2.0.1 (2020-01-02)

Bug Fixes

  • Release: Trigger patch version bump (96d0ecd)
78f27dc
Compare
Choose a tag to compare

2.0.0 (12/04/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
Compare
Choose a tag to compare

1.0.1 (12/02/2019)

  • Add runkit example
  • Rename github repo to ideal-postcodes/postcode
Compare
Choose a tag to compare

1.0.0 (12/02/2019)

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