Releases: ideal-postcodes/postcodes.io
Releases · ideal-postcodes/postcodes.io
10.2.1
10.2.1 (2/9/2019)
- Return specific error message if postcode not in SPD but in ONSPD. Thanks to @mashedkeyboard
10.2.0
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
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
10.1.2
10.1.1
10.1.1 (6/3/2019)
- Fix: renamed and moved docker-compose-test.yml as it breaks Docker Hub build
10.1.0
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 includePROMETHEUS_USERNAME
andPROMETHEUS_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
10.0.0
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
9.0.3 (26/10/2018)
Minor updates and fixes. Many related to docker improvements
- Fix: /outcodes endpoint returned a
result
attribute rather than anerror
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