Releases: Patternslib/Patterns
Release 9.10.1-alpha.0
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
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
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
Release 9.9.16
Release 9.9.15
Release 9.9.14
Release 9.9.13
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 tonode_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
Release 9.9.12
9.9.12 (2024-07-23)
Release 9.9.10
9.9.10 (2023-11-27)
Release 9.9.10-alpha.4
9.9.10-alpha.4 (2023-11-23)
Features
- Upgrade dependencies. (a896a80)
Bug Fixes
- Upgrade node version for GitHub Actions. (1cf4d6a)