Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2025

This PR contains the following updates:

Package Change Age Confidence
happy-dom ^16.1.0 -> ^19.0.0 age confidence

Release Notes

capricorn86/happy-dom (happy-dom)

v19.0.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue related to CSS pseudo selector :scope that didn't work correctly for direct descendants to root - By @​capricorn86 in task #​1620

v19.0.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v19.0.0

Compare Source

πŸ’£ Breaking Changes
  • Removes support for CommonJS - By @​capricorn86 in task #​1730
    • Support for CommonJS is no longer needed as Node.js v18 is deprecated and v20 and above supports loading ES modules from CommonJS using require()
  • Updates Jest to v30 in the @happy-dom/jest-environment package - By @​capricorn86 in task #​1730
  • Makes Jest packages peer dependencies to make it easier to align versions with the project using @happy-dom/jest-environment - By @​capricorn86 in task #​1730
🎨 Features
πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes a bug in the ESM compiler that caused it to fail to parse certain code - By @​capricorn86 in task #​1730
  • Disables the same origin policy when navigating a browser frame using BrowserFrame.goto() - By @​capricorn86 in task #​1730
  • Fixes bug where CSS selectors with the pseudos "+" and ">" failed for selectors without arguments - By @​capricorn86 in task #​1730
  • Adds try and catch to listeners for events dispatched from XMLHttpRequest to prevent it from being set to an invalid state if a listener throws an Error - By @​capricorn86 in task #​1730

v18.0.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Addresses an issue where an error occurred if the Element ID was set to the same name as a Window property with a null value - By @​capricorn86 in task #​1841

v18.0.0

Compare Source

πŸ’£ Breaking Changes
  • Makes the types for Happy DOM strict - By @​capricorn86 in task #​1154
    • This makes it possible to use the option skipLibCheck set to "false" in the typescript configuration for projects with a strict configuration
    • This change has resulted in that some types has changed and is therefore considered as a breaking change
  • BrowserContext.close() now throws an error when trying to close the default context of a browser - By @​capricorn86 in task #​1154
🎨 Features

v17.6.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.6.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.6.1

Compare Source

🎨 Features
  • Adds support for disabling validation of certificates, to allow for self-signed certificates to be used - By @​capricorn86 in task #​1763
    • Read more about the new setting fetch.disableStrictSSL under IBrowserSettings in the Wiki

v17.6.0

Compare Source

v17.5.9

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Adds missing null check in HTMLLinkElement for a browser frame property that becomes null during teardown of a Window - By @​capricorn86 in task #​1800

v17.5.8

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.5.7

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.5.6

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Removes the min and max boundary check when setting the value of an input field of type "date" - By @​zgrybus in task #​1815

v17.5.5

Compare Source

v17.5.4

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.5.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Adds previousSibling and nextSibling to MutationObserver records when a child is removed - By @​uxuip in task #​1803

v17.5.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Adds support for the unicode characters Β« and Β» in query selectors used by the React 19.1 "useId" hook - By @​terrymun in task #​1785

v17.5.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.5.0

Compare Source

🎨 Features

v17.4.9

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.4.8

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.4.7

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.4.6

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.4.5

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.4.4

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Sets 0 instead of undefined as default in setTimeout() to prevent Bun from logging a "TimeoutNaNWarning" - By @​lekoala in task #​1772

v17.4.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where the wrong scope was used when settings.errorCapture is not set to "tryAndCatch" and handleEvent is used for the event listener - By @​capricorn86 in task #​1766

v17.4.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.4.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where an error was thrown for attributes "xlink" or an unknown prefix during parsing of HTML - By @​capricorn86 in task #​1750

v17.4.0

Compare Source

🎨 Features

v17.3.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.3.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where an error was thrown for attributes with "xmlns" as prefix during parsing of HTML (e.g. <svg xmlns:link=""></svg>) - By @​capricorn86 in task #​1750

v17.3.0

Compare Source

🎨 Features

v17.2.4

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.2.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.2.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.2.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.2.0

Compare Source

🎨 Features

v17.1.13

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.12

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.11

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.10

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.9

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Event listener properties prefixed with "on" should be the evaluated value of the corresponding attribute - By @​capricorn86 in task #​474

v17.1.8

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.7

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.6

Compare Source

🎨 Features

v17.1.5

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.4

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes incorrect handling of attribute prefixes when iterating NamedNodeMap - By @​capricorn86 in task #​1728
    • This caused attribute names to be incorrectly returned in Element.getAttributeNames() when attributes where using prefixes

