Skip to content

Releases: Patternslib/Patterns

Release 9.10.1-alpha.0

14 Jan 18:57
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.0 (2025-01-14)

Features

  • pat-auto-suggest: Enable caching. (154890b)

Bug Fixes

  • core dom: Do not break querySelectorAllAndMe, if passed element is not a real element but something like a text node. (1b19844)

  • pat-autosuggest: For ajax queries, include the index parameter only if it is set. (85da6a5)

Maintenance

  • core registry: Simplify pattern scanning filter. (43c7255)

    Reduce the number of DOM search tests while not changing the behavior.
    Less rules means more speed.

  • pat inject: Modernize some parts of pat inject. (b0f94fb)

  • pat-inject: Use create_uuid for generating the temporary autoload uuid and remove it again afterwards. (8a3af53)

Release 9.10.0-alpha.1

09 Jan 10:35
Compare
Choose a tag to compare
Pre-release

9.10.0-alpha.1 (2025-01-09)

Features

  • core dom: Add document_ready function which ensures callbacks to be run when or after the DOM has been loaded. (1bbb837)

Bug Fixes

  • pat-inject: Fix pat-inject to not break complex JSON pattern options. (c3e4a68)

    Rework the html rebasing to fix up relative URLs in pat-inject for a
    simpler and slightly more efficient method to walk over all attributes
    which need rebasing.
    The old method could destroy complex JSON based pattern options, like
    those from pat-structure in Mockup.

Note: Only one rebase attribute per tag is currently possible. 1) This
is the same as before. 2) We don't need more.

Maintenance

  • Build: Explicitly set the dev server port to 3001 and fix the documentation which was wrong about it. (3882272)

  • Build: Restrict development server watcher only for files in the src directory. (758f7aa)

    This reduces the number of necessary file watchers and saves important system resources.

  • core registry: Use dom.document_ready instead of jQuery aequivalent. (c73b0e1)

  • core uuid: Extend with documentation and test from thet-own-needs with similar changes. (69ea565)

  • Docs: Minor typo in module federation document. (fadd5d4)

  • pat-markdown: Use dom.document_ready instead of jQuery aequivalent. (e8c8b4b)

  • Upgrade dependencies. (be61ac5)

Release 9.10.0-alpha.0

06 Jan 23:16
Compare
Choose a tag to compare
Pre-release

9.10.0-alpha.0 (2025-01-06)

Features

  • core basepattern: Assign each pattern a UUID. (c142214)

  • core dom: Add find_inputs to find all inputs in a node tree, including the node itself. (db271ce)

  • core uuid: Add utility function to generate a uuid. (8b70876)

  • pat-autosuggest: Add batching support for AJAX requests. (1323eaa)

    This PR introduces three new options for that:
    max-initial-size: Defines the batch size for the initial request (default: 10).
    ajax-batch-size: Defines the batch size for subsequent requests (default: 10).
    ajax-timeout: Defines the timeout in milliseconds before a AJAX request is submitted. (default: 400).

Ref: scrum-1638

  • pat-date-picker: Cache the ajax call to retrieve i18n picker translations. (9050ddc)

Bug Fixes

  • lib dependshandler: Do not return the value from an disabled input. Return null instead. (430167b)

  • pat-depends: Enable/Disable all inputs of a subtree, if a parent is a dependend. (0bbe3f4)

  • pat-depends: Support updating for sub-pat-depends when the parent state is changed. (9abf534)

  • pat-inject: Allow to submit invalid forms when form/novalidate. (993d27d)

    Respect the form[novalidate] and button[formnovalidate] attributes and
    allow the submission of invalid forms.
    This is necessary if a cancel button is a submit button and needs to be
    allowed to submit even if the form input is invalid.

Maintenance

  • lib dependshandler: Modernize code. (4c1650f)

  • pat-datepicker: Fix ESLint warning. (4a10d4b)

  • pat-depends: Rework to class based pattern. (c83bb0a)

  • Remove obsolete src/lib/README.txt. (70ee738)

Release 9.9.16

21 Aug 11:39
Compare
Choose a tag to compare

9.9.16 (2024-08-21)

Maintenance

  • Update dependencies with newer patch-level versions. (118f031)

Release 9.9.15

20 Aug 15:31
Compare
Choose a tag to compare

9.9.15 (2024-08-20)

Bug Fixes

  • pat-tiptap: Upgrade pat-tiptap to 4.9.4 to fix a problem with adding colums to tables. (5a0281e)

Release 9.9.14

19 Aug 12:22
Compare
Choose a tag to compare

9.9.14 (2024-08-19)

Bug Fixes

  • core dom: Avoid circular imports. (962d5f2)

    Remove BBB export "add_event_listener" and "remove_event_listener" to avoid circular imports.
    This fixes a test-run problem in pat-tiptap and was long overdue anyways.

Release 9.9.13

19 Aug 12:05
Compare
Choose a tag to compare

9.9.13 (2024-08-19)

Bug Fixes

  • Build: Apply "npm pkg fix" to correct the repository URL. (cfec736)

  • Fix reference to 3rd party styles in stylesheets. (d00253d)

    Since latest scss build tools which became available in
    @patternslib/dev version 3.6 references to node_modules need to be
    left out. The build tool searches in node_modules anyways. This is now
    fixed.

  • pat-carousel: Fix SASS compilation warnings. (e4e2dae)

    Upgrade to a version of slick.js where the compilation warnings are fixed.

  • pat-inject: Fix failing test. (1472b06)

    Recent Jest/jsDOM stopped working with uppercase tag selectors.
    This is now fixed without making compromises to production code, as the
    new result is more readable.

Maintenance

  • pat-inject: Fix some test method names. (e9a5257)

  • pat-inject: Rework _rebaseHTML to non-JQuery code as preparation to fix a failing test with recent @patternslib/dev. (df710a2)

  • Update GitHub Actions workflow. (a413e26)

  • Upgrade devDependencies. (bda3cf1)

Release 9.9.12

23 Jul 11:01
Compare
Choose a tag to compare

9.9.12 (2024-07-23)

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)