From 2f5992ea04744a52c8a9fa85746fc098513f0d48 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Wed, 15 Feb 2023 21:35:36 +0100 Subject: [PATCH] Release new version. --- CHANGES.md | 30 +++++++++++++++++++++++++++++- package.json | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 7c7912cb5..a44e6ab77 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,34 @@ # Changelog + +## [5.0.4](https://github.com/plone/mockup/compare/5.0.3...5.0.4) (2023-02-15) + + +### Bug Fixes + + +* **pat-datatables:** Downgrade datatables to 1.12 to fix import errors. ([585ea8a](https://github.com/plone/mockup/commit/585ea8a972cba364f52c5fcf7d3927e01b9d87a4))Co-authored-by: toalba +Co-authored-by: Robert Niederreiter + +* **pat-datatables:** Fix tests. ([9923015](https://github.com/plone/mockup/commit/9923015d6a366ae19b1895301dce1c00845cb587))Fix pat-structure test by requiring datatables from the test-setup +beforehand loading the test files. This is a necessary step for +datatables which wouldn't otherwise be attached to jQuery in tests. +Also freshly wrap the element with jQuery in the Patterns init method +after datatables was imported. A non-jQuery setup does not work at the +moment. + + +### Maintenance + + +* **cleanup:** Replace deprecated API calls. ([14c36bc](https://github.com/plone/mockup/commit/14c36bc8ec5b17f60defe9c2aafc1a7e4270c91a)) + +* **pat-datatables:** Actually, include all the datatables libraries. ([67ad865](https://github.com/plone/mockup/commit/67ad865bbd659b5c2b5626ce120bcc3c278aac66))We're depending on them anyways, so let's import all. +It's just a few kb of Bootstrap initialization code. + +* Remove regenerator-runtime. This is not needed anymore. ([537219e](https://github.com/plone/mockup/commit/537219ec04bb0562d215409de8b08ee55935193a)) + ## [5.0.3](https://github.com/plone/mockup/compare/5.0.2...5.0.3) (2023-02-13) @@ -908,4 +936,4 @@ This can be provided by an external bundle. * Remove Mockup's ``pat-eventedit``, which was unused. Instead use Patternslib' ``pat-date-picker``, ``pat-depends`` and ``pat-validation``. -* Restructure searchbox markup for mobile navigation as offcanvas sidebar. +* Restructure searchbox markup for mobile navigation as offcanvas sidebar. \ No newline at end of file diff --git a/package.json b/package.json index 30372dbc2..264b857a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@plone/mockup", - "version": "5.0.3", + "version": "5.0.4", "description": "A collection of client side patterns for faster and easier web development", "license": "BSD-3-Clause", "main": "./src/patterns.js",