Skip to content

Release 9.10.4-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@thet thet released this 24 Dec 11:09

9.10.4-alpha.1 (2025-12-24)

Features

  • core dom: Introduce to_element_array. (f08b83f)

    This method can be passed a single object, a NodeList or an array and
    will return an array, filtered for DOM elements.

Bug Fixes

  • pat-inject: Fix broken scrolling after injection. (446cf06)

    This fixes a problem where scrolling wasn't working after injection
    anymore when the injection result is multiple nodes and not a single
    one.

Technical Changes

  • code dom: Rename toNodeArray to to_node_array, keeping the old name for BBB. (ab78058)

    This is done to align the names according the naming conventions in
    Patternslib. Also, this is not a breaking change, as toNodeArray is now
    nowhere used (we're using to_element_array instead) and we kept the old
    name as alias for backwards compatibility.

  • core dom: querySelectorAllAndMe - Define the order of results. (5063f50)

    Return the results in the order of the matching root elements, extended
    their matching containing elements.
    Note: not a breaking change, as the support for multiple root nodes was
    added in this release.

  • core dom: querySelectorAllAndMe - Support multiple root nodes. (ba8ee80)

    querySelectorAllAndMe supports now multiple root nodes. All of them are searched for a selector match.

  • core dom: toNodeArray - filter for instances of Node only. (5de555b)

Maintenance

  • core utils: hideOrShow - filter for dom elements. (c20c58a)

    Use dom.to_element_array instead of dom.toNodeArray to filter for DOM
    elements instead of nodes.