From 01e0f1257627d1ae96149f4dce03ec34a7d514a2 Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Thu, 14 Nov 2024 10:15:28 +0000 Subject: [PATCH] =?UTF-8?q?bump:=20version=2027.4.0=20=E2=86=92=2028.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 17 ++++++++++++++++- pyproject.toml | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a145dce..e4570988 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog 1.0.0]. -## Unreleased +## v28.0.0 (2024-11-14) ### BREAKING CHANGE +- Code which provided unsanitised URIs when initialising `DocumentURIStrings` will now cause `InvalidDocumentURIException`s to be raised. - Document can now no longer be initialised with a string as the `uri`, it must be a `DocumentURIString`. +### Feat + +- Validate strings when creating a new DocumentURIString + +### Fix + +- **deps**: update dependency boto3 to v1.35.58 +- **deps**: update dependency boto3 to v1.35.56 + +### Refactor + +- **Document**: initialising a Document now requires a DocumentURIString, not a str +- **tests**: simpler test changes to pass type checking + ## v27.4.0 (2024-11-07) ### Change of behaviour diff --git a/pyproject.toml b/pyproject.toml index ae8fa295..a800d8ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ds-caselaw-marklogic-api-client" -version = "27.4.0" +version = "28.0.0" description = "An API client for interacting with the underlying data in Find Caselaw." authors = ["The National Archives"] homepage = "https://github.com/nationalarchives/ds-caselaw-custom-api-client"