Skip to content

@cblanc cblanc released this Sep 2, 2019 · 21 commits to master since this release

10.2.1 (2/9/2019)

  • Return specific error message if postcode not in SPD but in ONSPD. Thanks to @mashedkeyboard
Assets 2

@cblanc cblanc released this Aug 28, 2019 · 29 commits to master since this release

10.2.0 (27/8/2019)

  • Update ONSPD to August 2019
  • Update OS Open Names to July 2019
  • Updated GSS codes for missing wards
  • Integrated Scotland Postcode Directory (SPD) dataset
  • Added Scotland postcode lookup (for Scottish Constituencies) /scotland/postcodes/:postcode
Assets 2

@cblanc cblanc released this Jul 11, 2019 · 69 commits to master since this release

10.1.4 (5/7/2019)

  • CI testing on node 12 (instead of 11)
  • Deprecated PMX configuration option. Use prom-client for monitoring
  • Fix: Prom client uses stricter path matching to reduce cardinaility in path= label
  • Update ONSPD to May 2019
  • Update OS Names dataset to April 2019
  • Rebuild GSS codes
Assets 2

@cblanc cblanc released this Mar 23, 2019 · 152 commits to master since this release

10.1.3 (23/3/2019)

  • Enable prometheus endpoint
  • .env files loaded upon application start. These are overwritten with explicit ENV variables
Assets 2

@cblanc cblanc released this Mar 7, 2019 · 168 commits to master since this release

10.1.2 (7/3/2019)

  • Fix: npm run setup on ubuntu
  • Dependency Update: switch from pmx to @pm2/io
  • Add ability to define google analytics key with environment variable
Assets 2

@cblanc cblanc released this Mar 6, 2019 · 174 commits to master since this release

10.1.1 (6/3/2019)

Assets 2

@cblanc cblanc released this Mar 5, 2019 · 176 commits to master since this release

10.1.0 (3/3/2019)

  • Updated ONSPD dataset to February 2019
  • Updated OS Names dataset to January 2019
  • Rebuild GSS codes for NHSHA and NUTS datasets
  • Dropped bunyan as dependency. Replaced with pino, a faster and actively maintained logging library
  • Log destination can now be assigned via env variable LOG_DESTINATION
    • "/absolute/path/to/file" logs to file
    • "stdout" logs to stdout
    • "perf" logs to stdout in extreme mode
  • Added ability to export prometheus metrics by basic auth protected /metrics endpoint. To enable include PROMETHEUS_USERNAME and PROMETHEUS_PASSWORD as environment variables. Those environment variables are required to authenticate using HTTP basic authentication
  • Updated dependencies
  • Added ability to configure application limits using environment variables. See readme
  • Amended npm run setup bash script to accept more configuration arguments
Assets 2

@cblanc cblanc released this Jan 16, 2019 · 241 commits to master since this release

10.0.1 (16/01/2018)

  • Fix: default config.js file would fail to load under NODE_ENV=production (thanks to @g-wilson)
  • Update dependencies
  • Added link to new Python lib (thanks to @raigad)
  • Clean up documentation
Assets 2

@cblanc cblanc released this Dec 10, 2018 · 252 commits to master since this release

10.0.0 (29/11/2018)

  • Breaking Change Install dependencies upgraded. Going forward, only the following minimum versions will be tested:
    • Node.js 8
    • PostgreSQL 10
  • Postcode responses now include County Electoral Districts (ceds)
  • Updated documentation (outcodes, installation)
  • Updated dependencies
  • Updated GSS codes for missing wards
  • Updated ONSPD dataset to November 2018
  • Updated OS Names dataset to October 2018
Assets 2

@cblanc cblanc released this Oct 29, 2018 · 303 commits to master since this release

9.0.3 (26/10/2018)

Minor updates and fixes. Many related to docker improvements

  • Fix: /outcodes endpoint returned a result attribute rather than an error attribute for a not found response
  • Docker Related: Application gracefully exits from SIGTERM
  • Docker Related: Application writes logs to stdout when NODE_ENV=production
  • DockerFile:
    • Added healthcheck
    • Run application as non-root user (node)
    • Reduced image size: delete npm cache, added .dockerignore
  • DockerFile.pg:
    • New docker file that builds a postgresql container that preloads postcodesio.io dataset
Assets 2
You can’t perform that action at this time.