Skip to content

Publish packages 🚀 - #654

Open
shopify-github-actions-access[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

shopify-github-actions-access[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@shopify-github-actions-access

@shopify-github-actions-access shopify-github-actions-access Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@remote-dom/polyfill@1.6.0

Minor Changes

  • #620 4be18ef Thanks @andrewiggins! - Add getElementById() to Document and DocumentFragment, with reflected Element.id properties. Add getElementsByTagName() to Document and Element, supporting HTML, non-HTML, and wildcard descendant searches. querySelector and querySelectorAll accept a pre-parsed Matcher[] in addition to string selectors, with MatcherType, Combinator, Matcher, and Part exported from selectors.ts; getElementById and getElementsByTagName delegate to this shared selector engine instead of independent tree-walk implementations.

    Fixed insertBefore() leaving the previous sibling pointing at the reference node when inserting before a middle child, causing NEXT traversals (including getElementById) to skip the inserted subtree even though childNodes contained it, and return the inserted child as required by the DOM specification. Fixed appendChild() to return the appended child and NodeList.item() to return null for out-of-range indexes. Fixed case-insensitive HTML tag-name matching in the selector engine so querySelector('DIV') now matches <div> per the CSS spec. Fixed CSS-escaping issues so getElementById matches ids containing special characters (., :, #, etc.) literally instead of treating them as selector syntax.

  • #625 ab6c549 Thanks @airhorns! - Add getElementsByClassName() to polyfilled documents and elements.

  • #624 e2a9eef Thanks @airhorns! - Implement the standard MutationObserver methods for child, attribute, and character-data changes in the polyfilled DOM.

  • #652 0789d12 Thanks @olavoasantos! - Add composable Window extensions for installing DOM APIs and subscribing to DOM operations.

Patch Changes

  • #669 dff700b Thanks @olavoasantos! - Dispatch attribute hooks when mutating an attached attribute's value or nodeValue.

  • #679 da43e02 Thanks @olavoasantos! - Correct chained combinators, whitespace, exact attribute equality, and scoped relative :has() selectors, including leading combinators, nested functional pseudo-classes, and ASCII-case-insensitive pseudo-class names.

  • #642 85cefcd Thanks @andrewiggins! - Add the missing CustomElementRegistry.initialize() compatibility method so TypeScript 7 type checks cleanly.

  • #653 a9aee3e Thanks @andrewiggins! - Make the Polyfill source compatible with type stripping by replacing TypeScript enums and a parameter property with erasable syntax.

  • #668 f4af17f Thanks @olavoasantos! - Preserve attribute ownership and linked-list integrity when attributes are reinstalled, replaced, removed, or reused.

  • #664 8de0600 Thanks @olavoasantos! - Correct event dispatch lifecycle state, isolate composed paths, and defer listener registrations added during dispatch.

  • #669 7eb8a18 Thanks @olavoasantos! - Return null from Document.textContent and ignore assignments to preserve the initialized document structure.

  • #669 6ddc71f Thanks @olavoasantos! - Clear parent children without creating an empty text node when assigning an empty textContent value, and finish the complete replacement before running custom-element reactions.

  • #662 e249e3e Thanks @olavoasantos! - Correct event listener identity and AbortSignal handling in the EventTarget polyfill.

  • #663 44e3b36 Thanks @olavoasantos! - Fix event cancellation semantics for preventDefault(), returnValue, and dispatchEvent().

  • #666 072b7e8 Thanks @olavoasantos! - Install missing event methods and error handlers consistently without replacing native global event delivery.

  • #669 fd8e186 Thanks @olavoasantos! - Remove slot attributes without recreating them as empty attributes, keeping local and host state synchronized.

  • #677 a629e25 Thanks @olavoasantos! - Normalize and validate DOM element and attribute names across HTML and namespaced APIs, including toggleAttribute() and custom-element attribute reactions.

  • #623 c3918c6 Thanks @airhorns! - Fix ChildNode.replaceWith() throwing instead of replacing the node

    replaceWith() passed its arguments to replaceChild() in the wrong order — replaceChild(newChild, oldChild) was called as parent.replaceChild(this, node), naming the incoming node as the child to replace. Since that node is usually fresh and has no parent, the reference check rejected it and every call threw reference node is not a child of this parent. It also read the following sibling off the incoming node rather than off this, so the remaining arguments had no correct insertion point to anchor to.

    The method now removes this and inserts the given nodes at its position, in argument order, anchored on the first following sibling that is not itself being moved. Strings become text nodes, calling it with no arguments removes the node (matching remove()), and a node with no parent is still left alone.

  • #714 516fcfa Thanks @olavoasantos! - Resolve Node.isDefaultNamespace() with DOM locate-a-namespace semantics.

  • #669 23ceb4d Thanks @olavoasantos! - Return removed and replaced nodes from removeChild and replaceChild.

  • #679 5466415 Thanks @olavoasantos! - Return a NodeList-compatible collection from querySelectorAll().

  • #669 d916fab Thanks @olavoasantos! - Queue custom-element reactions so compound tree and attribute mutations commit their local state and Remote DOM hooks before callbacks run. Drain nested reactions in FIFO order, and finish the queue before rethrowing the first callback error.

  • #669 4b8bae9 Thanks @olavoasantos! - Traverse wide and deep trees without overflowing the call stack during text collection, selector queries, and subtree connectivity updates. Prepare insertion snapshots transactionally before committing links, connectivity, hooks, and reactions so traversal failures preserve local and remote tree state. Capture lifecycle reactions in mutation order before emitting reentrant tree-mutation hook effects through a FIFO queue.

  • #676 6b42b09 Thanks @olavoasantos! - Make CustomElementRegistry.define() reject invalid custom element names and duplicate name or constructor registrations, matching browser behavior.

  • #660 685dff1 Thanks @andrewiggins! - Correct class selector whitespace parsing and return polyfilled NodeList collections from selector queries.

  • #667 cdfd5dd Thanks @olavoasantos! - Validate tree insertions and replacements before changing node links so invalid ancestor, template-content cycle, and reference-node mutations preserve the existing trees. Treat inserting a node before itself as a no-op and safely replace a child with its next sibling.

@remote-dom/core@1.11.2

Patch Changes

example-custom-element@0.0.27

Patch Changes

  • Updated dependencies [8d02d40]:
    • @remote-dom/core@1.11.2

example-getting-started@0.0.27

Patch Changes

  • Updated dependencies [8d02d40]:
    • @remote-dom/core@1.11.2

example-kitchen-sink@0.0.34

Patch Changes

  • Updated dependencies [8d02d40]:
    • @remote-dom/core@1.11.2

@shopify-github-actions-access
shopify-github-actions-access Bot force-pushed the changeset-release/main branch 7 times, most recently from b564eab to 5036654 Compare September 3, 2026 20:42
@shopify-github-actions-access
shopify-github-actions-access Bot force-pushed the changeset-release/main branch 15 times, most recently from a529808 to a566689 Compare September 17, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants