Releases: Patternslib/dev
Release 3.1.3
3.1.3 (2022-11-18)
Bug Fixes
- Webpack: Add the version banner only to the entry point files. (6f82df1)This fixes a problem where each chunk file was changed with a new release, even if nothing else than the version has changed.
Adding the version banner only to the entry points still allows to check the version while keeping the changeset for releases small.
Maintenance
- Upgrade dependencies. (b2167b4)
Release 3.1.2
Release 3.1.1
Release 3.1.0
3.1.0 (2022-11-15)
Features
- Allow to add the compiled bundles to npm packages. (84bdefd)Creating a npm release with the Makefile prepares now a bundle build
with the correct package version added as a comment to the bundle files.
The compiled bundle can then be uploaded to npm if it is part of the git
repository (included by .gitignore) or part of the npm release
(preferred, included by .npmignore).
Adding the compiled bundle to npm allows to directly include it via a
CDN like so:
https://cdn.jsdelivr.net/npm/@patternslib/[email protected]/dist/bundle.min.js
or
https://unpkg.com/@patternslib/[email protected]/dist/bundle.min.js
We have to compile the bundle with the correct version BEFORE the npm
package is created with release-it. The next version is queried using
the LEVEL parameter (set by the different release targets) and the
"semver" tool.
Maintenance
- Upgrade dependencies. (e687405)
Release 3.0.0
3.0.0 (2022-10-15)
Features
- Build: Add Module Federation configuration for webpack. (b84c2fb)
Breaking Changes
-
Build: Remove the showdown-prettify loading config and the now unused imports-loader. (27ba90f)
-
Tests: Remove dependency on jQuery. (259d801)Use the following in your test setup to provide jQuery to external
libraries if they depend on a global jQuery object or extend from the
jest config from @patternslib/patternslib:
import jquery from "jquery";
global.$ = global.jQuery = jquery;
- Tests: Remove the Dependency on @patternslib/patternslib. (afe8fee)If you need Patternslib specific test setup, extend from Patternslib.
Maintenance
- Upgrade dependencies. (f868454)
Release 2.7.2
Release 2.7.1
Release 2.7.0
Release 2.6.0
Release 2.5.0
2.5.0 (2022-08-19)
Features
- Makefile: Add empty bundle-pre target for customization. (0290e61)The empty bundle-pre target is run before the bundle target and can be
overwritten in extending projects to add some tasks before bundle generation.
This can be used to unlink and reinstall any dependencies before bundle generation.
Maintenance
- Upgrade dependencies. (64094da)