Skip to content

Latest commit

 

History

History
1355 lines (525 loc) · 54 KB

CHANGES.md

File metadata and controls

1355 lines (525 loc) · 54 KB

Changelog

5.2.0-alpha.11 (2024-09-18)

Features

  • add filter to contentbrowser (5c1fd44)

  • add icon resolver/ resolveIcon action (aa5097c)

  • add upload pattern WIP (3fe361b)

  • pat contentbrowser: extend features and polishing. (aa78589)

  • WIP svelte content-browser (da73b82)

Bug Fixes

  • back to svelte3, fix selector in tinymce init of ContentBrwser (c03f086)

  • clean up (17a45c6)

  • make inserting images working (949644c)

  • pat structureupdater: re-enable pattern and cleanup README (a3f3720)

  • pat-tinymce after rebase and svelte update 4.x (fcb978c)

  • working image and link in Tinymce (bcff710)

  • working internal/external link (0fa744c)

5.2.0-alpha.10 (2024-08-26)

Bug Fixes

  • pat tinymce: Save value on 'change' event to fix validation. (1a4bc14)

5.2.0-alpha.9 (2024-08-20)

Bug Fixes

  • pat modal: Update prependContent selector to avoid duplicated messages in modal. (020a943)

  • pat structure: Fix Sass compiler warnings (9bbcf00)

Maintenance

  • dependency updates (08fc178)

  • upgrade dependencies and add tinymce 7.3.0 note (use 7.2.1 for now) (05100b0)

5.2.0-alpha.8 (2024-07-16)

Bug Fixes

  • pat modal: Translated close button label. (7080868)

  • pat tinymce: Backport open source template plugin from TinyMCE 6.x (0211093)

Maintenance

  • dependency upgrades (8ef97dd)

  • pat tinymce: upgrade to TinyMCE 7.1 and latest language pack (279d4ea)

5.2.0-alpha.7 (2024-04-25)

Features

Bug Fixes

  • pat structure: add test for order-support (f3ffa0c)

  • pat structure: enable and fix skiped tests (018fa28)

Maintenance

  • docs: Add a Pattern overview page. (3b70681)

  • docs: Add chapter about Mockup usage. (f7988b2)

  • docs: Improve the documentation. (1226087)

5.2.0-alpha.6 (2024-02-28)

Maintenance

  • explicit datatables.net* resolution versions (e0a5ee9)

5.2.0-alpha.5 (2024-02-27)

Bug Fixes

  • pat-tinymce: fix duplicating image node when updateing already inserted image. (d7c1ae7)

5.2.0-alpha.4 (2024-02-26)

Bug Fixes

  • calculate select2 results max-height correctly when they are opened as "dropup" (4dfebfe)

  • correct selector for current select2 results list for calculating max-height (6a51881)

Maintenance

5.2.0-alpha.3 (2023-12-12)

Bug Fixes

  • pat structure: do not close filter popover when selecting query criterias (firefox) (40c6b9e)

Maintenance

5.2.0-alpha.2 (2023-10-31)

Bug Fixes

  • pat tinymce: call link/image plugins on the correct tiny instance. (9228721)

5.2.0-alpha.1 (2023-10-24)

Bug Fixes

  • pat tinymce: fix path to translations (61adac7)

5.2.0-alpha.0 (2023-10-20)

Features

  • pat tinymce: Update TinyMCE to version 6 (9f22404)

Bug Fixes

  • pat relateditems: Do not auto-close upload dropdown when clicking "browse" button. (cd30774)

  • pat relateditems: Fix styling when inside a modal. (e5d5aa9)

Maintenance

5.1.5 (2023-09-19)

Bug Fixes

  • pat tinymce: Properly await the select2 initialization when using it from the insert image or insert link dialogs (#1342) (a580112)

Maintenance

5.1.4 (2023-08-09)

Bug Fixes

  • pat structure: Fix popover-structure-columns, use 2-column layout (9fb499e)

  • pat structure: Fix sticky position when toolbar is on top (2b20d9b)

  • pat tinymce: Fix image modal with selected image. (da50ee3)

Maintenance

  • Docs: fix table in modal. (f2eb54a)

5.1.3 (2023-07-30)

Maintenance

  • Add sinon to in jest config. (7aa8a9e)

  • Dependencies: Upgrade dependencies. (b41d4ca)

5.1.2 (2023-07-26)

Bug Fixes

Maintenance

  • Upgrade Bootstrap to 5.3.1 (ccb066a)

5.1.1 (2023-05-31)

Maintenance

5.1.0-alpha.5 (2023-05-30)

Maintenance

  • Upgrade dependencies. (83189bf)

    Also use @patternslib/dev 3.3.5 which fixes missing build files in the npm release.

5.1.0-alpha.4 (2023-05-17)

Bug Fixes

  • Get the remote bundle name from package.json. (079c3c2)

  • Include the select2 patch in the npm package. (6b8d0fb)

  • pat reccurrence: Fix default selected range option if there's no "repeat forever" button (which is default in the event behavior). (06441b1)

  • pat tinymce: Add urlconverter_callback and do not convert external links/images urls (aca7201)

  • pat tinymce: Do not remove current paragraph when inserting image. (856b519)

Maintenance

5.1.0-alpha.3 (2023-04-22)

Bug Fixes

  • pat textareamimetypeselector: Async initialization of textareas. Fixes TinyMCE in modals not showing up (see mosaic) (c6d359c)

Maintenance

  • pat-contentloader: Fix demo with loading an external page by loading itself. (20f3b02)

  • Upgrade dependencies. (0421f2a)

5.1.0-alpha.2 (2023-04-17)

Features

  • Update Bootstrap Icons 1.10.4 (9a2111a)

  • Upgrade bootstrap to 5.3.0-alpha3 (4d1f63e)

Bug Fixes

  • pat recurrence: Fixes for 'Repeat on' for Yearly and Monthly options (d57d9c2)

  • pat tinymce: Do not add picture-variants classes and attributes to external images. (a6e6161)Fixes: #1302

Maintenance

  • Version resolution for nwsapi (877dfca)

5.1.0-alpha.1 (2023-03-30)

Features

  • add pat-checklist (a6d6ffc)

  • pat select2: update styles to more closely resemble styles of classic.demo.plone.org (6cb0822)

  • update bootstrap to 5.3.0-alpha2 (7e9c832)

Bug Fixes

  • pat recurrence: Various UI issues in recurrence modal. (0c74143)

5.1.0-alpha.0 (2023-03-04)

Maintenance

  • update dependencies (f469155)@patternslib/patternslib=9.8.1-alpha-0 bootstrap=5.3.0-alpha1 bootstrap-icons=1.10.3

5.0.5 (2023-02-15)

Bug Fixes

  • pata-datatables: Need to downgrade due to incompability. (f5c156c)

5.0.4 (2023-02-15)

Bug Fixes

  • pat-datatables: Downgrade datatables to 1.12 to fix import errors. (585ea8a)Co-authored-by: toalba tb@kleinundpartner.at Co-authored-by: Robert Niederreiter rnix@squarewave.at

  • pat-datatables: Fix tests. (9923015)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)

  • pat-datatables: Actually, include all the datatables libraries. (67ad865)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)

5.0.3 (2023-02-13)

Bug Fixes

  • pat-relateditems: Fix upload view. (817d0e1)

Maintenance

  • Cleanup: Autoformat with prettier. (389b884)

  • Cleanup: Fix eslint warnings. (ff2def9)

  • Cleanup: Fix more eslint warnings. (e885446)

  • Cleanup: Fix remaining eslint warnings. (38b9a85)

  • Cleanup: Remove unused tests. (f7a9bd3)

  • Cleanup: Replace deprecated jquery API usage. (3238565)

  • Docs: Update development information in the README. (7a4a16f)

  • Enable eslint and testing in GHA and the Makefile. (014d872)

5.0.2 (2023-02-13)

Bug Fixes

  • pat recurrence: Correct starttime of RDATE in recurrence. (e70414f)

5.0.1 (2023-02-10)

Bug Fixes

  • pat-select2: Do not replace multi select fields for pat-querystring. (f096319)A select[multiple] field without the multiple pattern option set is no longer replaced with a input[type=hidden]. This fixes a problem in pat-querystring where switching from one criteria to another duplicated the Select2 fields. Select2 deals just fine with select[multiple] fields. The replacement part should be evaluated for validity and eventually removed for a future Mockup release.

5.0.0 (2023-02-09)

Features

  • pat-livesearch: Make the timeout to hide the livesearch after focus was lost configurable. (d939dd8)

  • pat-relateditems: Add ajaxTimeout option to configure the time to wait before ajax requests are done. (44cdcc4)

  • pat-select2: Add ajaxTimeout option to configure the time to wait before ajax requests are done. (cd1d491)

Bug Fixes

  • pat-relateditems: Adapt to recent changes in pat-select2. (1058ba8)

  • pat-select2: Do not load the english language translation files. English is the default language and no englich translation file exists. (a4f6ad7)

  • pat-select2: Fix replacing the select with an input in multiple selection selects. (9a27fd3)

Maintenance

  • pat structure: fixing structure tests (2b233c0)

  • pat tinymce: Uncomment and fix more tests (6001867)

  • pat-autotoc: Remove test for jQuery plugin registration. That mode isn't supported anymore. (391353e)

  • pat-livesearch: Fix tests. (69471b1)

  • pat-relateditems: Fix tests. (d917e4c)

  • pat-relateditems: Modernize code. (d8f2daa)

  • pat-select2: Fix tests. (1ed3d6d)

  • pat-select2: Fix tests. (a8cf916)

  • pat-select2: Modernize code. (5588e96)

  • pat-sortable: Fix tests. (39efedd)

  • update iconmap.json (41ba5e2)

  • Upgrade DataTables to 13. (54f4d29)

  • Upgrade dependencies. (8590f2b)

5.0.0-beta.11 (2023-01-13)

Bug Fixes

  • pat recurrence: fix wrong month in BYENDDATE and RDATE when adding and occurrence (76099ff)

5.0.0-beta.10 (2023-01-11)

Bug Fixes

  • pat recurrence: initial editing and correct time for additional RDATE values (195ad31)

5.0.0-beta.9 (2023-01-11)

Maintenance

5.0.0-beta.8 (2023-01-11)

Bug Fixes

  • pat recurrence: Fix recurrencewidget to initialize saved values correctly and fix RDATE and EXDATE editing (f2f8336)

Maintenance

  • pat textareamimetypeselector: Fix tests. (99e646a)

5.0.0-beta.7 (2022-12-12)

Bug Fixes

  • pat tinymce: Add plonelink and ploneimage to valid_plugins always. (9319689)

Maintenance

  • pat tinymce: Cleanup old code no longer needed. closes gh-1198 (6e2803f)

5.0.0-beta.6 (2022-12-12)

Bug Fixes

  • Also include webpack.config.js in the build which is extended in plone.staticresources. (ac4e717)

5.0.0-beta.5 (2022-12-12)

Features

  • Build: Include the build in the npm package. (626a267)The compiled build is now included in npm packages by including the dist directory in .npmignore. To not increase the package size too much the JavaScript map files are not included. Now you can include Patternslib by using unpkg or jsDelivr like so:

https://unpkg.com/@patternslib/pat-code-editor@4.0.0/dist/bundle.min.js or https://cdn.jsdelivr.net/npm/@patternslib/pat-code-editor@4.0.0/dist/bundle.min.js

  • pat tinymce: Improve tinymce async initialization. Proper fallback when specific languages are not found, and avoid errors for missing or not found plugins. fixes gh-1253 (a4d4e78)

