Closed renovate[bot] closed 10 months ago
Latest commit: 047963ddd3116cf37f4803abcfeb4bc389ff814f
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
10.5.3
->12.10.3
Release Notes
capricorn86/happy-dom (happy-dom)
### [`v12.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.2...v12.10.3) ##### :construction_worker_man: Patch fixes - Fix for week being wrong sometimes as it is not calculated as UTC in `HTMLInputElement.valueAsDate()`. ([#1144](https://togithub.com/capricorn86/happy-dom/issues/1144)) *** Thank you [@IGx89](https://togithub.com/IGx89) for your contribution! ### [`v12.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.1...v12.10.2) ##### :construction_worker_man: Patch fixes - `Element.cloneNode()` should not clone scroll properties. ([#1148](https://togithub.com/capricorn86/happy-dom/issues/1148)) ### [`v12.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.0...v12.10.1) ##### :construction_worker_man: Patch fixes - Fixes wrong callback parameter order of "key" and "value" in `FormData.forEach()`. ([#1136](https://togithub.com/capricorn86/happy-dom/issues/1136)) *** Thank you [@armandabric](https://togithub.com/armandabric) for your contribution! ### [`v12.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.9.2...v12.10.0) ##### :art: Features - Adds support for `Navigator.sendBeacon()`. ([#309](https://togithub.com/capricorn86/happy-dom/issues/309)) - Adds support for the property `Window.CSSStyleDeclaration`. ([#309](https://togithub.com/capricorn86/happy-dom/issues/309)) ### [`v12.9.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.9.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.9.1...v12.9.2) ##### :construction_worker_man: Patch fixes - Fixes Node 18.18.2+ support in `@happy-dom/global-registrator` by not binding classes to the global object. ([#1140](https://togithub.com/capricorn86/happy-dom/issues/1140)) *** Thank you [@IGx89](https://togithub.com/IGx89) for your contribution! ### [`v12.9.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.9.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.9.0...v12.9.1) ##### :construction_worker_man: Patch fixes - Fixes typo in documentation. ([#1123](https://togithub.com/capricorn86/happy-dom/issues/1123)) *** Thank you [@goring](https://togithub.com/goring) for your contribution! ### [`v12.9.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.9.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.8.1...v12.9.0) ##### :art: Features - Improves performance of the async task manager. This will improve performance of timers in general as they have less logic executed related to the async task manager. ([#1114](https://togithub.com/capricorn86/happy-dom/issues/1114)) ### [`v12.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.8.0...v12.8.1) ##### :construction_worker_man: Patch fixes - Adds missing second parameter in callbacks from `MutationObserver`. ([#1113](https://togithub.com/capricorn86/happy-dom/issues/1113)) *** Thank you [@wojtekmaj](https://togithub.com/wojtekmaj) for your contribution! ### [`v12.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.7.0...v12.8.0) ##### :art: Features - Adds support for `Clipboard`, `ClipboardItem`, `Permissions` and `PermissionStatus`, which are used by the `Window.navigator.clipboard` and `Window.navigator.permissions` properties. ([#833](https://togithub.com/capricorn86/happy-dom/issues/833)) - Adds support for `ClipboardEvent`. ([#833](https://togithub.com/capricorn86/happy-dom/issues/833)) - Improves support for `DataTransfer`, `DataTransferItemList` and `DataTransferItem`. ([#833](https://togithub.com/capricorn86/happy-dom/issues/833)) - Adds `MutationRecord` class to `Window` as a property. ([#1112](https://togithub.com/capricorn86/happy-dom/issues/1112)) ##### :construction_worker_man: Patch fixes - Restores `HTMLInputElement.checked` state when `Event.preventDefault()` is called on a dispatched "click" event. ### [`v12.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.6.0...v12.7.0) ##### :art: Features - Adds support for `Element.scrollWidth`. ([#1109](https://togithub.com/capricorn86/happy-dom/issues/1109)) ### [`v12.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.5.1...v12.6.0) ##### :art: Features - Adds support for dispatching a click event on the control element when clicking on a label. ([#1023](https://togithub.com/capricorn86/happy-dom/issues/1023)) ### [`v12.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.5.0...v12.5.1) ##### :art: Features - Adds support for `DocumentFragment` as a constructor (e.g. `new DocumentFragment()`). ([#940](https://togithub.com/capricorn86/happy-dom/issues/940)) ##### :construction_worker_man: Patch fixes - Fixes issue related to `ownerDocument` being null when executing `ownerDocument.createElement()` in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 uses `DocumentFragment` as a constructor which was not supported. ([#940](https://togithub.com/capricorn86/happy-dom/issues/940)) ### [`v12.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.4.0...v12.5.0) ##### :art: Features - Add `FocusEvent.relatedTarget` to blur and focus events. ([#1094](https://togithub.com/capricorn86/happy-dom/issues/1094)) *** Thank you [@artursvonda](https://togithub.com/artursvonda) for your contribution! ### [`v12.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.3.0...v12.4.0) ##### :art: Features - Add support for `Document.currentScript`. ([#1099](https://togithub.com/capricorn86/happy-dom/issues/1099)) *** Thank you [@ckhampus](https://togithub.com/ckhampus) for your contribution! ### [`v12.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.2.2...v12.3.0) ##### :art: Features - Uses `vm.Script` for setting globals instead of a string to improve performance. ([#1102](https://togithub.com/capricorn86/happy-dom/issues/1102)) ##### :construction_worker_man: Patch fixes - Improves logic in `Window.happyDOM.whenAsyncComplete()`. ([#1102](https://togithub.com/capricorn86/happy-dom/issues/1102)) ### [`v12.2.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.2.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.2.1...v12.2.2) ##### :construction_worker_man: Patch fixes - Makes `PointerEvent` implementation more specification compliant. ([#1092](https://togithub.com/capricorn86/happy-dom/issues/1092)) *** Thank you [@tkrotoff](https://togithub.com/tkrotoff) for your contribution! ### [`v12.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.2.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.2.0...v12.2.1) ##### :construction_worker_man: Patch fixes - Adds support for `Symbol.toStringTag` to `EventTarget` and `AbortSignal`. ([#1097](https://togithub.com/capricorn86/happy-dom/issues/1097)) *** Thank you [@Afsoon](https://togithub.com/Afsoon) for your contribution! ### [`v12.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.7...v12.2.0) ##### :art: Features - Adds support for `HTMLElement.clientLeft` and `HTMLElement.clientTop`. ([#1089](https://togithub.com/capricorn86/happy-dom/issues/1089)) *** Thank you [@konomae](https://togithub.com/konomae) for your contribution! ### [`v12.1.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.6...v12.1.7) ##### :construction_worker_man: Patch fixes - Makes `NamedNodeMap.removeNamedItem()` throw an exception on missing item. ([#652](https://togithub.com/capricorn86/happy-dom/issues/652)) - Allow deletion of nonexistent keys from `HTMLElement.dataset`. Deleting a nonexistent key in a dataset will not throw an exception, even though it indirectly is using `NamedNodeMap.removeNamedItem()`. ([#652](https://togithub.com/capricorn86/happy-dom/issues/652)) *** Thank you [@RussianCow](https://togithub.com/RussianCow) for your contribution! ### [`v12.1.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.5...v12.1.6) ##### :construction_worker_man: Patch fixes - Fixes bug in `URL.createObjectURL()` where it did not support the Happy DOM `Blob` object. ([#847](https://togithub.com/capricorn86/happy-dom/issues/847)) - Makes sure that HTMLUnknownElement is disconnected from its parent when replaced by a custom element. ([#1087](https://togithub.com/capricorn86/happy-dom/issues/1087)) ### [`v12.1.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.4...v12.1.5) ##### :construction_worker_man: Patch fixes - Fixes issue related to functions not being bound to global when using `GlobalRegistrator` from [@happy-dom/global-registrator](https://togithub.com/capricorn86/happy-dom/tree/master/packages/global-registrator). ([#1082](https://togithub.com/capricorn86/happy-dom/issues/1082)) ### [`v12.1.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.3...v12.1.4) ##### :construction_worker_man: Patch fixes - Fixes issue related to `global.window` not referring to global when using `GlobalRegistrator` from [@happy-dom/global-registrator](https://togithub.com/capricorn86/happy-dom/tree/master/packages/global-registrator). ([#1049](https://togithub.com/capricorn86/happy-dom/issues/1049)) ### [`v12.1.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.2...v12.1.3) ##### :construction_worker_man: Patch fixes - Allows global properties to be overwritten when using `GlobalRegistrator` from [@happy-dom/global-registrator](https://togithub.com/capricorn86/happy-dom/tree/master/packages/global-registrator), as some global properties may behave different from the Happy DOM implementation. The properties will be restored when unregistering. ([#1049](https://togithub.com/capricorn86/happy-dom/issues/1049)) ### [`v12.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.1...v12.1.2) ##### :construction_worker_man: Patch fixes - Adds support for `Document.referrer`. ([#653](https://togithub.com/capricorn86/happy-dom/issues/653)) ### [`v12.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.0...v12.1.1) ##### :construction_worker_man: Patch fixes - Fixes issue related to wrong computed style for "display" being return for HTMLDialogElement when it is open. It returned `display: none`, but should return `display: block`. This caused testing-library to not return the element when using `getByRole('dialog')`. ([#802](https://togithub.com/capricorn86/happy-dom/issues/802)) ### [`v12.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.0.1...v12.1.0) ##### :art: Features - Adds support for a new setting called [disableErrorCapturing](https://togithub.com/capricorn86/happy-dom/wiki/Settings#available-settings). Happy DOM will by default try to catch errors in functionality such as scripts, timers and event listeners. This setting makes it possible it to disable this behavior. ([#1073](https://togithub.com/capricorn86/happy-dom/issues/1073)) ### [`v12.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.0.0...v12.0.1) ##### :construction_worker_man: Patch fixes - Fixes "\__dirname not defined" error when using ESM. The error was introduced in [v12.0.0](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.0). ([#1069](https://togithub.com/capricorn86/happy-dom/issues/1069)) *** Thank you [@ekwoka](https://togithub.com/ekwoka) for collaborating on a fix! ### [`v12.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.2.0...v12.0.0) ##### :bomb: Breaking Changes - Changes the default user agent. The default user agent will now be `Mozilla/5.0 (X11; {process.platform} {process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/{packageVersion}`. ([#1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) ##### :art: Features - It is now possible to pass user agent as an option to the `Window` constructor or by setting `Window.happyDOM.settings.navigator.userAgent`. ([#1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) - React will no longer output the message `Download the React DevTools for a better development experience` to the console when using the default user agent. It was previously detected as a supported browser. ([#1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) ### [`v11.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.2...v11.2.0) ##### :art: Features - Adds support for `Window.crypto`. ([#1050](https://togithub.com/capricorn86/happy-dom/issues/1050)) *** Thank you [@Ayc0](https://togithub.com/Ayc0) for your contribution! ### [`v11.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.1...v11.1.2) ##### :construction_worker_man: Patch fixes - Only dispatch "close" event in `HTMLDialogElement.close()` when dialog was open. ([#1064](https://togithub.com/capricorn86/happy-dom/issues/1064)) *** Thank you [@Schleuse](https://togithub.com/Schleuse) for your contribution! ### [`v11.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.0...v11.1.1) ##### :construction_worker_man: Patch fixes - Adds support for the mime type "image/svg+xml" to `DOMParser.parseFromString()`. It will no longer add HTML tags when parsing SVGs. ([#1040](https://togithub.com/capricorn86/happy-dom/issues/1040)) *** Thank you [@drtimwright](https://togithub.com/drtimwright) for your contribution! ### [`v11.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.6...v11.1.0) ##### :art: Features - Add support for handling the `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.
This PR has been generated by Mend Renovate. View repository job log here.