Releases: mscarey/anchorpoint
Releases · mscarey/anchorpoint
v0.8.2
v0.8.1
v0.8.0
0.6.0
- TextPositionSelector no longer inherits from Range
- TextPositionSet no longer inherits from RangeSet
- TextPositionSelector no longer has real_start and real_end that can differ from start and end
- Selectors and TextPositionSets are Pydantic models
- remove Marshmallow schemas
- update type annotations for TextPositionSelector.from_range
- add TestQuoteSelector.as_unique_position method
- TextPositionSet can include TextQuoteSelectors
- add convert_quotes_to_positions method to TextPositionSet
- replace
TextPositionSet.selectors
field withpositions
andquotes
- change
as_quote_selector
method toas_quote
- TextPositionSet.add_margin includes quotes
- fix bug: subtracting int from selector set caused quotes to be lost
- add ge and gt methods for TextPositionSelector
- add Selecting Text with Anchorpoint guide
0.5.0
0.4.4
- provide "missing" instead of "optional" argument for marshmallow schema
- add TextPositionSetFactory.from_exact_strings
- SelectorSchema.expand_anchor_shorthand takes only a string argument
- TextPositionSetFactory.from_selection will accept a Sequence of mixed types
v0.4.0
0.3.1
0.3.0
0.2.0
- Lets TextPositionSelector inherit from Range, based on python-ranges.