capricorn86/happy-dom
### [`v3.1.0`](https://togithub.com/capricorn86/happy-dom/releases/v3.1.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v3.0.0...v3.1.0)
##### :art: Features
- Adds support for Window.getSelection(). ([#457](https://togithub.com/capricorn86/happy-dom/issues/457))
### [`v3.0.0`](https://togithub.com/capricorn86/happy-dom/releases/v3.0.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v2.55.0...v3.0.0)
##### :bomb: Breaking Changes
- Changes target language from ES5 to ES2020 (CommonJS will still be used as module system). ([#454](https://togithub.com/capricorn86/happy-dom/issues/454))
##### :art: Features
- Makes the Window instance a VM context. ([#454](https://togithub.com/capricorn86/happy-dom/issues/454))
- Adds support for a new window called GlobalWindow, that will run in the global context. ([#454](https://togithub.com/capricorn86/happy-dom/issues/454))
##### :construction_worker_man: Patch fixes
- Solves general problems with globals (Array, Object etc.) inside a VM by contextifying the Window when it is created. ([#454](https://togithub.com/capricorn86/happy-dom/issues/454))
##### Migration from v2.x.x to v3.0.0
- You may have to transpile Happy DOM to ES5 if the rest of your code is executed using ES5.
- You no longer have to execute `VM.createContext(window)` as the default Window class is already a [VM context](https://nodejs.org/api/vm.html#vm_vm_createcontext_sandbox_options). However, it is not necessary to do this change as the createContext() will just ignore already contextified objects.
Configuration
📅 Schedule: 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, click this checkbox.
This PR contains the following updates:
2.55.0
->3.1.0
Release Notes
capricorn86/happy-dom
### [`v3.1.0`](https://togithub.com/capricorn86/happy-dom/releases/v3.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v3.0.0...v3.1.0) ##### :art: Features - Adds support for Window.getSelection(). ([#457](https://togithub.com/capricorn86/happy-dom/issues/457)) ### [`v3.0.0`](https://togithub.com/capricorn86/happy-dom/releases/v3.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v2.55.0...v3.0.0) ##### :bomb: Breaking Changes - Changes target language from ES5 to ES2020 (CommonJS will still be used as module system). ([#454](https://togithub.com/capricorn86/happy-dom/issues/454)) ##### :art: Features - Makes the Window instance a VM context. ([#454](https://togithub.com/capricorn86/happy-dom/issues/454)) - Adds support for a new window called GlobalWindow, that will run in the global context. ([#454](https://togithub.com/capricorn86/happy-dom/issues/454)) ##### :construction_worker_man: Patch fixes - Solves general problems with globals (Array, Object etc.) inside a VM by contextifying the Window when it is created. ([#454](https://togithub.com/capricorn86/happy-dom/issues/454)) ##### Migration from v2.x.x to v3.0.0 - You may have to transpile Happy DOM to ES5 if the rest of your code is executed using ES5. - You no longer have to execute `VM.createContext(window)` as the default Window class is already a [VM context](https://nodejs.org/api/vm.html#vm_vm_createcontext_sandbox_options). However, it is not necessary to do this change as the createContext() will just ignore already contextified objects.Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.