Skip to content

Commit 836c912

Browse files
committed
Release new version.
1 parent 16ca0ad commit 836c912

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

CHANGES.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,56 @@ See the [history](./docs/history/index.md) for older changelog entries.
44

55

66

7+
## [9.8.0-beta.2](https://github.com/Patternslib/patterns/compare/9.8.0-beta.1...9.8.0-beta.2) (2022-12-19)
8+
9+
10+
### Bug Fixes
11+
12+
13+
* **Build:** Also include necessary _sass directory in the npm package. ([70da6b1](https://github.com/Patternslib/patterns/commit/70da6b1a1d791e36beda951dd1b7feebff695a33))
14+
15+
* **Build:** Also include the webpack configs in the npm package. ([f6bf2bf](https://github.com/Patternslib/patterns/commit/f6bf2bf3dfba9616b60fb599db305ad1173c1a45))Previous packages depending on @patternslib/patternslib also extended
16+
Patternslib' webpack configs. Include these configs for backwards
17+
compatibility.
18+
19+
* **pat-bumper:** Remove style import from the patterns SCSS file. ([094010b](https://github.com/Patternslib/patterns/commit/094010bf5a315af2220b2d446afb31e442e01852))
20+
21+
22+
### Breaking Changes
23+
24+
25+
* **Build:** Separate modernizr into a own bundle. ([875b041](https://github.com/Patternslib/patterns/commit/875b04112e93f85c7215565151e80e0d44ae0649))Since Patternslib 9.0.0-alpha.0 where we introduced webpack module
26+
federation for our bundles, Modernizr is loaded asynchronously and
27+
applying it's CSS classes a tick too late. For example, the change from
28+
the `no-js` to the `js` class was done while the tiles have already been
29+
drawn and visible on the screen, resulting in screen flickering. There
30+
are a number of projects which depend on Modernizr being applied early.
31+
32+
This change now fixes the problem by separating the Modernizr build from
33+
the Patternslib bundle.
34+
35+
If you depend on Modernzir, please include the new `modernizr.min.js` bundle in
36+
a script tag, preferably before the Patternslib bundle `bundle.min.js`.
37+
38+
The global switch "window.__patternslib_disable_modernizr" is also removed, as
39+
it got useless.
40+
41+
42+
### Maintenance
43+
44+
45+
* Add modernizr.min.js bundle to main index.js demo file for demonstration. ([96a7ed2](https://github.com/Patternslib/patterns/commit/96a7ed25c5cfe8e3c4454892ae787007ffa53467))
46+
47+
* **Build:** Directly build the modernizr bundle. ([ee2acdc](https://github.com/Patternslib/patterns/commit/ee2acdc686bc26e799026e1ca8d1e434ad0f79c4))Do not use an webpack entry to build the modernizr bundle with an
48+
webpack runtime overhead. Instead, build it directly but abusing the
49+
webpack CopyPlugin transform mechanism. We could also build the
50+
modernizr bundle from the Makefile but that wouldn't provide the file
51+
when watching or when running webpack-dev-server.
52+
53+
* **Build:** Optimize modernizr configuration. ([e1fd8de](https://github.com/Patternslib/patterns/commit/e1fd8dee625257cb2922429a6eb828d29d053f7d))Remove unnecessary tests in .modernizrrc.js and slim down the build size.
54+
55+
* Upgrade dependencies. Also Upgrade to jQuery 3.6.2. ([071e084](https://github.com/Patternslib/patterns/commit/071e08427031bd1fad7bebccefd11f34457c915a))
56+
757
## [9.8.0-beta.1](https://github.com/Patternslib/patterns/compare/9.8.0-beta.0...9.8.0-beta.1) (2022-12-11)
858

959

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patternslib/patternslib",
3-
"version": "9.8.0-beta.1",
3+
"version": "9.8.0-beta.2",
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)