Skip to content

Releases: Patternslib/Patterns

Release 9.9.10

27 Nov 11:44
Compare
Choose a tag to compare

9.9.10 (2023-11-27)

Release 9.9.10-alpha.4

23 Nov 00:27
Compare
Choose a tag to compare
Pre-release

9.9.10-alpha.4 (2023-11-23)

Features

Bug Fixes

  • Upgrade node version for GitHub Actions. (1cf4d6a)

Release 9.9.10-alpha.3

17 Nov 19:01
Compare
Choose a tag to compare
Pre-release

9.9.10-alpha.3 (2023-11-17)

Bug Fixes

  • core dom find_form, pat autosubmit: Add support for pat-subform. (bd19154)

    Subform was recently lost when introducing dom.find_form.
    Now subform support is back in pat-autosubmit.

  • pat subform: Correctly unregister the submit event on Pattern destroy. (8252014)

Maintenance

  • pat subform: Modernize code. (dc7c0ff)

Release 9.9.10-alpha.2

10 Nov 11:07
Compare
Choose a tag to compare
Pre-release

9.9.10-alpha.2 (2023-11-10)

Maintenance

  • pat autosubmit: Improve the code to find the related form for an input. (445fe69)

Release 9.9.10-alpha.1

09 Nov 23:30
Compare
Choose a tag to compare
Pre-release

9.9.10-alpha.1 (2023-11-09)

Features

  • core dom: find_form - find a related form element. (01b348d)

    Add a function to find a related form element. If called on any element
    it would first try to get a input element and get it's associated form -
    which can be different and as a last resort to find the element's
    enclosing form. Otherwise return undefined.

Bug Fixes

  • pat autosubmit: Re-add support for autosubmit on non form elements. (a2530f3)

    Fix a problem introduces in Patternslib 9.9.7 where pat-autosubmit did
    not work when not defined on a form or input element.

As a side effect, the submit event is now always invoked on the related
or nearest form of the element where pat-autosubmit was defined on. If
that element is not a form element a related (input.form) or the nearest
parent form is searched and the submit event invoked upon.

Maintenance

  • pat autosubmit: Improve debug messages. (8c01058)

  • pat inject: Add more debug messages. (fddb3b6)

Release 9.9.10-alpha.0

08 Nov 13:22
Compare
Choose a tag to compare
Pre-release

9.9.10-alpha.0 (2023-11-08)

Features

  • core events: Support the submitter property on submit_event events. (2e6b7e5)

Bug Fixes

  • pat autosubmit: Fix a typo where pat-autosubmit wasn't working for subforms anymore. (3be0170)

  • pat autosubmit: Trigger the submit event with the correct submitter property. (36c0c36)

    This resp. the previous commit in event.js fixes a problem where the
    submitter was the added to the browser automatically and could lead to
    incorrect form submission data in combination with pat-ajax. E.g. we had
    a case where for a file upload the delete button's value was submitted,
    where it shouldn't have.

Release 9.9.9

06 Nov 01:47
Compare
Choose a tag to compare

9.9.9 (2023-11-06)

Features

  • pat inject: Support submit buttons with child elements. (3821ca8)

    Send the value of a submit button even if a child element of the submit
    button was clicked and not the submit button itself.

Bug Fixes

  • pat inject: Fix issue with submit buttons which are added later. (edf9f5e)

    Fix an issue with submit buttons which were added after initialization
    of pat-inject which did not send their value (e.g. via a pat-inject call).

Ref: scrum-1670

Maintenance

  • pat inject: Restructure pat-inject 9.2 tests. (981d71f)

  • Upgrade caniuse-lite db. (8ccdc6d)

Release 9.9.8

23 Oct 07:43
Compare
Choose a tag to compare

9.9.8 (2023-10-23)

Bug Fixes

  • pat-push: Fix form submits not working with pat-inject. (09822c5)

  • pat-subform: Fix subform submits not working with pat-inject. (79436cb)

Maintenance

  • pat-ajax: Use bare JavaScript submit for tests. (98e4235)

  • pat-inject: Use bare JavaScript submit for tests. (bec5184)

  • pat-sortable: Use bare JavaScript submit for tests. (59bbe4d)

Release 9.9.7

22 Oct 22:08
Compare
Choose a tag to compare

9.9.7 (2023-10-22)

Features

  • core events: Add a event factory for a generic bubbling and cancelable event. (ed6777e)

Bug Fixes

  • pat-inject: Fix problem with pat-autosubmit together with pat-sortable and/or pat-clone. (2e3d9a2)

  • pat-inject: Fix problem with pat-autosubmit. (8ab6029)

    Fix a problem since Patternslib 9.9.6 where pat-inject didn't work
    together with pat-autosubmit.

Maintenance

  • pat-autosubmit: Add a test for delayed autosubmit. (e487ff5)

  • pat-autosubmit: Make use of add_event_listener. (035bd76)

    This has advantages regarding preventing double registrations and
    allowing wildcard removal.

  • pat-autosubmit: Number the individual test cases. (9d20ea1)

  • pat-autosubmit: Simplify the sortable+clone demo example a bit. (a8b316b)

  • pat-inject: Log a warning if inject isn't initialized when pushState isn't available. (2b897ca)

Release 9.9.6

20 Oct 12:48
Compare
Choose a tag to compare

9.9.6 (2023-10-20)