Bug Fixes

  • pat modal: Fix close selector for default cancel buttons. (4905251)

  • pat recurrence: Update occurrences on every field change/blur. (4bf7430)

  • pat registry: Fix record editing modals. (8a864cf)

  • pat structure: fix escaped HTML in crumb and rename title. (88ec616)

  • pat-datatables: Fix DataTables problem with new version. (9081186)The 1.13.1 series of datatables-net introduced an import error. Fixing the version to the previous version which was known to work and exculde some imports with produce the same failure.

Maintenance

  • Build: Upgrade dependencies. (7a46c8f)

  • define YARN in our Makefile. (b589434)

  • Maintain own test setup config. (238ff3b)Don't extend from @patternslib/patternslib for setting up tests. The config files are not included in the npm package distributions anymore.

  • pat-texteditor: Use class based extension of @patternslib/pat-code-editor. (1557679)

  • pat-validation: Update customization of error-template which is now a method of the Validation class. (70c8c6b)

5.0.0-beta.4 (2022-11-30)

Features

  • i18n: export "plone" and "widgets" translation domains (9a8858d)

  • pat livesearch: toggle d-none instead of using the style attribute to show/hide the results (c17c87d)

  • pat structure: define translatable columns and translate with plone domain. (117e480)

Bug Fixes

  • pat structure: Bring back state color to review_state column. (e02fe26)

Maintenance

  • build: Update dependencies. (2547019)

5.0.0-beta.3 (2022-11-23)

Maintenance

5.0.0-beta.2 (2022-11-18)

Maintenance

5.0.0-beta.1 (2022-11-18)

Bug Fixes

  • Build: Temporarily disable linting as long we're in prerelease mode. (8387ebf)

  • Build: Temporarily disable linting/testing as long we're in prerelease mode. (b740390)

  • Build: Use single-colon target for check to overwrite the original from @patternslib/dev. (316a9eb)

Maintenance

  • Build: Upgrade dependencies. (cb3d465)

  • Bundle: Upgrade dependencies. (32f2d86)

5.0.0-beta.0 (2022-11-18)

5.0.0-alpha.27 (2022-11-17)

Bug Fixes

  • pat tinymce: remove picture-variants defaults (47a9d6a)

  • set correct max-height for select2-results area (4152adc)

Maintenance

5.0.0-alpha.26 (2022-11-14)

Bug Fixes

  • Build: Fix webpack cacheGroup optimization configuration. (df853db)

5.0.0-alpha.25 (2022-11-07)

Features

  • pat tinymce: Only import plugins that are actually enabled (85846e6)

  • Use webpack's splitChunks optimization for generating chunks (6209520)

Bug Fixes

  • core i18n: fix tests (65f0379)

  • pat markspeciallinks: fix tests (67e031d)

  • pat recurrence: Fix editing weekly weekdays. (5d288c7)

  • pat recurrence: Fix pagination of recurrence dates to not close overlay. (a011ba2)

Maintenance

  • Build: Update path to the webpack module federation config. (bfdaf25)

  • Build: Upgrade to @patternslib/patternslib 9.7.0-alpha.2 and @patternslib/dev to 3.0.0. (1fa9d49)

  • Do not use --env for environment variables (63a33ff)

  • pat modal: Fix tests. (aacd9fa)

  • pat toggle: Fix tests. (fd8f5ea)

  • pat-livesearch: Fix tests. (20e5876)

  • Tests: Extend the jest config from Patternslib which has important mocks in place. (aca56b9)

  • Tests: Remove unneeded test setup which comes already from @patternslib/patternslib. (accf632)

  • Tests: Rename to setup-tests for consistency with Patternslib. (a7d65ad)

  • Upgrade dependencies. (796804a)

  • Upgrade Patternslib to 9.7.0-alpha.5. (4866f30)

5.0.0-alpha.24 (2022-10-03)

