@wordpress/dom
Version: 
DOM utilities module for WordPress.
248 lines (125 loc) • 4.66 kB
Markdown
<!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->
# Unreleased
# 4.31.0 (2025-09-17)
# 4.30.0 (2025-09-03)
# 4.29.0 (2025-08-20)
# 4.28.0 (2025-08-07)
# 4.27.0 (2025-07-23)
# 4.26.0 (2025-06-25)
# 4.25.0 (2025-06-04)
# 4.24.0 (2025-05-22)
# 4.23.0 (2025-05-07)
# 4.22.0 (2025-04-11)
# 4.21.0 (2025-03-27)
# 4.20.0 (2025-03-13)
# 4.19.0 (2025-02-28)
# 4.18.0 (2025-02-12)
# 4.17.0 (2025-01-29)
# 4.16.0 (2025-01-15)
# 4.15.0 (2025-01-02)
# 4.14.0 (2024-12-11)
# 4.13.0 (2024-11-27)
# 4.12.0 (2024-11-16)
# 4.11.0 (2024-10-30)
# 4.10.0 (2024-10-16)
# 4.9.0 (2024-10-03)
# 4.8.0 (2024-09-19)
# 4.7.0 (2024-09-05)
# 4.6.0 (2024-08-21)
# 4.5.0 (2024-08-07)
# 4.4.0 (2024-07-24)
# 4.3.0 (2024-07-10)
# 4.2.0 (2024-06-26)
# 4.1.0 (2024-06-15)
# 4.0.0 (2024-05-31)
## Breaking Changes
-   Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases).
# 3.58.0 (2024-05-16)
# 3.57.0 (2024-05-02)
# 3.56.0 (2024-04-19)
# 3.55.0 (2024-04-03)
-   fix return types of `focus.tabbable` methods to be `HTMLElement` instead of `Element`.
# 3.54.0 (2024-03-21)
# 3.53.0 (2024-03-06)
# 3.52.0 (2024-02-21)
# 3.51.0 (2024-02-09)
# 3.50.0 (2024-01-24)
# 3.49.0 (2024-01-10)
# 3.48.0 (2023-12-13)
# 3.47.0 (2023-11-29)
# 3.46.0 (2023-11-16)
# 3.45.0 (2023-11-02)
# 3.44.0 (2023-10-18)
# 3.43.0 (2023-10-05)
# 3.42.0 (2023-09-20)
# 3.41.0 (2023-08-31)
# 3.40.0 (2023-08-16)
# 3.39.0 (2023-08-10)
# 3.38.0 (2023-07-20)
# 3.37.0 (2023-07-05)
# 3.36.0 (2023-06-23)
# 3.35.0 (2023-06-07)
# 3.34.0 (2023-05-24)
# 3.33.0 (2023-05-10)
# 3.32.0 (2023-04-26)
# 3.31.0 (2023-04-12)
# 3.30.0 (2023-03-29)
# 3.29.0 (2023-03-15)
# 3.28.0 (2023-03-01)
# 3.27.0 (2023-02-15)
# 3.26.0 (2023-02-01)
# 3.25.0 (2023-01-11)
# 3.24.0 (2023-01-02)
# 3.23.0 (2022-12-14)
# 3.22.0 (2022-11-16)
# 3.21.0 (2022-11-02)
# 3.20.0 (2022-10-19)
# 3.19.0 (2022-10-05)
# 3.18.0 (2022-09-21)
# 3.17.0 (2022-09-13)
# 3.16.0 (2022-08-24)
# 3.15.0 (2022-08-10)
# 3.14.0 (2022-07-27)
-   `getRectangleFromRange` may now return `null`.
# 3.13.0 (2022-07-13)
# 3.12.0 (2022-06-29)
# 3.11.0 (2022-06-15)
# 3.10.0 (2022-06-01)
# 3.9.0 (2022-05-18)
## Deprecations
-   Deprecate `isNumberInput`, as it is no longer used internally ([#40896](https://github.com/WordPress/gutenberg/pull/40896)).
# 3.8.0 (2022-05-04)
# 3.7.0 (2022-04-21)
# 3.6.0 (2022-04-08)
# 3.5.0 (2022-03-23)
# 3.4.0 (2022-03-11)
# 3.3.0 (2022-01-27)
# 3.2.0 (2021-07-21)
# 3.1.0 (2021-05-20)
# 3.0.0 (2021-05-14)
## Breaking Changes
-   Drop support for Internet Explorer 11 ([#31110](https://github.com/WordPress/gutenberg/pull/31110)). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
-   Increase the minimum Node.js version to v12 matching Long Term Support releases ([#31270](https://github.com/WordPress/gutenberg/pull/31270)). Learn more at https://nodejs.org/en/about/releases/.
# 2.18.0 (2021-04-29)
## New Features
-   Export type definitions.
# 2.17.0 (2021-03-17)
# 2.11.0 (2020-06-15)
## New Features
-   Add `documentHasUncollapsedSelection` to inquire about ranges of selected text in the document, including the separately managed selections inside <input> and <textarea> elements.
# 2.10.0 (2020-05-28)
## New Features
-   Add `documentHasTextSelection` to inquire specifically about ranges of selected text, in addition to the existing `documentHasSelection`.
# 2.1.0 (2019-03-06)
## Bug Fixes
-   Update `isHorizontalEdge` to account for empty text nodes.
-   `tabbables.find` considers at most a single radio input for a given name. The checked input is given priority, falling back to the first in the tabindex-sorted set if there is no checked input.
# 2.0.8 (2019-01-03)
# 2.0.7 (2018-11-20)
# 2.0.6 (2018-11-09)
# 2.0.5 (2018-11-09)
# 2.0.4 (2018-10-19)
# 2.0.3 (2018-10-18)
# 2.0.0 (2018-09-05)
## Breaking Changes
-   Change how required built-ins are polyfilled with Babel 7 ([#9171](https://github.com/WordPress/gutenberg/pull/9171)). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using [core-js](https://github.com/zloirock/core-js) or [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill) will add support for these methods.