Skip to content

Releases: Patternslib/Patterns

Release 9.1.0-beta.3

05 Sep 14:04
Compare
Choose a tag to compare
Release 9.1.0-beta.3 Pre-release
Pre-release

9.1.0-beta.3 (2022-09-05)

Features

  • pat sortable: Trigger pat-update after sorting changes. (3bb5513)Other patterns can react on that for example submitting the form with pat-auto-submit.

Bug Fixes

  • pat auto submit: Support pat-clone and pat-sortable. (4ec72ef)When pat-clone adds an element, initialize that element to listen for changes.
    When pat-clone removes an element or pat-sortable changes the order, submit the form.

Maintenance

  • Build: Upgrade dependencies. (e5e2c7b)

Release 9.1.0-beta.2

23 Aug 20:43
Compare
Choose a tag to compare
Release 9.1.0-beta.2 Pre-release
Pre-release

9.1.0-beta.2 (2022-08-23)

Maintenance

  • Upgrade pat-tiptap to 4.5.0. (423dfc7)

Release 9.1.0-beta.1

19 Aug 15:52
Compare
Choose a tag to compare
Release 9.1.0-beta.1 Pre-release
Pre-release

9.1.0-beta.1 (2022-08-19)

Features

  • core base: Add pattern property autoregister to allow patterns which are not automatically registered in the patternslib registry. (ef4d234)

  • pat inject: Dispatch a patterns-injected-delayed event 10ms after the injection has been done and pass the injected content with it. This allows to re-scan the injected content in cases where a pattern wasn't registered at injection time. (00b66fe)

Bug Fixes

  • pat inject: Fix code error with not scanning and triggering for comment nodes. (c281ae4)

  • pat validation: Do not trigger a pat-update after validation. (b4603c9)

Maintenance

  • Build: Unlink all eventually linked @patternslib dependencies before building bundles. (debeeea)

  • Build: Upgrade dependencies. (515bf42)

  • pat inject: Minor test restructuring. (e740a88)

  • pat validation: Add input with type URL example to demo. (b3e98e0)

Release 9.1.0-beta.0

11 Aug 16:05
Compare
Choose a tag to compare
Release 9.1.0-beta.0 Pre-release
Pre-release

9.1.0-beta.0 (2022-08-11)

Features

  • core utils: Add date_diff to calculate the difference in days between two dates, respecting DST‌ offsets. (dd5cc7b)

  • core utils: Add is_iso_date check for testing for iso dates only. (a90afd6)

  • pat display time: Improve the output for date-only dates in relative mode. (e3909a4)When output is from-now (relative date) and the date is a date-only date without a time component, do not include the time in the output.

Maintenance

  • Build: Include bundle name and version in generated files (Feature of @patternslib/dev 2.4.0.) (392998e)

  • pat display time: Improve the documentation. (ef13602)

  • Upgrade dependencies. (070b262)

Release 9.0.1

20 Jul 16:06
Compare
Choose a tag to compare

9.0.1 (2022-07-20)

Bug Fixes

  • Build: Fix luxon to 2.4.0 to avoid webpack MF error due to non standard package.json setup. (784f036)

  • pat tooltip: Avoid repositioning of the tooltip arrow. (880ebdb)- Setting the tooltip-container class before async calls.

  • Avoid unnecessary repaints by grouping dom manipulations together.
  • Merge onMount and onShow into onShow method.

Release 9.0.0

17 Jul 21:47
Compare
Choose a tag to compare

9.0.0 (2022-07-17)

Features

  • Webpack Module Federation: Dispatch the event patternslib_mf--loaded when all remotes have been initialized. (9c86483)

Bug Fixes

  • pat modal: Trigger pat-modal-ready event only once. (ddb7c5d)For pat-modal instances on anchor elements where pat-inject is involved the
    event pat-modal-ready was triggered twice. This is now fixed and the event
    is only triggered after the modal was inserted.

  • pat tooltip: Fix problem with misaligned tooltip arrow with remote content. (4656100)

  • pat tooltip: Initialize Patterns directly after getting content. (e601fd8)This fixes a problem where onMount was initializing Patterns before get_content returned and inserted the content.

Maintenance

  • Bundle: Upgrade pat-tiptap to 4.3.0. (24bfa4b)

  • core base: Document prevention of pattern double initialization in asynchronous cases. (1d9bb38)

  • pat modal: Document how pat-modal works. (2015e89)

Release 9.0.0-beta.1

08 Jul 16:08
Compare
Choose a tag to compare
Release 9.0.0-beta.1 Pre-release
Pre-release

9.0.0-beta.1 (2022-07-08)

Bug Fixes

  • pat depends: Allow input names with colons in the parser, as used in Plone. (48298c2)

Maintenance

  • Build: Upgrade Moment to 2.29.4. (a0bf6fd)

  • Build: Upgrade to @patternslib/dev 2.3.0. (a02619e)

  • pat checkbox: Do not include styles and make the demo better usable. (7cd1dc3)

  • pat depends: Change Makefile to generate the parser optimized for size and output it as ES module. (3bfd39f)

  • pat depends: Depend on latest pegjs for generating the depends parser. (5339822)

  • pat depends demo: Add demo with optional date fields. (bfd5dbe)

  • pat depends demo: Demo colons in input names. (e882f4f)

  • pat depends demo: Demo multiselection. (85a824a)

  • pat depends demo: Set to import styles in JavaScript so that auto-suggest is styled. (e8b2ea2)

  • Add .eslintignore and ignore generated depends_parse.js file. (f9bc55f)

  • Do not define __patternslib_import_styles, so that it can be defined by another script without being overwritten. (7101d23)

