Skip to content

Releases: ideal-postcodes/postcode

5.1.0

24 Feb 06:05
Compare
Choose a tag to compare

5.1.0 (2021-02-24)

Features

5.0.0

29 Jul 18:56
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);

4.0.0

25 Jun 10:07
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

3.0.0

25 Jun 09:53
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

2.0.1

02 Jan 08:45
Compare
Choose a tag to compare

2.0.1 (2020-01-02)

Bug Fixes

  • Release: Trigger patch version bump (96d0ecd)

2.0.0

19 Apr 08:28
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

1.0.1

12 Feb 16:43
Compare
Choose a tag to compare

1.0.1 (12/02/2019)

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

1.0.0

12 Feb 15:13
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