6017f4fbaa
- update to 2.8.3: * Fix inefficient attribute pattern. * Ensure custom selectors or namespace dictionaries reject non-string keys * Fix handling of :in-range and :out-of-range with end of year weeks * Fix a potential infinite loop in the pretty printing debug function
Dirk Mueller2026-01-27 17:15:27 +00:00
c1143f097f
Accepting request 1327360 from devel:languages:python
Ana Guerrero2026-01-15 15:43:29 +00:00
cd62538c0b
Add upstream htmlparser.patch to adjust for changes in CPython (bsc#1256316)
slfo-main
Markéta Machová
2026-01-08 11:58:26 +01:00
418190a2d6
Accepting request 1324675 from devel:languages:python
Ana Guerrero2025-12-29 14:15:52 +00:00
ec63064cf1
- Update to 2.8.1 * FIX: Changes in tests to accommodate latest Python HTML parser changes.
Markéta Machová2025-12-29 10:17:58 +00:00
0334e33349
Accepting request 1307339 from devel:languages:python
Ana Guerrero2025-09-26 20:23:58 +00:00
25ccac5b24
- Update to 2.8 * Drop support for Python 3.8. * Add support for Python 3.14. * Deploy with PyPI's "Trusted Publisher".
Nico Krapp2025-09-26 09:32:25 +00:00
9e1fbd6976
Accepting request 1293327 from devel:languages:python
Ana Guerrero2025-07-17 15:17:29 +00:00
83e42375ae
- Update to 2.7 * Add :open pseudo selector. * Add :muted pseudo selector. * Recognize the following pseudo selectors: :autofill, :buffering, :fullscreen, :picture-in-picture, :popover-open, :seeking, :stalled, and :volume-locked. These selectors, while recognized, will not match any element as they require a live environment to check element states and browser states. This just prevents Soup Sieve from failing when any of these selectors are specified. * A number of existing pseudo-classes are no longer noted as experimental. * Typing fixes.
Markéta Machová2025-07-15 08:56:12 +00:00
0fa17a0a32
- update to 2.6: * Add official support for Python 3.13. * Add support for & as scoping root per the CSS Nesting Module, Level 1. When & is used outside the * context of nesting, it is treated as the scoping root * Improve error message when an unrecognized pseudo- class is used.
Dirk Mueller2024-10-30 19:50:13 +00:00
be1c227f1b
Accepting request 1158246 from devel:languages:python
Ana Guerrero2024-03-17 21:13:02 +00:00
c249f40c04
Accepting request 1158183 from home:michals:Calibre
Matej Cepl2024-03-15 14:18:59 +00:00
594fbd6e5c
Accepting request 1116658 from devel:languages:python
Ana Guerrero2023-10-11 21:54:00 +00:00
fb697a8ff5
Accepting request 1116651 from home:mimi_vx:branches:devel:languages:python
Markéta Machová2023-10-10 12:12:17 +00:00
5d2201b20b
- update to 2.4.1: * Attribute syntax for case insensitive flag optionally allows a space, it does not require one. * Update to support changes related to :lang() in the official CSS spec. :lang("") should match unspecified * languages, e.g. lang="", but not lang=und. * Only :is() and :where() should allow forgiving selector lists according to latest CSS (as far as Soup * Sieve supports "forgiving" which is limited to empty selectors). * Formally drop Python 3.6. * Formally declare support for Python 3.11.
Dirk Mueller2023-05-04 20:08:02 +00:00
125c482a98
- update to 2.3.2.post1: Fix Documentation for installation from source is outdated. Fix some typos in error messages.
Dirk Mueller2022-10-01 14:35:50 +00:00
5f063acd90
- update to 2.3.1: * Ensure attribute selectors match tags that have new lines characters in attributes
Dirk Mueller2021-11-13 20:46:42 +00:00
152132d985
- update to 2.3: * Officially support Python 3.10. * Add static typing. * :has(), :is(), and :where() now use use a forgiving selector list. * Add support to output a pretty print format of a compiled SelectorList for debug purposes. * Some small corner cases discovered with static typing.
Dirk Mueller2021-11-06 18:02:47 +00:00
62f88065bf
- update to 2.2.0: - **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)
Dirk Mueller2021-03-02 00:27:21 +00:00
8ea04db79b
- update to 2.1.0: - **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.
Dirk Mueller2021-01-28 23:18:44 +00:00
b0379f14bd
- update to 1.9.5: * **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.
Dirk Mueller2019-12-20 19:03:52 +00:00
7ccf80a465
- Update to 1.9.2: * FIX: [attr!=value] pattern was mistakenly using :not([attr|=value]) logic instead of :not([attr=value]). * FIX: Remove undocumented _QUIRKS mode flag
Tomáš Chvátal
2019-09-10 10:13:13 +00:00
4c615e2879
- Update to 1.9.2: * 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.
Tomáš Chvátal
2019-07-22 12:56:27 +00:00