Skip to content

@cblanc cblanc released this Apr 24, 2019 · 73 commits to master since this release

[2.2.2] 2019-04-24

  • Update dependencies
  • Update documentation
    • Reference PAF API
    • Reference typedocs
Assets 2

@cblanc cblanc released this Apr 2, 2019 · 92 commits to master since this release

[2.2.1] 2019-04-02

  • Fix: Handle building names that contain range on rule 6
Assets 2

@cblanc cblanc released this Mar 28, 2019 · 99 commits to master since this release

[2.2.0] 2019-03-11

  • Formatting updates with guidance and examples outlined in the latest PAF Programmers Guide (Edition 7, Version 6):
    • Where a building name exception exists in rule 3, these names are no longer lower cased as documented in Table 27a. They now adhere to the (conflicting) example defined in Table 22
    • Building ranges which contain specific prefixes (e.g. Back of, Stalls, Maisonette) are no longer broken up across lines
  • Added line_1, line_2, line_3 and premise accessor methods on Address instances
  • Standardise project with prettier and @cablanchard/tslint
  • Use stardardised compile options from @cablanchard/tsconfig
  • Added benchmark suite
Assets 2

@cblanc cblanc released this Feb 12, 2019

[2.1.2] 2019-02-12

  • Add runkit example
  • Use whitelist to generate npm package
Assets 2

@cblanc cblanc released this Jul 2, 2018 · 183 commits to master since this release

[2.1.1] 2018-07-02

  • Fix: Drop nyc_output from npm package
Assets 2

@cblanc cblanc released this Jul 2, 2018 · 188 commits to master since this release

[2.1.0] 2018-06-28

  • Project reorganisation
    • Typescript files omitted from npm package
    • Compiled js and typing files omitted from project repository
    • Moved compiled files to dist/
    • Dropped unused assets from npm module
  • Fix: typings for Address.sort (previously returned inappropriate type)
  • Fix: address sort comparator
  • Fix: formatting for corner case on rule6
Assets 2

@cblanc cblanc released this Apr 10, 2018 · 216 commits to master since this release

Changelog

[2.0.0] 2018-04-05

Breaking Changes

  • Node.js 6.x and above supported only
  • Premise elements are no longer capitalised by default. PAF data should be appropriately capitalised
  • Address class must be extracted from the library. E.g.
// New method of retrieving class

const { Address } = require("uk-clear-addressing");

Other Changes

  • Address.sort implements a sorting method which allows two address objects to be compared
  • This project has been ported to typescript. Typings now available
Assets 2
You can’t perform that action at this time.