Skip to content

Commit

Permalink
Merge pull request #193 from nationalarchives/release/v2.0.0
Browse files Browse the repository at this point in the history
bump: version 1.7.0 → 2.0.0
  • Loading branch information
dragon-dxw authored Oct 2, 2024
2 parents 5f80272 + 278ff60 commit 6e835e1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "David McKee <[email protected]>", "Tim Cowlishaw <[email protected]>", "Laura Porter <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 6e835e1

Please sign in to comment.