Skip to content

Latest commit

 

History

History
156 lines (72 loc) · 8.8 KB

5.md

File metadata and controls

156 lines (72 loc) · 8.8 KB

Changelog of version 5

5.5.0 (2021-11-15)

Bug Fixes

  • pat modal: Fix injection problem with too early closed modals. (e73bad9)

  • pat modal: Fix not properly unregistered callbacks. (297f248) Fix a problem with too many callback calls due to multiple handler registrations. This also led to a situation where the modal was not closed due to one callback unregistering an event handler where another would have closed the modal.

5.4.0 (2021-11-10)

Features

  • pat ajax: Add accept parameter with default text/html for ajax requests. We are mainly using text/html in Patternslib - if a JSON response is needed you need to configure it when using pat-ajax. (f47ea84)

  • pat inject: After failed ajax request, remove loading and executing classes from target and trigger elements. (3039a4f)

  • pat inject: Better error handling. (64fdb9a) Error handling: In a case of injection error, search for a configurable CSS id selector in the error response. If it is found, inject the rendered error page into the document. If no valid error response is found fall back to pre-configured error pages. This allows for some more informative error pages than a very generic one. The CSS id selector is defined by an optional URL fragment in the pre-configured error pages.

Maintenance

  • dependencies: Upgraade dev dependencies. (e730900)

  • pat ajax: Add more tests for passing arguments. (e64ecac)

  • release process: Use JS file instead JSON for the release-it config. (fc597d7)

  • Release workflow: Include commit body and footer messages in the generated Changelog. (50c70fa)

5.3.0 (2021-10-28)

Features

  • pat modal: Dispatch a pat-modal-ready event after the modal is shown. (4bfb841)

Bug Fixes

  • pat inject: Dispatch the pat-inject-success event via plain JavaScript which better supports plain JavaScript event listeners. (bf12c5c)

Maintenance

  • dependencies: Upgrade dependencies up to minor versions. (55bf6d6)
  • Docs: Add a reference to the changelog. (0fc8788)
  • Docs: Update outdated information. (6025b31)

[5.2.0] (2021-10-21)

  • Unintentional release with no changes.

5.1.2 (2021-10-21)

Bug Fixes

  • Ignore pat-update events with missing parameters. (b8e1949)

5.1.1 (2021-10-21)

Bug Fixes

  • pat modal: Remove call to utils.redraw, which was added in 2014 but apparently never in utils. (75c410c)

  • pat scroll-box: Also set scroll classes immediately in a series of scroll events, additionally to the last scroll event within a threshold. Fixes a problem where some visual changes are applied recognizably late. (07edce9)

  • pat scroll-box: Set classes on the last scroll event within the threshold time. Fixing a problem where scroll-position-top wasn't set correctly on subsequent scroll-up events. (fd829d7)

Maintenance

  • dependencies: Upgrade dev dependencies up to minor releases. (1cb75b7)

  • pat scroll-box: Restructure and modernize code for better readability. (93fe976)

  • pat subform: Documenting the use case of submitting a subform to a different url via formaction on a subform submit button. (14bd8f6)

5.1.0 (2021-10-04)

Features

  • pat tooltip: Add config option url to explicitly define an url where no <a href> is available. (557cbe4)

  • pat tooltip: Allow to open the tooltip in JavaScript with via the trigger value none. (f48dbf6)

Bug Fixes

  • pat tooltip: Wait a tick before repositioning after setting the content. Might fail due to unset popper instance. (b5b2797)

Maintenance

  • cleanup: Cleanup unused SCSS/CSS files. (f53acb0)

  • dependencies: Upgrade dev dependencies up to minor releases. (5417506)

  • dependencies: Upgrade dev dependencies up to minor releases. (ffd3d73)

  • dependencies: Upgrade jest-watch-typeahead to 1.0.0. (23fd772)

  • dependencies: Upgrade tippy.js to 6.3.2. (5d2aed0)

  • pat calendar: Upgrade fullcalendar from 5.8.0 to 5.9.0. (28eab77)

  • pat tooltip: Add pattern API methods to show/hide/destroy the tooltip. (09a79e1)

  • pat tooltip: Minor code cleanup. (6c175ee)

  • Update patterns.css. (39510a3)

5.0.0 (2021-09-09)

Bug Fixes

  • build: Fix passing of environment variables for production and development, so that also babel get's notice of it. (6a0ad46)

Maintenance

  • dependencies: Upgrade dev dependencies up to minor releases. (61d8bd1)

  • Development mode - explicitly set to no minification and no sourcemap generation (includes no inclusion of code via eval and thus preventing another layer of minification). (f2de973)

  • In development mode, use latest Chrome and Firefox browser versions for better debugging. (f04da66)

Breaking Changes