- Added the
include_universal
argument to :meth:`.URLMatcher.match` and :meth:`.URLMatcher.match_all`. It can be set toFalse
to skip universal matchers. - Added the :meth:`.URLMatcher.match_universal` method that returns only identifiers of universal matchers.
- Added
.readthedocs.yml
.
- Added official support for Python 3.12.
- Added the :meth:`.URLMatcher.match_all` method that returns all matching identifiers.
- Adding a :class:`~.Patterns` instance with several patterns for the same domain to a :class:`~.URLMatcher` no longer creates multiple identical :class:`~.matcher.PatternsMatcher` instances.
- CI improvements.
- Drop Python 3.7 support, make Python 3.11 support official.
- Support tldextract >= 3.6, make the requirement of tldextract >= 1.2 explicit.
- Update :class:`~.Patterns` to be frozen so instances can easily be deduped based on its hash uniqueness.
- Remove Python 3.6 support
- Initial release