postcodes.io

UK postcode & geolocation API, serving up open data

MIT License

Stars
1.2K

Bot releases are hidden (Show)

postcodes.io - 11.1.0

Published by cblanc over 4 years ago

11.1.0 (6/3/2020)

  • Updated ONSPD to Feb 2020
  • Updated Open Names to Jan 2020
  • Updated GSS codes for missing parishes
  • Chore: Refactored static ejs templates
postcodes.io - 11.0.1

Published by cblanc almost 5 years ago

11.0.1 (6/1/2020)

  • Fix: codes.cgg incorrectly returning short code rather than GSS code
postcodes.io - 11.0.0

Published by cblanc almost 5 years ago

11.0.0 (3/1/2020)

  • Breaking Change CCG Short Code column added to ccgs table
  • CCG Short Code returned in codes object
  • Update ONSPD to November 2019
  • Update OS Open Names to October 2019
  • Updated GSS codes for midding NUTS
  • Updated GSS codes for midding wards
  • New docker-compose setup for test, dev and s3 pg_dump testing
postcodes.io - 10.2.1

Published by cblanc about 5 years ago

10.2.1 (2/9/2019)

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

Published by cblanc about 5 years ago

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
postcodes.io - 10.1.4

Published by cblanc over 5 years ago

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
postcodes.io - 10.1.3

Published by cblanc over 5 years ago

10.1.3 (23/3/2019)

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

Published by cblanc over 5 years ago

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
postcodes.io - 10.1.1

Published by cblanc over 5 years ago

10.1.1 (6/3/2019)

postcodes.io - 10.1.0

Published by cblanc over 5 years ago

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
postcodes.io - 10.0.1

Published by cblanc almost 6 years ago

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
postcodes.io - 10.0.0

Published by cblanc almost 6 years ago

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
postcodes.io - 9.0.3

Published by cblanc almost 6 years ago

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
postcodes.io - 9.0.2

Published by cblanc about 6 years ago

9.0.2 (23/8/2018)

  • Updated ONSPD dataset to August 2018
  • Updated OS Names dataset to July 2018
postcodes.io - 9.0.1

Published by cblanc over 6 years ago

9.0.1 (18/6/2018)

  • Fixed regression. WGS84 geolocations for points with no assigned geolocation (in postcodes and terminated_postcodes relations) returned 0 and 99.9999 (ONSPD default identifiers for no geolocation) instead of null and null.
  • Updated pg_dump released in 9.0.0 to incorporate above fix
  • Updated noticeboard
postcodes.io - 9.0.0

Published by cblanc over 6 years ago

9.0.0 (8/6/2018)

  • Breaking Change Updated postcode and terminated_postcode models for the new schema in ONSPD CSV file. This means >9.0.0 will not be able to import ONSPD CSV files produced before May 2018. pg_dump imports will not be affected
  • Added package.lock file
  • Updated wards, districts, nuts, ccgs GSS Codes
  • Updated ONSPD dataset to May 2018
  • Updated OS Names dataset to April 2018
postcodes.io - 8.0.0

Published by cblanc over 6 years ago

8.0.0 (6/3/2018)

  • Breaking Change Terminated Postcode schema has been updated to include geolocation attributes: longitude, latitude, northings, eastings and location
  • Extended /terminated_postcodes endpoint to include longitude and latitude
  • Updated parishes GSS Codes
  • Tidy up of ONSPD and Open Names import scripts. Now named postcodesio-onspd and postcodesio-oson respectively. Dropped unmaintained update script
  • Updated ONSPD dataset to Feb 2018
  • Updated OS Names dataset to Jan 2018
postcodes.io - 7.0.1

Published by cblanc over 6 years ago

7.0.1 (26/1/2018)

  • Fixed performance regression on /places endpoint where postgresql's unaccent() causing index miss
postcodes.io - 7.0.0

Published by cblanc almost 7 years ago

7.0.0 (8/12/2017)

  • Breaking Change. Place schema has been amended with additional columns to support better text search for place names. When upgrading, places will need to be rebuilt
  • Added Dockerfile & Dockerhub Repository (thanks to @jamescun and @billinghamj)
  • Fix: Added missing filterable attributes for ?filter=
  • Updated dependencies
  • Updated NUTS, Wards, Parishses GSS codes
  • Added optional rate limiting on bulk lookup endpoints
  • Updated ONSPD dataset to Nov 2017
  • Updated OS Names dataset to Oct 2017
postcodes.io - 6.1.1

Published by cblanc about 7 years ago

  • Updated dependencies
  • [Dev] Run code coverage and linter by default