Any changes, including backwards incompatible changes will be listed here
- Updated ONSPD dataset to August 2018
- Updated OS Names dataset to July 2018
- Fixed regression. WGS84 geolocations for points with no assigned geolocation (in
postcodes
andterminated_postcodes
relations) returned0
and99.9999
(ONSPD default identifiers for no geolocation) instead ofnull
andnull
. - Updated
pg_dump
released in 9.0.0 to incorporate above fix - Updated noticeboard
- Breaking Change Updated
postcode
andterminated_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
- Breaking Change Terminated Postcode schema has been updated to include geolocation attributes:
longitude
,latitude
,northings
,eastings
andlocation
- Extended
/terminated_postcodes
endpoint to includelongitude
andlatitude
- Updated parishes GSS Codes
- Tidy up of ONSPD and Open Names import scripts. Now named
postcodesio-onspd
andpostcodesio-oson
respectively. Dropped unmaintained update script - Updated ONSPD dataset to Feb 2018
- Updated OS Names dataset to Jan 2018
- Fixed performance regression on
/places
endpoint where postgresql's unaccent() causing index miss
- 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, parishes GSS codes
- Added optional rate limiting on bulk lookup endpoints
- Updated ONSPD dataset to Nov 2017
- Updated OS Names dataset to Oct 2017
- Updated dependencies
- [Dev] Run code coverage and linter by default
- Minimum required version of node.js bumped to 6.x
- Added terminated postcodes relation and /terminated_postcodes API
- Postcode responses now include a GSS code for parliamentary constituencies
- Extraction scripts data files (
data/*.json
) now stored indata/scripts/
and will effectively document how the data files are generated - Mispecified resources (404 errors) now return JSON instead of application/text
- Invalid JSON post requests return 400 errors instead of 500 HTTP response codes
- Updated ONSPD dataset to Aug 2017
- Updated OS Names dataset to July 2017
- Bulk postcode lookups now accept a
filter
parameter to restrict the attributes of the returned result set
The extraction process for the key/value (JSON) representation of GSS codes stored in the data/
directory is now formally documented with code in the data/scripts/
directory. See the README.md for more information
Following the formalisation, some data files were rebuilt and the following datasets have been modified:
- Districts: 4 names have been updated
"Eilean Siar" is now "Na h-Eileanan Siar"
"Armagh, Banbridge and Craigavon" is now "Armagh City, Banbridge and Craigavon"
"Derry and Strabane" is now "Derry City and Strabane"
"North Down and Ards" is now "Ards and North Down"
- LSOA: A large number of Scottish LSOAs have been expanded to include more information. E.g. For code
S01013429
, "Blackridge" is now "Blackridge, Westfield and Torphichen - 01" - MSOA: A large number of Scottish LSOAs have been expanded to include more information. E.g. For code
S02001501
, "Altonhill South" is now "Altonhill South, Longpark and Hillhead" - NHSHA: Dropping codes S08000001 to S08000014 as they appear to no longer feature in ONSPD
- NHSHA: 4 names have been modified
"Health & Social Care Board" => "ZB001"
"Jersey" => "Jersey Health Authority"
"Guernsey (including Sark and Herm)" => "Guernsey Health Authority"
"Alderney " => "Sark Health Authority"
- Parishes: ~60 names have been updated for various reasons. Some have had a preceeding backslash remove, some have been expanded, some are renamed
- PCTS: 7 names have been expanded
"Betsi Cadwaladr University" => "Betsi Cadwaladr University Health Board"
"Powys Teaching" => "Powys Teaching Health Board"
"Hywel Dda" => "Hywel Dda University Health Board"
"Abertawe Bro Morgannwg University" => "Abertawe Bro Morgannwg University Health Board"
"Cwm Taf" => "Cwm Taf University Health Board"
"Aneurin Bevan" => "Aneurin Bevan University Health Board"
"Cardiff and Vale University" => "Cardiff and Vale University Health Board"
- CCG: Naming is more consistent. CCG suffix will always be dropped (previously there were 5 exceptions)
For the exact changes, you can may inspect the most recent commit applied to the file
- Breaking Change Outcode schema has been modified to include country. When upgrading it's sufficient to rebuild support tables with
npm run rebuild_support_tables
/outcodes/:outcode
,/outcodes/:outcode/nearest
and/outcodes
now also return acountry
array in the outcode result
- Breaking Change Postcode schema has been modified to facilitate faster and better quality
- Faster and better quality postcode search and autocomplete
- Add missing wards for ONSPD May 2017
- Update express & body-parser
- Incorporate OS Places dataset
- npm package now points to
app.js
which exports instance postcodes.io express app - Minimum advised required Postgresql version of 9.5 (due to backwards incompatible pg_dump)
- Updated latest pg_dump for Feb 2017 ONSPD, January 2017 OS Places data
- Updated latest pg_dump for Nov 2016 ONSPD
- Updated NUTS GSS codes
- Added support for Node.js 6.9
- Updated latest pg_dump for Aug 2016 ONSPD
- Added some missing GSS codes. Fix import script for Aug 2016 ONSPD
- Drop support for node.js 0.10 and 0.12
- Expanded accept headers and HTTP methods in CORS preflight requests
- Updated dataset to February 2016