feat!: ONSPD August 2026, Scottish Parliament 2026 designation - #1393
Merged
Merged
Conversation
…021 fields SPD 2026/2 folds the operative Scottish Parliament set into the postcode index as the 2026 vintage (codes identical to the 2025 set) and ships no 2021 data, so the superseded fields cannot be served. scottish_parliamentary_region and scottish_parliamentary_constituency (and their codes) now read the 2026 columns. BREAKING CHANGE: scottish_parliamentary_region_2021, scottish_parliamentary_constituency_2021 and their codes counterparts are removed from /scotland/postcodes/:postcode. Claude-Session: https://claude.ai/code/session_0195FWjQNKqsSSeZuRyu8Lzi
ONSPD August 2026, SPD 2026/2 and OS Open Names July 2026. Carries the April 2026 NHS ICB reorganisation (CM postcodes now map to NHS Essex ICB, E54000066) and restores CED population. Seed and dw_postcodes.csv regenerated; centroid and tie-order drift reconciled in the outcodes/postcodes contract tests. Fixes #1352 Fixes #1330 Claude-Session: https://claude.ai/code/session_0195FWjQNKqsSSeZuRyu8Lzi
info.version had drifted (18.0.0 vs the 19.1.0 release); this release is a major via the Scottish Parliament 2026 breaking change. Claude-Session: https://claude.ai/code/session_0195FWjQNKqsSSeZuRyu8Lzi
Overview Data section now names the loaded vintages (ONSPD August 2026, OS Open Names July 2026, SPD 2026/2) instead of only deferring to the changelog. Bump these each data refresh. Claude-Session: https://claude.ai/code/session_0195FWjQNKqsSSeZuRyu8Lzi
Member
|
🎉 This issue has been resolved in version 20.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
postcodesio-2026-09-08-1325.sql.gz), plus SPD 2026/2 and OS Open Names July 2026. Carries the April 2026 NHS ICB reorganisation (CM postcodes now map to NHS Essex ICB,E54000066) and restores CED population. Fixes ICB data out of date #1352, fixes CED #1330./scotland/postcodes/:postcodemovesscottish_parliamentary_region/scottish_parliamentary_constituency(and theircodes) to the 2026 designation and drops the*_2021fields - SPD 2026/2 no longer publishes the superseded 2021 boundaries. OpenAPI spec, docs and prebuilt site regenerated.Test plan
make test- full suite against the regenerated seed (275/275 locally).curl -sI $(cat latest)returns 200 (dump is live on S3).CM22 6QJreturnsicb: NHS Essex Integrated Care Board(ICB data out of date #1352); postcodes with CEDs populated, e.g.SELECT count(*) FROM postcodes WHERE ced IS NOT NULLis ~810k (CED #1330);/scotland/postcodes/AB10 1XGserves 2026 SP fields with no*_2021keys.Dockerfile.pgdb image manually.🤖 Generated with Claude Code
https://claude.ai/code/session_0195FWjQNKqsSSeZuRyu8Lzi
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.