UNPKG

2.66 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic
7Versioning](https://semver.org/spec/v2.0.0.html).
8
9<!-- ## [Unreleased] -->
10
11## [2.7.0] - 2022-10-20
12
13- Polyfill `addEventListener/removeEventListener` event listener options,
14 including `{capture: boolean, once: boolean}`.
15 ([#469](https://github.com/webcomponents/polyfills/pull/469))
16- Make `webcomponents-loader.js` compatible with the Trusted Types API
17 ([#501](https://github.com/webcomponents/polyfills/pull/501))
18- Remove an arrow function in `webcomponents-loader.js`.
19 ([#507](https://github.com/webcomponents/polyfills/pull/507))
20
21## [2.6.0] - 2021-08-02
22
23- Add TS externs. ([#457](https://github.com/webcomponents/polyfills/pull/457))
24
25## [2.5.0] - 2020-10-21
26
27- Polyfill `Element#matches`.
28 ([#400](https://github.com/webcomponents/polyfills/pull/400))
29- Remove function declarations from platform polyfills to sastisfy internal lint
30 after import transforms.
31 ([#396](https://github.com/webcomponents/polyfills/pull/396))
32- Polyfill `Element#getAttributeNames`.
33 ([#393](https://github.com/webcomponents/polyfills/pull/393))
34- Add polyfills for ChildNode APIs.
35 ([#390](https://github.com/webcomponents/polyfills/pull/390))
36- Add polyfills for select ParentNode APIs.
37 ([#389](https://github.com/webcomponents/polyfills/pull/389))
38- Add `classList` support to `SVGElement`.
39 ([#391](https://github.com/webcomponents/polyfills/pull/391))
40- Add new entrypoints to webcomponentsjs for the 'platform' polyfills.
41 ([#385](https://github.com/webcomponents/polyfills/pull/385))
42
43## [2.4.4] - 2020-07-20
44
45- Fixed bug where Object.assign polyfill would copy non-enumerable properties.
46- Convert platform (`Array.from`, `CustomEvent`, `Promise` etc.) polyfills to
47 TypeScript ([#292](https://github.com/webcomponents/polyfills/pull/292))
48- Improve types for JSCompiler compatibility
49 ([#307](https://github.com/webcomponents/polyfills/pull/307))
50- README improvements
51 ([#128](https://github.com/webcomponents/polyfills/pull/128),
52 [#212](https://github.com/webcomponents/polyfills/pull/212),
53 [#214](https://github.com/webcomponents/polyfills/pull/214))
54
55## [2.4.3] - 2020-03-16
56
57- Maintenance release (no user-facing changes)
58
59## [2.4.2] - 2020-02-26
60
61- Remove unnecessary externs
62 ([#272](https://github.com/webcomponents/polyfills/pull/272))
63
64## [2.4.1] - 2020-01-09
65
66- Maintenance release (no user-facing changes)
67
68## [2.4.0] - 2019-11-12
69
70- Add on-demand patching mode
71 ([#189](https://github.com/webcomponents/polyfills/pull/189))