Release 9.0.0-beta.0

29 Jun 21:35
Compare
Choose a tag to compare
Release 9.0.0-beta.0 Pre-release
Pre-release

9.0.0-beta.0 (2022-06-29)

Bug Fixes

  • Configure module alias for @patternslib/patternslib so that extended jest config from dev does not fail. (ce89f24)

  • pat scroll box: Fix issue where elastic scrolling on Safari would remove the scroll-position-top class for a moment when overscrolling on top. (596fd06)

Maintenance

  • Build: Adapt to latest module federation changes in @patternslib/dev 2.2.0. (c2f4d37)

  • Build: Add a watch Makefile target and package.json script. (c48ff3e)

  • Build: Update @patternslib/dev to 2.2.0. (a1550ca)

  • Build: Upgrade all pat-* dependency packages to it's latest version. (4628120)

  • Build: Upgrade dependencies. (eaeed1a)

  • pat scroll box: Document that scroll-down and scroll-up classes are not cleared after scrolling has stopped. (52f4343)

  • pat scroll box: Improve demo styles. (61fa3d8)

Release 9.0.0-alpha.1

15 Jun 07:57
Compare
Choose a tag to compare
Release 9.0.0-alpha.1 Pre-release
Pre-release

9.0.0-alpha.1 (2022-06-15)

Features

  • Build: Allow Patternslib add-ons to be built within the Patternslib package as part of a Patternslib bundle distribution by defining an alias for @patternslib/patternslib. (d4ae08b)

  • Bundle: Create a universal bundle. (9215532)Add more external patterns in order to create a universal drop-in bundle for Patternslib.
    Patterns added:

    • pat-content-mirror
    • pat-doclock
    • pat-shopping-cart
    • pat-sortable-table
    • pat-tiptap
    • pat-upload

Breaking Changes

  • Depend on @patternslib/dev and extend config from there. (aea3681)

  • Extend babel config from @patternslib/dev. (83cef90)

  • Extend commitlint config from @patternslib/dev. (9216ed7)

  • Extend eslint config from @patternslib/dev. (2cfeadc)

  • Extend jest config from @patternslib/dev. (125a4f7)

  • Extend Makefile from @patternslib/dev. (923efe3)

  • Extend prettier config from @patternslib/dev. (0bbbdca)

  • Extend release-it config from @patternslib/dev. (b692ce0)

  • Extend webpack config from @patternslib/dev. (208726f)

Maintenance

  • Do not eslint the generated depends_parse file. (dbfd33f)

  • Move webpack.dist.js back to webpack.config.js. (20f1d68)

  • Remove unused variables from Makefile. (141ade4)

Release 8.1.0

11 Jun 04:51
Compare
Choose a tag to compare

8.1.0 (2022-06-11)

Maintenance

  • docs: Add history section to docs and move old history from the changelog to this new section. (7c0e2ff)

8.1.0-alpha.4 (2022-06-08)

Features

  • pat push: Desktop notifications: Ask for permission. (ccbf731)
    Ask for permission to send desktop notifications after any click on the document.
    This bypasses the browser restrictions on request for permission dialoges that are not shown if there hasn't been a user interaction.

Maintenance

  • pat push: Restructure code. (2dbe44f)
    Restructure code and narrow down the error handling for fetching to only the fetch block.

8.1.0-alpha.3 (2022-06-03)

Maintenance

  • pat inject: Add developer documentation with inital version method call flow diagram. (de13186)

  • pat switch: When logging errors, add the failing element for better debugging. Also, do not log an error twice. (83f3df3)

8.1.0-alpha.2 (2022-06-02)

Bug Fixes

  • pat close panel: Do not break if no parent .has-close-panel element was found. (894c05c)

Maintenance

  • Build: Module Federation - Remove the underscore version fixture. (87347b7)
    Remove the underscore version fixture in webpack.mf.js.
    Since unterscore 1.13.4 this fixture isn't necessary anymore.

  • docs: Document that you only have to iport module_federation if you are creating a host bundle. (bccd803)

8.1.0-alpha.1 (2022-05-31)

Features

  • pat push: If a notification url is given, open it when clicking on the desktop notification. (c36e51f)

Maintenance

  • pat push: Fetch desktop notification data only when desktop notifications are allowed. (05d443b)

  • push kit: Remove unused desktop notification code. Use pat-push instead. (c702833)

8.1.0-alpha.0 (2022-05-30)

Features

  • pat modal: Allow to configure a injection source and target to support modals in modals. (1d27c08)
    Add configuration parameter for source and target.
    This allows to reuse an existing #pat-modal instance and to open modals in modals.

Maintenance

  • Build: Add prerelease-alpha and prerelease-beta as Makefile targets. (10b9e24)

  • Upgrade dependencies. (71e31cf)

  • pat modal: Document panel-header-content. (ac7000e)