Features

  • pat-tinymce: add table header by default (c6e27bb)

Bug Fixes

  • pat-tinymce: fix inserttable button tooltip (663b7f5)

  • pat-tinymce: Translate inserttable button tooltip. (9878245)

Maintenance

  • Build: Update Bootstrap 5.2.2 (54c731f)

5.0.0-alpha.23 (2022-10-03)

Bug Fixes

  • Docs: Fix eleventy documentation to include correct Prism theme. (8394c6f)

  • pat relateditems: call .stopPropagation on events for breadcrumbs links. Fixes: gh-1221 (3cdca38)

Maintenance

  • Build: Unlink all eventually linked @Patternslib dependencies before building bundles. (4501e3c)

  • Build: Upgrade dependencies. (b2e3184)

5.0.0-alpha.22 (2022-09-21)

Bug Fixes

Maintenance

  • Build: upgrade Bootstrap to 5.2.1 (73afbcc)

5.0.0-alpha.21 (2022-08-11)

Features

  • pat date-picker: Add pat-date-picker from @patternslib/patternslib. (0fa79a4)

Maintenance

  • Build: Include bundle name and version in generated files (Feature of @patternslib/dev 2.4.0.) (ffbc1c4)

  • Upgrade dependencies. (1025636)

5.0.0-alpha.20 (2022-08-11)

Bug Fixes

  • pat modal: fix zIndex of pat-modal, tinymce uses 1300, so we have to be higher (2f4fd88)

  • pat modal: make it respect backdropOptions.zIndex if it is set (50c1696)

  • pat tinymce: fix zIndex for link modals in tinymce to be higher than 1300 (2618a38)

5.0.0-alpha.19 (2022-08-03)

Features

  • pat textareamimetypeselector: Initialize all textareas with the same name. (ff206b9)

Bug Fixes

  • pat querystring: Do not close modal if querystring criteria is removed. (d22bb0b)

  • pat relateditems: Minor CSS fixes for uploader dropdown. (7c730eb)

  • pat schemaeditor: Fix adding fields to fieldsets, and drag and drops between fieldsets. Prevent adding fields to fieldsets from behaviors. fixes gh-1201 (9c3ec96)

  • pat search: Use core utils loader. (a67f76e)

5.0.0-alpha.18 (2022-07-21)

Maintenance

  • Build: Update Boostrap to 5.2.0 and Boostrap Icons to 1.9.1 (92b33cc)

5.0.0-alpha.17 (2022-07-18)

Bug Fixes

  • pat relateditems: Make templates customizeable again via patternoptions (984a9a6)

5.0.0-alpha.16 (2022-07-12)

Features

  • i18n: Add i18n script for gettext extraction and document the use of it. (93ddfd7)

  • pat depends: Add pat-depends from @patternslib/patternslib to the build. (f9acd2a)This allows for optional form fields or other HTML‌ structure which depen on the value of form inputs.

Bug Fixes

  • Build: Fix Makefile and override make bundle target from @patternslib/dev. (dbbca9d)

  • i18n: Translatable strings need to be in one line. (66e6358)

  • pat tinymce: Fix linkType mismatch in link/image modal (12252a5)

5.0.0-alpha.15 (2022-07-11)

5.0.0-alpha.14 (2022-07-08)

Bug Fixes

  • pat modal: Use jquery-form to be able to upload binary data via AJAX. (7466336)

Maintenance

  • Build: Upgrade @patternslib/patternslib to 9.0.0-beta.1. (cc97892)

  • pat manageportlets: Load jquery-form asynchronously. (29145cf)

  • pat modal: Fix eslint errors. (e5506ee)

5.0.0-alpha.13 (2022-07-08)

Features

  • Register jQuery and bootstrap globally with the main mockup bundle. (a58eeab)

Bug Fixes

  • Correct prettier config file name. (545bd59)

Maintenance

  • Upgrade to @patternslib/dev 2.3.0. (3c3dabb)

Breaking Changes

