Skip to content

Release 4.0.0

Compare
Choose a tag to compare
@thet thet released this 15 Jan 14:50
· 5 commits to master since this release

4.0.0 (2025-01-15)

Features

  • Remove line breaks. (459890d)

    .pat-content-mirror is intended for single-line inputs which need to be
    wrapped if the line is getting too long. Line breaks are not allowed but
    were possible until now.
    Now they are stripped from the input. Instead a single space character
    is used. This also works for copy/pasting where a list would not result
    in a long concatenated string but with a space as separator in between.

Ref: scrum-2879

Bug Fixes

  • Add a test for the form reset feature fix. (c2ec64e)

    Before modernization the reset button did not reset the placeholders in
    the pat-content-mirror mirror element. Not it does. This test just shows it,
    the fix was done in the previous commit.

Maintenance

  • Add test showing a different than the proposed markup structure. (6a3e948)

  • Create a better demo. (3144221)

    • Include the bundle from the webpack dev server url.
  • Add a reset button to test the reset functionality.
  • Add a form to test form integration with the reset button.
  • Empty the placeholders as they are filled from the placeholder
    attribute on the pat-content-mirror input.
  • Remove unnecessary elements, add fieldset wrappers.
  • Reformat with zpretty, modernize.
  • pat-content-mirror: Align with latest stanards from pat-PATTERN_TEMPLATE. (597a66e)

  • pat-content-mirror: Rework for class based pattern. (78c3b67)

    Note: the event binding on the propertychange event is removed as this dates
    back to IE times and is not supported by any modern browser.

  • Upgrade Node.js version for GitHub actions to 22 (LTS) and GitHub workflow dependencies. (b31d4a7)