Skip to content

Releases: Patternslib/dev

Release 3.1.2

15 Nov 21:54
Compare
Choose a tag to compare

3.1.2 (2022-11-15)

Bug Fixes

  • Fix Makefile to not emit an error when no compiled bundle is found. (15363a7)

Release 3.1.1

15 Nov 21:49
Compare
Choose a tag to compare

3.1.1 (2022-11-15)

Bug Fixes

  • Fix Makefile error with GitHub release. (7df20db)

Release 3.1.0

15 Nov 21:43
Compare
Choose a tag to compare

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

Release 3.0.0

15 Oct 13:13
Compare
Choose a tag to compare

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

Release 2.7.2

28 Sep 09:33
Compare
Choose a tag to compare

2.7.2 (2022-09-28)

Maintenance

Release 2.7.1

20 Sep 16:19
Compare
Choose a tag to compare

2.7.1 (2022-09-20)

Maintenance

Release 2.7.0

15 Sep 11:20
Compare
Choose a tag to compare

2.7.0 (2022-09-15)

Features

  • Define the close, show and showModal methods in dialog elements. (3b59aed)

Maintenance

Release 2.6.0

05 Sep 13:02
Compare
Choose a tag to compare

2.6.0 (2022-09-05)

Bug Fixes

  • Fix GitHub Actions branch name. (e59126a)

Maintenance

Release 2.5.0

19 Aug 15:40
Compare
Choose a tag to compare

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

Release 2.4.0

11 Aug 15:20
Compare
Choose a tag to compare

2.4.0 (2022-08-11)

Features

  • Webpack: Add bundle name and version to the banner. (1058b6d)For this, you have to pass your project's package.json as argument to the webpack config factory.
    Both values - name and version - are taken from the package.json data.

  • Webpack: Add config export with named parameters. (f7b2471)Add config export along with the default export to support named parameters via parameter destructuring.

Maintenance

  • Upgrade dependencies. (9039642)

  • Webpack: Correct API doc for shared_from_dependencies. (f2b0031)