5.0.0-alpha.12 (2022-07-06)

Maintenance

  • Adapt to @patternslib/dev module federation changes. (730ab0f)

  • Build: Upgrade dependencies. (b297ac4)

  • Build: Upgrade Patterns to 9.0.0-beta.0 and pat-code-editor to 3.0.0. (d6996bf)

  • Cleanup: prettier whole code base. (e19f23e)

  • Cleanup: Remove dependency regenerator-runtime except from test setup. The async/await runtime handling is already built-in in current Babel. (e848c13)

  • Cleanup: Remove unused dependencies. (a5ef3f2)

  • Cleanup: Remove unused imports and variables. (9b79ce3)

  • Cleanup: Remove unused r.js file. (e6322d3)

  • Depend on @patternslib/dev and extend from there. (2f2ef5f)

  • Extend babel config from @patternslib/dev. (b702492)

  • Extend commitlint config from @patternslib/dev. (4330cf7)

  • Extend eslint config from @patternslib/dev. (857f678)

  • Extend jest config from @patternslib/dev. (5c43d43)

  • Extend Makefile from @patternslib/dev. (5da74f4)

  • Extend prettier config from @patternslib/dev. (08ce446)

  • Extend release-it config from @patternslib/dev. (ec69436)

  • Extend webpack config from @patternslib/dev. (811673a)

5.0.0-alpha.11 (2022-06-29)

Bug Fixes

  • pat structure: fix tablerow items without exclude_from_nav attribute. (1de6ce5)

5.0.0-alpha.10 (2022-06-20)

Features

  • pat structure: simplify badge styling and add new "exclude_from_nav" badge (a0d3573)

5.0.0-alpha.9 (2022-06-08)

Bug Fixes

  • pat structure: bootstrap popover fix (6611570)

5.0.0-alpha.8 (2022-06-02)

Bug Fixes

  • pat structure: datatable sorting (a3335ff)

  • pat structure: default page marker position (f0bb04c)

  • pat structure: row actions cut/copy/default_page (179fb41)

Maintenance

  • Build: update datatables.net (a42f4a9)

  • Bundle: new underscore release (eeafed0)

5.0.0-alpha.7 (2022-06-01)

Features

  • pat structure: lead image position in title column (5ea6653)

Bug Fixes

  • pat structure: dataTable styles (a8e7250)

Breaking Changes

  • core utils: Remove createElementFromHTML. Use create_from_string from Patternslib core dom instead. (7033e97)

  • core utils: resolveIcon: Simplify method and remove as_node and css_class. (0ecfb33) These methods were used only in two places and can be substituted with create_from_string from Patternslib core dom.

Maintenance

  • Code formating. (0486dcb)

  • core utils: api doc for resolvIcon. (14b1f9c)

  • core utils: resolvIcon: Add a timeout for fetching icons remotely. Timeout is 5s. (3a87d18)

  • pat structure: bootstrap classes for checkbox/select elements (9bef30f)

  • pat structure: Upgrade to backbone.paginator 2.x. (e383de8)

  • Upgrade dependencies. (b886321)

5.0.0-alpha.6 (2022-05-23)

Maintenance

  • Build: Makefile: Do clean and install before releasing. (51e9077) This avoids any node_modules subdirectories from linked dependencies to land in the build.

  • Build: Makefile: Only do a build:webpack when make build. Also makes release faster, where we do not need to build the docs - yet. (8837459)

  • Bundle: Move dependency backbone.paginator to devDependencies to avoid version conflicts. (f40f64d) backbone.paginator is now in devDependencies as it requests outdated versions of Backbone and Underscore. Having this in normal dependencies field would eventually let backbone.paginator register itself in an outdated Backbone version and make it unavailable by those used in structure pattern. Having this in devDependencies avoids this, but also makes the structure pattern unavailable in add-on bundles unless this dependency is explicitly added. However, this should be fixed in a more sane way. But that's out of scope for now.

