Skip to content

Releases: ideal-postcodes/postcodes.io

10.2.1

02 Sep 06:32
Compare
Choose a tag to compare

10.2.1 (2/9/2019)

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

10.2.0

28 Aug 18:54
61c96d4
Compare
Choose a tag to compare

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

10.1.4

11 Jul 11:41
Compare
Choose a tag to compare

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

10.1.3

23 Mar 11:08
Compare
Choose a tag to compare

10.1.3 (23/3/2019)

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

10.1.2

07 Mar 08:18
Compare
Choose a tag to compare

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

10.1.1

06 Mar 07:18
Compare
Choose a tag to compare

10.1.1 (6/3/2019)

10.1.0

05 Mar 10:04
Compare
Choose a tag to compare

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

10.0.1

16 Jan 11:22
Compare
Choose a tag to compare

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

10.0.0

10 Dec 16:26
08ab137
Compare
Choose a tag to compare

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

9.0.3

29 Oct 14:04
572bc0f
Compare
Choose a tag to compare

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