Skip to content

Latest commit

 

History

History
722 lines (327 loc) · 34.5 KB

CHANGELOG.md

File metadata and controls

722 lines (327 loc) · 34.5 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.3.10 (2023-12-21)

1.3.9 (2023-10-18)

Bug Fixes

  • only inits form association if element is form associated (a3e742b)

1.3.8 (2023-09-07)

Bug Fixes

  • only run document observer if document exists (7bf53f5)

1.3.7 (2023-08-07)

Bug Fixes

  • types: reference ValidityState from typescript lib (bbcf7f4), closes #119

1.3.6 (2023-08-07)

Bug Fixes

  • remove :is in submit selector to prevent error in non-supporting browsers (f3cb74a)

1.3.5 (2023-05-04)

Bug Fixes

  • form submit: change submit button selector for jsdom compatibility (ee1269d)

1.3.4 (2023-04-26)

Bug Fixes

  • custom states will delay if removed in constructor (74d9ae2)

1.3.3 (2023-04-26)

Bug Fixes

  • update src import paths (35ac8d3)

1.3.2 (2023-04-26)

Bug Fixes

  • custom states will delay if added in constructor (f81ef5e)

1.3.1 (2023-04-24)

Bug Fixes

  • respond to changes to the name attribute and naive jsdom tests (9af08e9)

1.3.0 (2023-04-14)

Features

1.2.6 (2023-03-06)

Bug Fixes

  • fix typeof check for HTMLFormElement (27c0006)

1.2.5 (2023-03-06)

Bug Fixes

  • only attempt to patch HTMLFormElement if it is defined (7dd1998)

1.2.4 (2023-03-03)

Bug Fixes

  • update how polyfill patches customElements.define (c478d3e)

1.2.3 (2023-02-03)

