Skip to content

Commit

Permalink
feat(v): Release new version
Browse files Browse the repository at this point in the history
  • Loading branch information
mlissner committed Jan 21, 2023
1 parent bbaf8c6 commit 16d4e3c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
10 changes: 8 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Fixes:

## Current

**2.5.0 - 2023-01-20**

Features:
- Citations now have a `full_span` property that returns the start and end indexes for the full citation, including any pre- or post-citation attributes.


## Past

**2.4.0 - 2022-07-22**

Features:
Expand All @@ -33,8 +41,6 @@ Fixes:
- Initial support for finding short cites with non-standard regexes, including fixing short cite extraction for `Mich.`, `N.Y.2d` and `Pa.`.


## Past

**2.3.2 - 2021-03-23**

Yanked.
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ The above example extracts citations from :code:`plain_text` and applies them to
:code:`source_text`, using a diffing algorithm to insert annotations in the correct locations
in the original text.

There is also a :code:`full_span` attribute that can be used to get the indexes of the full citation, including the
pre- and post-citation attributes.

Wrapping HTML Tags
^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -413,7 +416,7 @@ Deployment

1. Update version info in :code:`pyproject.toml` by running :code:`poetry version [major, minor, patch]`.

For an automated deployment, tag the commit with vx.y.z, and push it to master.
For an automated deployment, tag the commit with vx.y.z, and push it to main.
An automated deploy and documentation update will be completed for you.

For a manual deployment, run:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
version = "2.4.0"
version = "2.5.0"
authors = ["Free Law Project <info@free.law>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 16d4e3c

Please sign in to comment.