pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-soupsieve
Module Name: pkgsrc
Committed By: wiz
Date: Sun Nov 15 22:27:43 UTC 2026
Modified Files:
pkgsrc/www/py-soupsieve: Makefile distinfo
Log Message:
py-soupsieve: update to 4.1.1.
4.1.1
FIX: Improve performance of tag name matching, which runs for every element and selector.
FIX: Fix nth selectors taking polynomial time when nested inside the of S of other nth selectors, such
as :nth-last-child(n of :nth-last-child(n of li)), as each level of nesting multiplied the work by the number
of siblings. nth selectors inside :has() with a subsequent-sibling combinator, such as
:has(~ :nth-child(n of li)), were also quadratic. Each sibling is now evaluated against an nth selector at most
once per parent.
FIX: A range input's value is clamped to its minimum and maximum, 0 and 100 by default, so it now matches
:out-of-range only when its maximum is less than its minimum, and :in-range otherwise, including without min
or max. A range input that is disabled, readonly or in a datalist matches neither.
FIX: :in-range and :out-of-range no longer match an input of any type that is disabled, readonly or in a
datalist, as it is barred from constraint validation.
FIX: :in-range and :out-of-range treat a date, month, week or datetime-local value after
275760-09-13T00:00:00Z as invalid, as browsers do.
FIX: :placeholder-shown sanitizes an input's value before checking it, as browsers do, so it matches when the
value is only line breaks, only whitespace for url and email, or, for number, not a valid floating-point
number or one that overflows a double, such as 1e9999.
FIX: Fix :placeholder-shown taking time quadratic in the depth of the document, as it got the text of every
element before checking that it is a textarea.
4.1
NEW: Soup Sieve is now thread safe, and this is now tested, including on free-threaded Python. This is assuming
read only operations on a document. Check out our documentation for more details.
FIX: Fix a race where compiling selectors in multiple threads at the same time could fail with a bogus
syntax error or silently parse a selector incorrectly.
FIX: Fix issue where trailing whitespace and comments can sometimes fail to be consumed properly.
FIX: Fix a selector that starts with a comment followed by whitespace, such as /* comment */ div, failing
with a syntax error.
FIX: Custom selector names should be checked with ASCII only lowercase.
FIX: Fix [attr=value], [attr$=value], [attr|=value], and [attr!=value] ignoring a trailing newline in
the attribute value, so [type=hidden] no longer matches type="hidden ".
FIX: Cache the language, the contenteditable state, the select of an option, and the tree that an element
is in, as found from its ancestors, when matching :lang(), :read-write, :read-only, :checked, :default,
and :indeterminate to avoid quadratic time on deeply nested documents.
FIX: Fix :lang('') not matching every element without any language information, which per the HTML spec has
an empty language tag. It missed the first such element checked, or all of them when there was no head.
FIX: :lang() no longer matches an element whose language tag is not well-formed BCP 47 syntax, such as -,
en-, en_US, or a subtag longer than 8 characters, and a language range that is not well-formed matches
nothing. Previously, lang="-" matched :lang(''), and ill-formed tags matched :lang('*').
FIX: Fix :lang() ranges that end in a wildcard, such as en-* or *-*, never matching. As RFC 4647 extended
filtering specifies, wildcards after the first subtag are ignored, so en-* matches the same as en.
FIX: Fix [attr*=value] and [attr$=value] taking time quadratic in the length of the value when it nearly
matches a long attribute value, including when matching case insensitive.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-soupsieve/Makefile \
pkgsrc/www/py-soupsieve/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-soupsieve/Makefile
diff -u pkgsrc/www/py-soupsieve/Makefile:1.29 pkgsrc/www/py-soupsieve/Makefile:1.30
--- pkgsrc/www/py-soupsieve/Makefile:1.29 Sun Nov 8 19:17:02 2026
+++ pkgsrc/www/py-soupsieve/Makefile Sun Nov 15 22:27:43 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2026/11/08 19:17:02 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2026/11/15 22:27:43 wiz Exp $
-DISTNAME= soupsieve-4.0.1
+DISTNAME= soupsieve-4.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/soupsieve/}
Index: pkgsrc/www/py-soupsieve/distinfo
diff -u pkgsrc/www/py-soupsieve/distinfo:1.29 pkgsrc/www/py-soupsieve/distinfo:1.30
--- pkgsrc/www/py-soupsieve/distinfo:1.29 Sun Nov 8 19:17:02 2026
+++ pkgsrc/www/py-soupsieve/distinfo Sun Nov 15 22:27:43 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2026/11/08 19:17:02 wiz Exp $
+$NetBSD: distinfo,v 1.30 2026/11/15 22:27:43 wiz Exp $
-BLAKE2s (soupsieve-4.0.1.tar.gz) = e4f8026bedfd102fc375482ca977c1e95690d470fce434f8e553808ab86c87c7
-SHA512 (soupsieve-4.0.1.tar.gz) = c70e187f08f3a3ac7a44a3c6108c51768fe3fdf89e2ea25990c5c33bad8c3084c23fbada153b4c18148f4b82945c1786b730e6ff52ed1d51fe804debbb57f207
-Size (soupsieve-4.0.1.tar.gz) = 153302 bytes
+BLAKE2s (soupsieve-4.1.1.tar.gz) = f0efeb88eb123f301faa581ff449deafd2e8af3830328ebcf924b4e145baca2f
+SHA512 (soupsieve-4.1.1.tar.gz) = 94df14a715bc901a5925f64378ccfa1f505a072fa15f3e86a91cdc1e8aa8bfad608a3a7117020ff04fb669d214dd0210cb2857316e2a1c1b8b0d868032fc8817
+Size (soupsieve-4.1.1.tar.gz) = 169784 bytes
Home |
Main Index |
Thread Index |
Old Index