From 278ff60664693df8c45f3ff04bd547fa85c65e7b Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Wed, 2 Oct 2024 12:16:04 +0100 Subject: [PATCH] =?UTF-8?q?bump:=20version=201.7.0=20=E2=86=92=202.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 20 ++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9fc387..33cf12b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,26 @@ All notable changes to this project will be documented in this file. +## v2.0.0 (2024-10-02) + +### BREAKING CHANGE + +- `Court.ncn` is now `Court.ncn_pattern`, and now returns a `NeutralCitationPattern` which is a subtype of `re.Pattern[str]`. +- Existing calls to `neutral_url()` will need to be made type-aware in all downstream projects where typechecking is used. + +### Feat + +- **Court**: make it clearer what Court.ncn actually means +- **types**: add new types for NCN-related strings + +### Fix + +- **courts**: add additional type statements for stricter behaviour of courts repository + +### Refactor + +- **types**: move autogen court types to new types submodule + ## v1.7.0 (2024-09-30) ### Feat diff --git a/pyproject.toml b/pyproject.toml index 24d4dd3..bcbcdb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ds_caselaw_utils" -version = "1.7.0" +version = "2.0.0" description = "Utilities for the National Archives Caselaw project" authors = ["Nick Jackson ", "David McKee ", "Tim Cowlishaw ", "Laura Porter "] license = "MIT"