Bug Fixes

  • rollback use of ?? and ?. operators to maintain compatibility with legacy build systems, such as those used in storybook (#107) (3fad9fb)

1.2.2 (2023-01-26)

Bug Fixes

  • utils: flip order of nativeControlValidity filter predicate check (#106) (ce5aea2)

1.2.1 (2023-01-26)

Bug Fixes

  • filtering native elements out of setFormValidity#nativeControlValidity (80442ed)

1.2.0 (2023-01-26)

1.1.22 (2023-01-26)

1.1.21 (2023-01-26)

Bug Fixes

  • ensure polyfill generates attributes (ca506cd)
  • polyfill respects setting disabled on fieldset elements (ca90197)

1.1.20 (2023-01-21)

Bug Fixes

  • polyfill respects setting disabled on fieldset elements (ca90197)

1.1.19 (2023-01-15)

1.1.18 (2023-01-05)

Bug Fixes

  • add missing aria attributes (01bc332)

1.1.17 (2022-12-09)

Bug Fixes

  • click references in label click (89967dd), closes #85
  • element internals in the LitSSR environment (5bc5e3e)
  • fixes condition in mutation observer (3b8ece9)

1.1.16 (2022-10-31)

Bug Fixes

  • click references in label click (89967dd), closes #85
  • element internals in the LitSSR environment (5bc5e3e)
  • fixes condition in mutation observer (3b8ece9)

1.1.15 (2022-10-18)

Bug Fixes

  • element internals in the LitSSR environment (5bc5e3e)

1.1.14 (2022-09-22)

Bug Fixes

1.1.13 (2022-09-15)

Bug Fixes

  • fix nodes added in a tree in Safari (d72172c)
  • issue with compiled target (d32d8b2)
  • update types on CustomStateSet (5d5a7f9)

1.1.12 (2022-09-09)

Bug Fixes

  • fix nodes added in a tree in Safari (d72172c)
  • issue with compiled target (62f07a9)
  • update types on CustomStateSet (0075ceb)

1.1.11 (2022-08-24)

Bug Fixes

  • issue with compiled target (25bb106)

1.1.10 (2022-08-23)

Bug Fixes

  • fix nodes added in a tree in Safari (d72172c)

1.1.9 (2022-08-18)

1.1.8 (2022-08-18)

Bug Fixes

  • fix nodes added in a tree in Safari (980fa98)

1.1.7 (2022-08-17)

Bug Fixes

  • don't append FormData element in reverse order (7f9cd4c)

1.1.6 (2022-07-15)

1.1.5 (2022-07-15)

Bug Fixes

  • add aria-disabled to disabled elements (9eb22d2)

1.1.4 (2022-05-04)

Bug Fixes

1.1.3 (2022-04-23)

Bug Fixes

  • attach observers to this if window.ShadyDOM exists (4bb51bb)

1.1.2 (2022-03-24)

1.1.1 (2022-03-24)

1.1.0 (2022-03-24)

Features

  • removing most polyfilled features due to Firefox support, adding only CustomStateSet to Firefox (b4b0dee)

1.0.4 (2022-03-24)

Bug Fixes

1.0.3 (2022-02-27)

Bug Fixes

  • readOnly changes checkValidity (14b0698)

1.0.2 (2022-02-22)

Bug Fixes

  • polyfill now respects willValidate for check and report validity (366c43c)

1.0.1 (2022-02-22)

1.0.0 (2022-02-21)

0.1.55 (2022-02-21)

Features

  • reflect custom states as shadow parts in addition to attributes (641cac2), closes #62

0.1.54 (2022-01-27)

Bug Fixes

0.1.53 (2022-01-26)

Bug Fixes

  • polyfill: change attachInternals to not be a getter (b249f36)

0.1.52 (2022-01-18)

Bug Fixes

  • findParentForm: fixed inconsistency with how Chrome finds forms outside of closed custom elements (ec7c394)

0.1.51 (2021-12-23)

Bug Fixes

0.1.50 (2021-12-23)

Bug Fixes

  • update form validity check algorithm to not call checkValidity on all changes (97c3567)

0.1.49 (2021-12-07)

0.1.48 (2021-12-06)

0.1.47 (2021-11-26)

Bug Fixes

  • add ariaSetSize to AomMixin (c11fcae)
  • correct typescript@^4.5.0 types (68d41a4)
  • fix reconcileValidity spelling error (2d2ca18)
  • update project to work with built-in ElementInternals types (392703b)

0.1.46 (2021-10-11)

Bug Fixes

0.1.45 (2021-10-11)

Bug Fixes

  • Improve feature detection to support Firefox 93 (#46) (850e835)

0.1.44 (2021-09-01)

Bug Fixes

  • add internals-disabled attribute and test (30b5b41)

0.1.43 (2021-07-30)

Bug Fixes

  • polyfill manages onsubmit attributes set before form is initialized (0e333a2)

0.1.42 (2021-07-25)

Bug Fixes

  • remove lit-specific code which is unneeded after a previous fix (d819cef)

0.1.41 (2021-07-25)

Bug Fixes

  • ensure form has elements before trying to process data (65a51a2)

0.1.40 (2021-06-28)

Bug Fixes

0.1.39 (2021-06-07)

0.1.38 (2021-06-07)

Bug Fixes

  • add attribute filter to disabled observer (329a620)

0.1.37 (2021-05-27)

Bug Fixes

  • add states to interface (f800756)

0.1.36 (2021-05-23)

Bug Fixes

  • CustomStateSet: added to window and will throw illegal constructor by default (73821d8)

0.1.35 (2021-05-23)

Features

0.1.34 (2021-05-08)

Bug Fixes

  • form-associated elements inserted from DocumentFragment now upgrade properly (cc6e690)

0.1.33 (2021-05-07)

Bug Fixes

  • polyfill: polyfill now updates form checkValidity and reportValidity methods (9830aba)

0.1.32 (2021-05-01)

0.1.31 (2021-05-01)

0.1.30 (2021-04-06)

Bug Fixes

0.1.29 (2021-03-16)

Bug Fixes

0.1.28 (2021-03-16)

Bug Fixes

0.1.27 (2021-03-15)

Bug Fixes

0.1.26 (2021-03-12)

0.1.25 (2021-03-12)

0.1.24 (2021-03-12)

0.1.23 (2021-03-12)

0.1.22 (2021-03-12)

0.1.21 (2021-03-12)

0.1.20 (2021-03-12)

0.1.19 (2021-03-12)

0.1.18 (2021-03-12)

0.1.17 (2021-03-12)

0.1.16 (2021-03-12)

0.1.15 (2021-03-12)

Bug Fixes

  • add hidden input for lit-element after render completes (#27) (ebbb8ef)

0.1.14 (2021-03-08)

0.1.13 (2021-03-08)

0.1.12 (2021-03-08)

0.1.11 (2021-03-08)

0.1.10 (2021-03-08)

Bug Fixes

  • add hidden input for lit-element after render completes (0b93a0a)

0.1.9 (2021-02-23)

Features

Bug Fixes

  • anchor element focus order on form submission reversed compared to Chrome (#24) (8346b2f)
  • setValidity: Added support for setting ValidityState from a native input as Chrome allows this (#25) (dbb3c1a)

0.1.8 (2021-02-19)

Bug Fixes

  • setFormValue: accept empty strings like Chrome (#23) (8f41892)

0.1.7 (2021-02-11)

Bug Fixes

  • polyfill accepts non-string values like Chrome (9ac948e)

0.1.6 (2021-02-10)

Bug Fixes

  • formSubmitCallback: elements now report validity when a form is submitted (01b2499)

0.1.5 (2021-02-10)

Features

  • validation anchor: add validation anchor behavior (4cc4631)

0.1.4 (2021-02-09)

Features

  • add shadowRoot to internals (2477eb2)

0.1.3 (2021-02-09)

Features

  • setFormValue: Add support for FormData to allow settings multiple form values (a0b2890)

0.1.2 (2021-02-06)

Bug Fixes

  • formAssociatedCallback: make sure internals are available when formAssociatedCallback is called (df9effa)
  • setValidity: added missing anchor in method signature. (0290325)

0.1.1 (2020-11-18)

Bug Fixes

0.1.0 (2020-10-15)

⚠ BREAKING CHANGES

  • update how input references are added to forms

Features

  • add hidden inputs back to polyfill (9898822)

0.0.23 (2020-10-14)

0.0.22 (2020-07-09)

0.0.21 (2020-06-02)

Bug Fixes

  • polyfill: correct labels reference (9d326d1)

0.0.20 (2020-06-02)

0.0.19 (2020-06-02)

Bug Fixes

  • polyfill: small improvements and refactor of tests (846f19d)

0.0.18 (2020-05-27)

Bug Fixes

  • polyfill: now uses correct event names for validity events (a2fb8d6)

0.0.17 (2020-05-27)

Bug Fixes

  • polyfill: setValidity no longer calls reportValidity (52d51b6)

0.0.16 (2020-05-19)

Features

  • polyfill: element's register self with forms under the prop [el.name] (c01d1c7)

0.0.15 (2020-04-28)

Features

  • polyfill: add basic aom support (a2696c2)

0.0.14 (2020-04-27)

0.0.13 (2020-04-27)

0.0.12 (2020-04-27)

Bug Fixes

0.0.11 (2020-04-27)

0.0.10 (2020-04-27)

Features

  • remove hidden input: work to remove hidden input (bc1345f)

0.0.9 (2020-04-26)

Bug Fixes

  • polyfill: change aria-descrbedby to aria-labelledby (3cc5cd3)

0.0.8 (2020-04-26)

Features

  • polyfill: add support for formAssociatedCallback (7988907)

0.0.7 (2020-04-16)

Features

  • polyfill: now fires invalid and valid events (1e05937)

0.0.6 (2020-04-14)

Bug Fixes

  • polyfill: fix setValidity (ee18f41)

0.0.5 (2019-11-16)

Bug Fixes

  • structure: Fix file structure (5f4cad4)

0.0.4 (2019-11-16)

Bug Fixes

  • polyfill: Include built files in npm (ca45513)
  • structure: Fix file structure (9c4bff2)

0.0.3 (2019-11-15)

0.0.2 (2019-11-15)

Bug Fixes

  • polyfill: Include built files in npm (ca45513)

0.0.1 (2019-11-15)

Features

  • polyfill: Initial commit (385cb42)