Releases: ONSdigital/dp-dataset-api
Releases · ONSdigital/dp-dataset-api
Release 1.37.0
- extend Metadata model for Cantabular
- implement logic to retrieve Cantabular metadata
- extended patch /instance/{id}/dimensions endpoint to support updating node_id and order for existing dimension options
- refactored dimension inserts and updates in two bulk calls to mongoDB with an array of inserts and an array of updates
- use improved dp-mongodb locking/unlocking retries mechanism with random sleep times and longer timeout.
Release 1.36.0
- New endpoint: PATCH
/instances/{id}/dimensions
- Migrated to log.go v2
Release 1.35.0
- bump kafka lib (fix to reconnects for kafka - feature-flagged off)
- bump dp-mongodb lib (retries on unlock)
- fix mutex-lock to be outside PATCH loop
Release 1.34.0
Skip dp-graph
call when confirming edition for cantabular instances.
Release 1.33.0
Add ETag
/ If-Match
for instance endpoints
Release v1.32.0
- Added local Dockerfile for use with dev environment docker-compose setup
Release v1.31.0
- Added 'failed' to list of instance state
- Update permissions for lint.sh file to run in CI
- Remove file unintentionally pushed to repository
Release 1.30.0
The following changes have been made in this release:
- Return 400 error if non numeric version in request
- Paginate
GET /instances/{instance_id}/dimensions
andGET /instances/{instance_id}/dimensions/{dimension}/options
: https://trello.com/c/yOURvD7U/5128-add-pagination-to-endpoints-in-dp-dataset-api - Utilise httptest in tests
- Replace audit exclude tag with .nancy-ignore file for jwt-go exception
- Add lint CI job
Release 1.29.0
- Refactor pagination for GET versions, dimensions and options endpoints
- Add component tests for these endpoints
Release 1.28.0
- Introduced
PATCH option
endpoint to add/updateorder
andnode-id
values for an option - Deprecated
PUT option/node-id
- Return options sorted according to the order field in mongoDB
- Refactoring of pagination and added more component testing
- URL validation
- Set
datasetID
when creating a version - Remove Kafka dependency on web mode