Repository navigation
Comparing changes
Open a pull request
base repository: facelessuser/soupsieve
base: 3.0.3
head repository: facelessuser/soupsieve
compare: 3.0.4
- 10 commits
- 11 files changed
- 5 contributors
Commits on Oct 17, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b409c8f - Browse repository at this point
Copy the full SHA b409c8fView commit details -
Fix
autohandling in regard to:dir()selectorWhen an element with `dir="auto"`` (or a `<bdi>``) contains no strong direction characters, it should be assumed as left-to-right and not assume the direction of the parent.
Configuration menu - View commit details
-
Copy full SHA for fda16a7 - Browse repository at this point
Copy the full SHA fda16a7View commit details -
Cache resolved direction in :dir() matching (#318)
Each element matched against :dir() walked its ancestors to resolve direction, so nested dir="auto" elements were quadratic. Cache the resolved direction for every element visited on the walk. Co-authored-by: Isaac Muse <faceless.shop@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ede019a - Browse repository at this point
Copy the full SHA ede019aView commit details
Commits on Oct 19, 2026
-
Fix
:nth-last-child(an+b of S)when the first element checked does ……not match `S` (#320) When the first element checked in a parent fails `S`, the reverse count stopped at that element and the cached count left it out. Later siblings unwound from the cache one position short and matched the wrong elements. Count that element in the cached value, as is done when it matches `S`. Compared to 2.9.1, 2.10 and later returned the wrong result for `li:nth-last-child(1 of .x)` on an `li` list whose first item has no `x`. The new test runs with and without `NOCACHE`.
Configuration menu - View commit details
-
Copy full SHA for 395c2bc - Browse repository at this point
Copy the full SHA 395c2bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b3b195 - Browse repository at this point
Copy the full SHA 1b3b195View commit details -
Fix
:in-rangeand:out-of-rangeforweekinputs with a week-yea……r of 10000 or more (#322) `validate_week()` finds the last week of a year with `datetime`, which stops at year 9999. A `week` input with a week-year of 10000 or more made `:in-range` and `:out-of-range` raise `ValueError`. The calendar repeats every 400 years, a whole number of weeks, so use the matching year from 2000 to 2399, as `calendar.weekday()` does. The result is the same for years 1 to 9999.
Configuration menu - View commit details
-
Copy full SHA for 4510837 - Browse repository at this point
Copy the full SHA 4510837View commit details -
Fix mixed own and descendant text matching (#319)
* Fix mixed contains text scopes --------- Co-authored-by: Isaac Muse <faceless.shop@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 084e370 - Browse repository at this point
Copy the full SHA 084e370View commit details
Commits on Oct 20, 2026
-
Fix
:in-rangeand:out-of-rangefortimeanddatetime-localv……alues with seconds (#323) `RE_TIME` and `RE_DATETIME` only accepted `HH:MM`, but a valid time string may also carry seconds and up to three fraction digits. A value such as `12:30:15` was treated as invalid and so never out of range, and a `min` or `max` with seconds was dropped as if it were missing. Accept the optional seconds part, check it is below 60, and keep it as the last item of the parsed tuple so `18:45` and `18:45:00` still compare equal. Releases from 1.7, where these selectors were added, through 3.0.3 return the wrong result for a `time` input with `min="09:00"`, `max="11:00"` and `value="12:30:15"`.
Configuration menu - View commit details
-
Copy full SHA for b0de0e6 - Browse repository at this point
Copy the full SHA b0de0e6View commit details
Commits on Oct 22, 2026
-
Configuration menu - View commit details
-
Copy full SHA for d2731cb - Browse repository at this point
Copy the full SHA d2731cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 628ec6b - Browse repository at this point
Copy the full SHA 628ec6bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.0.3...3.0.4