Sourced from soupsieve's releases.
2.9
- NEW: Drop Python 3.9 support.
- NEW: Lazy compile selector patterns to improve initial import speed.
- FIX: Correct
:nth-child/:nth-of-type(and-last-variants) forAn+Bvalues whose sequence steps onto index 0 or onto the last child (e.g.:nth-child(2n-2),:nth-child(n-1),:nth-child(n+5)), which previously matched the wrong elements or nothing at all (@gaoflow).- FIX: More efficient CSS ID matching (
@kaimandalic).- FIX: Fix inefficient trimming of comments and white space (
@kaimandalic).
8763f91
Format changelog messagecf198fc
Fix inefficient trimming of comments and white spacece44e49
Merge commit from fork751c57b
Fix :nth-child/:nth-of-type matching for An+B index boundaries (#297)08e9ede
Drop Python 3.9d6e6830
Rework selector mappingd2d1581
Utilize property for accessing lazy regular expression patternb8701de
Build patterns and regexes lazily in css_parser (#296)