- **NEW**: `:link` and `:any-link` no longer include `#!html <link>` due to a
change in the level 4 selector specification. This actually yields more
sane results.
- **FIX**: BeautifulSoup, when using `find`, is quite forgiving of odd types
that a user may place in an element's attribute value. Soup Sieve will also
now be more forgiving and attempt to match these unexpected values in a sane
manner by normalizing them before compare. (#212)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=24
- **NEW**: Officially support Python 3.9.
- **NEW**: Drop official support for Python 3.5.
- **NEW**: In order to avoid conflicts with future CSS specification changes,
non-standard pseudo classes will now start with the `:-soup-` prefix. As a
consequence, `:contains()` will now be known as `:-soup-contains()`, though
for a time the deprecated form of `:contains()` will still be allowed with
a warning that users should migrate over to
`:-soup-contains()`.
- **NEW**: Added new non-standard pseudo class `:-soup-contains-own()` which
operates similar to `:-soup-contains()` except that it only looks at text
nodes directly associated with the currently scoped element and not its
descendants.
- **FIX**: Import `bs4` globally instead of in local functions as it appears
there are no adverse affects due to circular imports as `bs4` does not
immediately reference `soupsieve` functions and `soupsieve` does not
immediately reference `bs4` functions. This should give a performance
boost to functions that had previously included `bs4` locally.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=22
- version update to 2.0
- **NEW**: `SelectorSyntaxError` is derived from `Exception` not `SyntaxError`.
- **NEW**: Remove deprecated `comments` and `icomments` from the API.
- **NEW**: Drop support for EOL Python versions (Python 2 and Python < 3.5).
- **FIX**: Corner case with splitting namespace and tag name that that have an escaped `|`.
- **FIX**: `:placeholder-shown` should not match if the element has content that overrides the placeholder.
OBS-URL: https://build.opensuse.org/request/show/785948
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=17
* **FIX**: `:placeholder-shown` should not match if the element has content
that overrides the pl aceholder.
* **FIX**: `:checked` rule was too strict with `option` elements. The
specification for `:checked ` does not require an `option` element to be under
a `select` element.
* **FIX**: Fix level 4 `:lang()` wildcard match handling with singletons.
Implicit wildcard match ing should not match any singleton. Explicit wildcard
matching (`*` in the language range: `*-US`) is allowed to match singletons.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=14
* FIX: Shortcut last descendant calculation if possible for performance.
* FIX: Fix issue where Doctype strings can be mistaken for a normal text node in some cases.
* FIX: A top level tag is not a :root tag if it has sibling text nodes or tag nodes. This is an issue that mostly manifests when using html.parser as the parser will allow multiple root nodes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=10
- version update to 1.9.1
- FIX: `:root`, `:contains()`, `:default`, `:indeterminate`,
`:lang()`, and `:dir()` will properly account for HTML
`iframe` elements in their logic when selecting or matching
an element. Their logic will be restricted to the document
for which the element under consideration applies.
- FIX: HTML pseudo-classes will check that all key elements
checked are in the XHTML namespace (HTML parsers that do
not provide namespaces will assume the XHTML namespace).
- FIX: Ensure that all pseudo-class names are case
insensitive and allow CSS escapes.
OBS-URL: https://build.opensuse.org/request/show/704174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=8
- version update to 1.9
* NEW: Allow :contains() to accept a list of text to search
for. (#115)
* NEW: Add new escape function for escaping CSS identifiers. (#125)
* NEW: Deprecate comments and icomments functions in the API to ensure
Soup Sieve focuses only in CSS selectors. comments and icomments
will most likely be removed in 2.0. (#130)
* NEW: Add Python 3.8 support. (#133)
* FIX: Don't install test files when installing the soupsieve
package. (#111)
* FIX: Improve efficiency of :contains() comparison.
* FIX: Null characters should translate to the Unicode REPLACEMENT
CHARACTER (U+FFFD) according to the specification. This applies
to CSS escaped NULL characters as well. (#124)
* FIX: Escaped EOF should translate to U+FFFD outside of CSS strings.
In a string, they should just be ignored, but as there is no case
where we could resolve such a string and still have a valid selector,
string handling remains the same. (#128)
OBS-URL: https://build.opensuse.org/request/show/691731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=6