v17.1.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.1.1

Compare Source

🎨 Features
πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where it was not possible to nest @media, @supports and @container rules - By @​capricorn86 in task #​1727
  • Fixes issue where CSSStyleSheet was instantiated internally without a Window context, causing errors to not be thrown correctly in CSSStyleSheet methods - By @​capricorn86 in task #​1727
  • Changes errors thrown in CSSStyleSheet methods, so that they work according to spec - By @​capricorn86 in task #​1727

v17.1.0

Compare Source

🎨 Features

v17.0.4

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.0.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes bug where nested query selectors is not returning the correct result when there are multiple matching selector groups - By **@​christiango ** in task #​1720

v17.0.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • The property "tabIndex" should return "0" by default in HTMLAnchorElement, HTMLAreaElement, HTMLButtonElement, HTMLIFrameElement, HTMLInputElement, HTMLMediaElement, HTMLObjectElement, HTMLSelectElement and HTMLTextAreaElement - By @​capricorn86 in task #​1714

v17.0.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v17.0.0

Compare Source

πŸ’£ Breaking Changes
  • Adds support for ECMAScript modules - By @​capricorn86 in task #​320
    • This change allows the use of import and export statements in JavaScript files
🎨 Features
πŸ‘·β€β™‚οΈ Patch fixes
  • Call afterAsyncResponse fetch interceptor in virtual server requests - By @​capricorn86 in task #​320
  • Fixes bug where children in a ShadowRoot of a custom element that was upgraded from a HTMLElement wasn't considered connected to the DOM - By @​capricorn86 in task #​320

v16.8.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.8.0

Compare Source

🎨 Features

v16.7.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.7.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.7.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.7.0

Compare Source

🎨 Features
  • Adds support for simulating local HTTP servers that serves files from the local file system - By @​capricorn86 in task #​1688
    • Read more about virtual servers in the Wiki

v16.6.0

Compare Source

🎨 Features
  • Adds support for subsequent sibling combinator to querySelector(), querySelectorAll() and matches() (e.g. ".a ~ .b") - By @​karpiuMG in task #​1683

v16.5.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.5.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.5.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where Comment, Text and DocumentFragment are not instances of their corresponding property on Window - By @​capricorn86 in task #​1577

v16.5.0

Compare Source

🎨 Features

v16.4.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.4.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.4.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where HTML assigned to document.documentElement.innerHTML isnt parsed correctly since v16 - By @​capricorn86 in task #​1663

v16.4.0

Compare Source

🎨 Features

v16.3.0

Compare Source

🎨 Features

v16.2.9

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes the HTMLInputElement.defaultChecked property - By @​capricorn86 in task #​1587
    • This issue caused React not to serialize the "checked" attribute correctly

v16.2.8

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes issue where the wrong event target was used when dispatching events on HTMLFormElement or HTMLSelectElement - By @​capricorn86 in task #​1628

v16.2.7

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.2.6

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.2.5

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes bug where the reference to a parent HTMLFormElement and HTMLSelectElement was wrong which affected the methods remove(), replaceWith(), before(), after(), append(), prepend(), replaceChildren() and insertAdjacentElement() - By @​capricorn86 in task #​1637

v16.2.4

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes
  • Fixes bug where the incorrect location is set after a redirect in BrowserFrame.goto() and DetachedBrowserFrame.goto() - By @​capricorn86 in task #​1627

v16.2.3

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.2.2

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.2.1

Compare Source

πŸ‘·β€β™‚οΈ Patch fixes

v16.2.0

Compare Source

🎨 Features

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-happy-dom-monorepo branch from ce80e74 to 8184bad Compare October 2, 2025 14:49
Copy link

github-actions bot commented Oct 2, 2025

size-limit report πŸ“¦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/index.js 587 B (0%) 12 ms (0%) 9 ms (+106.98% πŸ”Ί) 20 ms

@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 10.63%. Comparing base (e5a8459) to head (8c840fd).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1293   +/-   ##
=======================================
  Coverage   10.63%   10.63%           
=======================================
  Files          57       57           
  Lines        1984     1984           
  Branches       24       24           
=======================================
  Hits          211      211           
  Misses       1773     1773           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/major-happy-dom-monorepo branch from 8184bad to 8c840fd Compare October 2, 2025 15:49
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.

1 participant