Releases: nationalarchives/ds-caselaw-custom-api-client
Releases · nationalarchives/ds-caselaw-custom-api-client
v28.0.0
What's Changed
- Fix precommit warning about push stage by @dragon-dxw in #764
- fix(deps): update dependency boto3 to v1.35.56 by @renovate in #766
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.7.3 by @renovate in #767
- chore(deps): lock file maintenance by @renovate in #768
- Add functions to report on recently attempted enrichment and reparse by @dragon-dxw in #765
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.30.1 by @renovate in #769
- Make tests pass mypy type checking by @jacksonj04 in #770
- [FCL-461] Initialising a Document now requires a DocumentURIString, not a str by @jacksonj04 in #751
- fix(deps): update dependency boto3 to v1.35.58 by @renovate in #771
- bump: version 27.4.0 → 28.0.0 by @jacksonj04 in #772
Full Changelog: v27.4.0...v28.0.0
v27.4.0
What's Changed
- require published before bulk enrichment by @dragon-dxw in #755
- Add DEBUG logging by @dragon-dxw in #761
Full Changelog: v27.3.0...v27.4.0
v27.3.0
What's Changed
- chore(deps): update dependency pdoc to v15 by @renovate in #750
- chore(deps): update abatilo/actions-poetry action to v3.0.1 by @renovate in #752
- [FCL-386] Search query can now be passed to get_document_by_uri by @jacksonj04 in #754
- [FCL 138] Allow setting limits for reparse and bulk enrich by @dragon-dxw in #753
- bump: version 27.2.0 → 27.3.0 by @jacksonj04 in #756
Full Changelog: v27.2.0...v27.3.0
v27.2.0
What's Changed
- Only install minimum requirements to build API documentation by @jacksonj04 in #739
- fix(deps): update dependency boto3 to v1.35.45 by @renovate in #741
- fix(deps): update dependency mypy-boto3-s3 to v1.35.45 by @renovate in #742
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.7.1 by @renovate in #746
- fix(deps): update dependency boto3 to v1.35.48 by @renovate in #747
- chore(deps): lock file maintenance by @renovate in #748
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.30.0 by @renovate in #745
- chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.13.0 by @renovate in #744
- [FCL-396] Change search query highlighting behaviour by @dragon-dxw in #743
- Pin Python version for building docs to 3.12 by @jacksonj04 in #740
- bump: version 27.1.0 → 27.2.0 by @jacksonj04 in #749
Full Changelog: v27.1.0...v27.2.0
v27.1.0
What's Changed
- [FCL-394] Allow test failures for Python 3.13 and 3.14 by @jacksonj04 in #734
- Erroneous doc.body attribute calls on body work with a warning by @dragon-dxw in #736
- Lock judgment with fixed timeout by @dragon-dxw in #716
- Ensure Judgment- and PressSummaryFactory have working NCNs by @dragon-dxw in #727
- [FCL-386] Add native XSLT transformations to the API by @jacksonj04 in #732
Full Changelog: v27.0.1...v27.1.0
v27.0.1
v27.0.0
BREAKING CHANGE
- Remove
Document.overwrite
andMarkLogicApiClient.overwrite
- The
models.documents.body.CourtIdentifierString
type has been replaced with the more specificcourts.CourtCode
type from ds-caselaw-utils.
Feat
- NeutralCitationMixin: use ABC to flag abstract methods properly
Fix
- deps: update dependency boto3 to v1.35.33
- deps: update dependency mypy-boto3-s3 to v1.35.32
- deps: update dependency boto3 to v1.35.30
- SearchResponse: total now returns an int, not a str
- SearchResult: update behaviour to meet type checking
- deps: update dependency ds-caselaw-utils to v1.7.0
- deps: update dependency boto3 to v1.35.28
- deps: update dependency ds-caselaw-utils to v1.5.7
Refactor
- FCL-331: move api_client, xml and html params to build method signature instead of kwargs
- types: typing improvements around NeutralCitationString
- Document: remove unused overwrite method
- DocumentBody: replace CourtIdentifierString with utils.courts.CourtCode
v26.0.0
BREAKING CHANGE
- Multiple methods which used to be within
Document
are now inDocument.body
Feat
- FCL-268: break functions which rely on the document body into their own subclass
Fix
- FCL-268: update factory behaviour to match new document body model
- FCL-268: use real date when testing if document date should be sent in reparse payload
- deps: update dependency boto3 to v1.35.23
Refactor
v25.0.0
What's Changed
⚠️ Remove deprecated xml_tools module by @jacksonj04 in #664- [FCL-270] Add Python 3.13 to test matrix by @jacksonj04 in #665
- [FCL-217] Enable ruff on API Client by @jacksonj04 in #666
Full Changelog: v24.0.1...v25.0.0
v24.0.1
What's Changed
- Truncate reparse reference to avoid overlong step function names in TRE by @dragon-dxw in #648
- Release v24.0.1 by @dragon-dxw in #652
- Speculative: Remove old auth from PyPI by @dragon-dxw in #653
- Add write permissions by @dragon-dxw in #654
Full Changelog: v24.0.0...v24.0.1