5.0.0-alpha.5 (2022-05-23)

Bug Fixes

  • pat structure: Also import backbone.paginator and avoid a import/initialization problem where Backbone wasn't available. (7c2b37f)

Breaking Changes

  • core router: Remove unused backbone router module. (64ef907)

  • pat modal: Remove untested and unused (core Plone) router option. (79bcc81)

Maintenance

  • Build: Explicitly add underscore as dependency. (26fdd0a)

  • Build: Fix backbone and underscore dependencies. backbone.paginator requests outdated versions. (f229b9a)

  • Build: Remove non interactive ci-mode from Makefile to allow for OTP prompt and two-factor auth on npm. Also remove dry-run as we're now asked for each step. (7ba9ff8)

  • pat modal: Code formatting. (ab780b4)

  • pat structure: Don't depend on lodash. (6f92a53)

  • pat structure: Importing backbone.paginator in collections.result is enough. Document why we add Underscore and Backbone to the global namespace. (068301f)

5.0.0-alpha.4 (2022-05-19)

Maintenance

  • Bundle: expose-loader not needed anymore. (0001ee0)

  • Bundle: Upgrade to Patternslib 8.0.2. (76c8421)

5.0.0-alpha.3 (2022-05-19)

Maintenance

  • Bundle: Upgrade to Bootstrap 5.2.0-beta1. (0de73b2)

5.0.0-alpha.2 (2022-05-18)

Features

  • Build: Create jquery and bootstrap bundles with module federation support. (32e00d4)

Maintenance

  • Build: Fix Makefile - use github.preRelease switch for prerelease target. (164a3a8)

  • Build: Update GitHub workflows definition. (1180bb5)

  • Build: Upgrade Patternslib to 8.0.1. (8103362)

  • Bundle: Upgrade dependencies. (e87d935)

5.0.0-alpha.1 (2022-05-18)

Features

  • Build: Use dynamic module federation. (6aefc4b)

Bug Fixes

  • Bundle: Update new package name including @plone scope. (77bb86a)

  • relateditems: Move Select2 out of init. (0a7c631) If it wasn't already registered, it would register and scan the document now. If there were previous relateditems already modifying the DOM structure and placing pat-select2 classes to some items, the import here would try to initialize them. But those pat-select2 items were meant to be initialized via the Patternslib API and not automatically and are missing some configuration needed by select2 (query attribute...). By moving the Select2 out of the init and importing it early fixes this problem.

Note: This happened in plone.app.mosaic with module federation. pat-select2 was already directly imported by the main Mockup bundle. But since we didn't have a global pattern registry, the pattern was re-initialized where it wouldn't have to. Since the change in Patternslib 8.0.0 with a global pattern registry this fix might become obsolete.

However, we should have an eye on dynamic pattern imports immediately registering and scanning the docment and possibly prevent that in some way.

See: Patternslib/Patterns#961

Maintenance

  • Build: Add build:webpack:dev:plone as package.json script to allow for a Plone development build. (acf9839)

  • Build: Add prerelease target in Makefile. (ea8d4e4)

  • Build: Upgrade dependencies. (2312ee5)

  • Bundle: Also upload a compiled bundle release for GitHub. (2604397)

  • Cleanup: Cleanup unused parameter in webpack config. (f749505)

  • Cleanup: Remove pat-content-browser. (abd58f7) This can be provided by an external bundle.

  • Makefile: Add watch-plone and bundle-plone targets to Makefile. (62332d1)

  • pat querystring: Cleanup - direct import of Select2 is not necessary. (13d0e0d)

5.0.0-alpha.0 (2022-05-17)

Breaking Changes

  • Upgrade to modern JavaScript (ES6+), define modules and use imports.

  • Remove RequireJS.

  • Depend on latest Patternslib.

  • Remove Mockup's pat-tooltip and use Patternslib pat-tooltip instead.

  • Remove Mockup's pat-moment and use Patternslib pat-display-time instead.

  • 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.