Skip to content

Commit 941c5a9

Browse files
committed
Release new version.
1 parent d7df5a0 commit 941c5a9

File tree

2 files changed

+109
-1
lines changed

2 files changed

+109
-1
lines changed

CHANGES.md

+108
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,114 @@ See the [history](./docs/history/index.md) for older changelog entries.
44

55

66

7+
## [9.10.1-beta.3](https://github.com/Patternslib/patterns/compare/9.10.1-beta.2...9.10.1-beta.3) (2025-04-06)
8+
9+
10+
### Features
11+
12+
13+
* **core polyfills:** Add polyfill for navigation API. ([b9c328f](https://github.com/Patternslib/patterns/commit/b9c328f475573cc911a6b9e347366803d98bad96))
14+
15+
This polyfill adds support for the "navigate" event on the navigation
16+
object. We path "history.pushState" and "history.replaceState" to send
17+
the "navigate" event on the "window.navigation" object when the URL
18+
changes.
19+
20+
This polyfill is for current Firefox and Safari. Chrome based browsers
21+
already support this.
22+
23+
More information on:
24+
https://developer.mozilla.org/en-US/docs/Web/API/Navigation/navigate_event
25+
26+
27+
* **core registry:** Allow to disable individual patterns via a global window.__patternslib_patterns_blacklist array. ([2d04c6c](https://github.com/Patternslib/patterns/commit/2d04c6cc3850a46026bcd3eae5a6b32a12678870))
28+
29+
30+
* **pat-ajax:** Pass the URL to the pat-ajax-success event payload. ([faa0209](https://github.com/Patternslib/patterns/commit/faa020923942d8e7f1df132fb307b8299d8e2fb3))
31+
32+
This allows to use the URL in an event handler for certain actions.
33+
34+
35+
36+
### Bug Fixes
37+
38+
39+
* **pat-inject:** Fix problem with inserting table rows. ([2e70a13](https://github.com/Patternslib/patterns/commit/2e70a130ee5d5c1a31064fb9100eba74dc8374f6))
40+
41+
There was a problem with injecting table rows introduced in: b0f94fb058a7067e19bc9c3101a11dfa49ff8dd2
42+
The problem occured when setting a table row as content of a temporary
43+
<div> wrapper. But a <tr> is not a valid child node of a <div>. This
44+
caused visually destroyed tables.
45+
46+
Using a <template> tag as wrapper instead of a div solved the problem.
47+
48+
49+
* Remove also the previously removed polyfills-loader from the webpack config. ([f532648](https://github.com/Patternslib/patterns/commit/f532648308ced867938d4546aa56e4303c5476f9))
50+
51+
52+
* **styles:** Fix relative import path of SASS files. ([6a28f02](https://github.com/Patternslib/patterns/commit/6a28f02529ce1aac89d03dfb46d2d0e89cd78f30))
53+
54+
The SASS docs suggest to use real relative imports - we don't have a load-path definition here.
55+
sass-migrator also wouldn't migrate with this kind of imports.
56+
57+
58+
* **styles:** Fix SASS nesting warnings. ([75701d7](https://github.com/Patternslib/patterns/commit/75701d724f810bfd93dc80c473e4b2d76fb50ea7))
59+
60+
61+
* **styles:** Migrate using sass-migrator module. ([1bab49d](https://github.com/Patternslib/patterns/commit/1bab49dab3d1a1957e9eb3c2fc5c414f439480bd))
62+
63+
64+
65+
### Maintenance
66+
67+
68+
* @patternslib/dev upgrade - Adapt Makefile. ([1d2877d](https://github.com/Patternslib/patterns/commit/1d2877d8e34aeabd72258be18c213812990e7042))
69+
70+
71+
* @patternslib/dev upgrade - create eslint.config.js. ([e31f9d6](https://github.com/Patternslib/patterns/commit/e31f9d67e41c0fddf499768472b98e27037c2e12))
72+
73+
74+
* @patternslib/dev upgrade - remove .husky directory in favor of git hooks. ([61094b8](https://github.com/Patternslib/patterns/commit/61094b8e7a0b09fa75014119ed19ec1cda5bb889))
75+
76+
77+
* @patternslib/dev upgrade - remove old .eslintrc.js. ([3eceed2](https://github.com/Patternslib/patterns/commit/3eceed26fd6605c5e00bb11f42eebe9afb1ca0f5))
78+
79+
80+
* Document patternslib global variables. ([25dab59](https://github.com/Patternslib/patterns/commit/25dab598352c9bba6fd3f416938925b740ce0e83))
81+
82+
83+
* Early exit the SubmitEvent.submitter polyfill, if it is already available. ([93841ba](https://github.com/Patternslib/patterns/commit/93841bae6ec23f0c2b6eebbe1e0d5444791f699d))
84+
85+
86+
* Fix eslint errors. ([1d13a7d](https://github.com/Patternslib/patterns/commit/1d13a7d1e0c7974901b3198266c073dd137eee4a))
87+
88+
89+
* Remove the polyfills-loader script. ([6fee709](https://github.com/Patternslib/patterns/commit/6fee70943aee3d2d963c7b5765ca5de5684282dc))
90+
91+
The few necessary polyfills are now loaded by Patternslib itself.
92+
This script was empty and is now removed.
93+
94+
95+
* Remove the public path helper script. ([20dd150](https://github.com/Patternslib/patterns/commit/20dd150319f45b4153830119cc874212e6584e3f))
96+
97+
The public path helper script did set the webpack public path to find
98+
the path where the bundle was located and to correctly find the chunk
99+
directory. The logic was based on finding the URL of the last loaded
100+
script. This was not even always correct.
101+
102+
It was also possible to override it via `window.__patternslib_public_path__`.
103+
104+
Since quite some thime, this is not necessary anymore as webpack handles
105+
these path issues on it's own.
106+
107+
This dead code is now removed.
108+
109+
110+
* Upgrade @patternslib/dev. ([ea2711e](https://github.com/Patternslib/patterns/commit/ea2711ee8b47da626263a850ff4e78bf9aca9f6c))
111+
112+
113+
* Upgrade dependencies. ([2ed29fc](https://github.com/Patternslib/patterns/commit/2ed29fc079566cf9d508b25e6a3ecfbc07ebd702))
114+
7115
## [9.10.1-beta.2](https://github.com/Patternslib/patterns/compare/9.10.1-beta.1...9.10.1-beta.2) (2025-02-04)
8116

9117

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patternslib/patternslib",
3-
"version": "9.10.1-beta.2",
3+
"version": "9.10.1-beta.3",
44
"title": "Markup patterns to drive behaviour.",
55
"description": "Patternslib is a JavaScript library that enables designers to build rich interactive prototypes without the need for writing any Javascript. All events are triggered by classes and other attributes in the HTML, without abusing the HTML as a programming language. Accessibility, SEO and well structured HTML are core values of Patterns.",
66
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)