All notable changes to this project will be documented in this file.
- neutral_url: neutral_url no longer returns URIs with a leading slash
Court.ncn
is nowCourt.ncn_pattern
, and now returns aNeutralCitationPattern
which is a subtype ofre.Pattern[str]
.- Existing calls to
neutral_url()
will need to be made type-aware in all downstream projects where typechecking is used.
- Court: make it clearer what Court.ncn actually means
- types: add new types for NCN-related strings
- courts: add additional type statements for stricter behaviour of courts repository
- types: move autogen court types to new types submodule
- FCL-343: Add typing to utils
- FCL-323: make Crown Court listable and selectable
- FCL-299: remove incorrect end_year values for courts
- Change Crown Courts to EWCRC
- Make Crown Courts visible
- [FCL-119] Make County Courts visible
- [FCL-119] Add Crown and County Courts (invisible)
- [FCL-134] Make IPT visible in Public and Editor UIs
- [FCL-176] Tooling configuration audit
- [FCL-134] Use ukiptrib as url, not ukipt
- Add T1/T2/T3 to EWCOP neutral citation regex
- Add IPT as a new court
- Remove parenthetical information from Family Court
- FCL91 - Change display name for Lower Courts to Other Courts
- FCL120 - Allow (T1) to (T3) for EWCOP neutral citations
- Remove redundant duplicate of patent court
- Fix bug where getting a nonexistent jurisdiction for a court raised an IndexError. Now we explicitly raise a CourtNotFoundError for unknown jurisdictions.
- Add jurisdiction metadata to courts to support GRC subdivisions
- Fix an issue with EWFC B's name taking priority for the 'ewfc' param
- Add data for EWFC B
- Fix brackets on a court NCN (that isn't used anywhere)
- Add regular expression to validate UKAIT NCNs and convert them to NCN-based URIs.
- Add a new unlisted court with the UKAIT court code in order that EUI court validation works.
- Don't list both aliases of the Immigration and Asylum tribunal, but keep the url alias.
- The Upper Tribunal (Immigation and Asylum Chamber) used to be called the "Asylum and Immigration Tribunal", with a different NCN format (and therefore URL param). This release ensures that cases with both NCN styles show for the Upper Tribunal (I&AC), and that the two court names are shown with the appropriate dates in contexts where we lists courts.
- Reorder tribunal groups so Employment Appeal is at the top
- Add accessors for grouped selectable courts and tribunals (
get_grouped_selectable_courts
/get_grouped_selectable_tribunals
) - Reorder and rename courts for hierarchical view
- Rename 'list_name' to 'grouped_name' to make it clearer in which contexts each name is used
- Add
display_heading
property to CourtGroups to determine if they are displayed in the PUI as groups. - Add
get_selectable_groups
method to CourtsRepository to get all selectable courts, grouped.
- Add JSON Schema to validate courts data
- Ensure courts in alphabetical order in their parent courts
- Courts display their name in repr contexts
- Add King's Bench identifiers to the court list
- Raise a meaningful exception (CourtNotFoundException) when a court is not found for a given param or code.
- Added ability to look up court by code
- Assorted quality of life improvements
- Fix all court end dates to 2022, pending ingest of judgments for 2023 (and/or an alternative solution for accessing this metadata dynamically)
- Standardise documentation (README and licence)
- Add CodeQL configuration
- Add a check for secrets
- Set the default search for all courts to be URI based, for now
- Correct two canonical params for courts which were incorrect.
- Add accessors to return all visible courts or tribunals ungrouped.
- Fix bug in court names - parameter values for upper tribunals were incorrect.
- Add newly supported first-tier tribunals to the court list
- Add helper to access court metadata by parameter value.
- Add helpers for accessing metadata about courts
- Add King's Bench to NCN parser regex
- Add github action to lint code on push
- Add court names and documentation
- Use YAML file for configuration
- Use Poetry for test workflow
- Initial tagged release