8.1.0 (2022-06-11)
- docs: Add history section to docs and move old history from the changelog to this new section. (7c0e2ff)
8.1.0-alpha.4 (2022-06-08)
- pat push: Desktop notifications: Ask for permission. (ccbf731) Ask for permission to send desktop notifications after any click on the document. This bypasses the browser restrictions on request for permission dialoges that are not shown if there hasn't been a user interaction.
- pat push: Restructure code. (2dbe44f) Restructure code and narrow down the error handling for fetching to only the fetch block.
8.1.0-alpha.3 (2022-06-03)
-
pat inject: Add developer documentation with inital version method call flow diagram. (de13186)
-
pat switch: When logging errors, add the failing element for better debugging. Also, do not log an error twice. (83f3df3)
8.1.0-alpha.2 (2022-06-02)
- pat close panel: Do not break if no parent .has-close-panel element was found. (894c05c)
-
Build: Module Federation - Remove the underscore version fixture. (87347b7) Remove the underscore version fixture in webpack.mf.js. Since unterscore 1.13.4 this fixture isn't necessary anymore.
-
docs: Document that you only have to iport module_federation if you are creating a host bundle. (bccd803)
8.1.0-alpha.1 (2022-05-31)
- pat push: If a notification url is given, open it when clicking on the desktop notification. (c36e51f)
-
pat push: Fetch desktop notification data only when desktop notifications are allowed. (05d443b)
-
push kit: Remove unused desktop notification code. Use pat-push instead. (c702833)
8.1.0-alpha.0 (2022-05-30)
- pat modal: Allow to configure a injection source and target to support modals in modals. (1d27c08)
Add configuration parameter for
source
andtarget
. This allows to reuse an existing #pat-modal instance and to open modals in modals.
-
Build: Add prerelease-alpha and prerelease-beta as Makefile targets. (10b9e24)
-
Upgrade dependencies. (71e31cf)
-
pat modal: Document panel-header-content. (ac7000e)
8.0.3 (2022-05-23)
- Build: Don't use index.js entry which should be used for module federation and would break chunk loading if used in a non-mf environment. (ad5381c)
-
Build: Support 2FA when releasing. (e8f02b4) Remove non interactive ci-mode from Makefile to allow for OTP prompt and two-factor auth on npm. Also remove dry-run as we now have to confirm each step anyways.
-
Build: Upgrade dependencies. (f2ac7ad)
-
Build: Use Underscore version 1.13.3 for module federation config. (403b9c8)
-
Be less verbose and use more debug log messages. (b05c03f)
-
pat modal: Update demo, re-activate autoload modal. (09d0e2b)
8.0.2 (2022-05-19)
-
core base: Don't initialize a already initialized pattern. (d943de6) Improve the previous check by setting the var earlier.
-
core registry: Do not reinitialize and already initialized patterns registry. (809c119)
8.0.1 (2022-05-18)
-
Bundle: Add the keyword "patternslib" to the npm package registry. (54fe5ba)
-
Bundle: Module Federation: Allow to pass the shared dependencies explicitly. When passed package.json dependencies are not automatically added. (7eba043)
-
Bundle: Upgrade dependencies. (d0a546b)
8.0.0 (2022-05-17)
- Build: Dynamic Module Federation. Add config files and helpers. (7e7a2af) With module federation you can share dependencies over multiple bundles without loading them multiple times.
The dynamic part here allows the host to not know anything about it's remotes. This concept can be used for add-ons to a base bundle. Thanks @manfredsteyer for the help getting this to work!
Use the webpack/webpack.mf.js to extend your own webpack configuration with dynamic module federation support. In your main bundle (the "host") use webpack/dynamic_mf.js to configure the entry point.
For more information see: docs/developer/module-federation.md. For the general concept see: https://webpack.js.org/concepts/module-federation/
Co-authored-by: Johannes Raggam [email protected] Co-authored-by: Manfred Steyer [email protected]
- Build: Register jQuery globally without expose-loader. (dca0842) Remove the dependency on expose-loader and register jQuery globally in the globals.js module.
Import this module early to have jQuery registered for scripts which depend on a global jQuery object.
This also fixes an additional request made by the expose-loader for asynchronously loading jQuery.
- core dom: dom.template engine. (61ca46f)
Add a simple template engine in
core.dom.template
based on JavaScript template literals.
-
Build: Compatibility with Jest 28. (1795087) Don't transform preact.
-
Build: Compatibility with Jest 28. (69b7934) Remove jest-raw-loader dependency and add own loader based on keplersj/jest-raw-loader#239 for compatibility with Jest 28.
-
Build: Compatibility with Jest 28. (5679db0) Add jest-environment-jsdom as of jest 28 that isn't shipped anymore by default.
-
Build: Upgrade dependencies. (3260038)
-
Build: Upgrade fullcalender. (0b08573)
-
Build: Upgrade luxon to version 2. (5d12b9e)
-
Bundle: Upgrade jest to version 28. (4ac079f)
- core registry: Use a global pattern registry. (737f3ed) Previously it was possible to use multiple pattern registries when multiple instances of the registry were used, e.g. in different bundles.
With this change we do use only one pattern registry storage which is
shared across instances of core.registry
in multiple bundles.
This is a transparent change - the Patternslib registry API has not
changed at all. Just keep using registry.scan
,
registry.register
, etc.
But if necessary, there is a PATTERN_REGISTRY
export in core.registry
which points to window.__patternslib_registry
, a singleton in the global
namespace which is shared across instances of the registry.