Skip to content

Commit

Permalink
Version 14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Mar 10, 2019
1 parent ff5066f commit b83783d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Carlos Serrano <carlos.pastor@mailonline.co.uk>
Chad Walker <chad@chad-cat-lore-eddie.com>
Chris Buckley <chris@cmbuckley.co.uk>
Chris Carpita <ccarpita@gmail.com>
Christian Bewernitz <coder@karfau.de>
Christof Marti <chrmarti@microsoft.com>
Christoph Pojer <christoph.pojer@gmail.com>
Christophe Coevoet <stof@notk.org>
Expand Down Expand Up @@ -249,6 +250,7 @@ Timothy Gu <timothygu99@gmail.com>
timu <selamtux@gmail.com>
Tobie <tobie.langel@gmail.com>
Tom Hudson <mail@tomnomnom.com>
Tom Jenkinson <tjenkinson@users.noreply.github.com>
Tom Taylor <tom@tomtaylor.co.uk>
ulteriorlife <ulteriorlife@gmail.com>
Vadim Baryshev <vadimbaryshev@gmail.com>
Expand Down
13 changes: 13 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ Other guidelines:
* Roughly order changes within those groupings by impact.
-->

## 14.0.0

Breaking changes:

* `JSDOM.fragment()` now creates fragments whose document has no [browsing context](https://html.spec.whatwg.org/multipage/#concept-document-bc), i.e. no associated `Window`. This means the `defaultView` property will be null, resources will not load, etc.
* `JSDOM.fragment()`, called with no arguments, now creates a `DocumentFragment` with no children, instead of with a single child text node whose data was `"undefined"`.

Other changes:

* Fixed a regression in v13.2.0 when calling `element.blur()` on a focused element.
* Fixed inserting `<link>` elements into documents with no browsing context to no longer crash if the originating `JSDOM` was configured to fetch the resource. Now, per spec, `<link>` elements only attempt to fetch if they are browsing-context connected.
* Fixed `<template>` elements to have the correct semantics, of using a separate browsing-context-less document to store its contents. In particular this means resources will not be fetched for elements inside the `<template>`, as per spec.

## 13.2.0

* Added support for `MutationObserver`s! (pmdartus)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsdom",
"version": "13.2.0",
"version": "14.0.0",
"description": "A JavaScript implementation of many web standards",
"keywords": [
"dom",
Expand Down

0 comments on commit b83783d

Please sign in to comment.