Skip to content

Releases: mscarey/legislice

v0.8.0

19 May 05:12
Compare
Choose a tag to compare
  • change CI flag name to record-mode
  • limit supported python versions to 3.11 and 3.12

v0.7.1

04 Feb 00:53
3e9c435
Compare
Choose a tag to compare

0.7.1 (2023-12-02)

support Pydantic 2
replace pytest-vcr with pytest-recording

0.7.0 (2021-10-21)

replace Marshmallow schemas with Pydantic models
add types module for type annotations of TypedDict API responses
add MANIFEST.in (to include readme.md on Python Package Index)

0.6.0

20 Sep 23:21
Compare
Choose a tag to compare
  • add EnactmentPassage class
  • select_from_text_positions_without_nesting doesn't accept RangeSet
  • Enactment.limit_selection.start must be an int
  • no separate LinkedEnactment class for Enactments with URL links as children
  • remove BaseEnactment parent class
  • replace Marshmallow schemas with Pydantic models

0.5.0

26 Mar 21:37
Compare
Choose a tag to compare
  • add EnactmentGroup class
  • drop Python 3.7 support
  • import Citation and Client at top level of library
  • Client.fetch_cross_reference no longer will ignore "date" param
  • EnactmentGroup init method can accept None as "enactments" param
  • remove "text expansion" module and functions
  • remove ExpandableSchema class