Skip to content

Releases: Patternslib/Patterns

Release 9.10.1-beta.2

04 Feb 00:27
Compare
Choose a tag to compare
Release 9.10.1-beta.2 Pre-release
Pre-release

9.10.1-beta.2 (2025-02-04)

Bug Fixes

  • pat-checklist: Dispatch input event along change event. (3c298f5)

    pat-depends was not reacting on pat-checklist toggles.
    This is fixed by dispatching an input event just after the change event.

  • pat-inject: Fix error when no title is found. (3718361)

Maintenance

  • pat-inject: Minor code optimization. (6c9ad2d)

Release 9.10.1-beta.1

31 Jan 10:20
Compare
Choose a tag to compare
Release 9.10.1-beta.1 Pre-release
Pre-release

9.10.1-beta.1 (2025-01-31)

Bug Fixes

  • pat-navigation: Fix case where no click anchor could be found. (fcb349f)

Release 9.10.1-beta.0

31 Jan 00:31
Compare
Choose a tag to compare
Release 9.10.1-beta.0 Pre-release
Pre-release

9.10.1-beta.0 (2025-01-31)

Features

  • core dom: Add method is_button. (132e42b)

    dom.is_button tests, if an element is a button like element.
    Button like elements are the following:

    button,
    button[type=button],
    button[type=submit],
    input[type=image],
    input[type=button],
    input[type=reset],
    input[type=submit]

Bug Fixes

  • pat-depends: Fix infinite loop situations. (af5ecc5)

    Fix some situations where infinite loops were created of unnecessary
    function calls were done:

  • Do not en/disable already en/disabled inputs.
  • Do not trigger and pat-depends element if the input is the element
    itself and not a contained sub-input.
  • Do not trigger input events on button-like elements.

Maintenance

  • Add deprecation notice for Modernizr. (cd84cc7)

    Modernizr will be removed in an upcoming minor version. It is not really
    necessary anymore. Most browser support almost latest web technology and IE is
    dead.
    A no-js class on the body will still be replaced with a js class.

Release 9.10.1-alpha.5

28 Jan 19:39
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.5 (2025-01-28)

Bug Fixes

  • core feature-detection: Fix loading of modernizr script. (c110df8)

    In some situations loading of the modernizr.min.js script failed because
    the base url could be incorrect. That is fixed with a non-IE compatible
    method of getting the current's script URL, which is safe to use.
    The problem surfaced in Plone while loading the Patternslib library and
    in between the protect.js script was loaded. The base url was calculated
    for the protect.js script and the modernizr script could not be loaded.

  • core registry: Do nothing with Patterns without a trigger. (0e49193)

    Patterns without a trigger broke the registry scan method. Now they don't.

Maintenance

  • core log: Console.debug is not deprecated. Just use it. (514e7ff)

Release 9.10.1-alpha.4

22 Jan 15:32
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.4 (2025-01-22)

Bug Fixes

  • pat-depends: Listen and dispatch input instead of change events. (307a336)

    This is a better and more standard compliant combination than listening on
    input and keyup events. This fixes a problem where a pat-autosuggest selection
    field didn't provoke a change in a pat-depends dependent element.

Release 9.10.1-alpha.3

20 Jan 22:58
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.3 (2025-01-20)

Bug Fixes

  • pat-inject: Fix a problem with injections without a target which was introduced in 9.10.1-alpha.0. (9030ba5)

  • pat-inject: Re-enable support for multiple source matches. (07a244f)

Maintenance

  • pat-inject: Test automatic title insertion in history record mode. (fcd87d4)

Release 9.10.1-alpha.2

15 Jan 17:11
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.2 (2025-01-15)

Maintenance

  • Dependencies: Upgrade pat-content-mirror to 4.0.1. (eab2eb9)

Release 9.10.1-alpha.1

15 Jan 16:11
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.1 (2025-01-15)

Maintenance

  • Dependencies: Upgrade pat-content-mirror to 4.0.0. (04e4816)

Release 9.10.1-alpha.0

14 Jan 18:57
Compare
Choose a tag to compare
Pre-release

9.10.1-alpha.0 (2025-01-14)

Features

  • pat-auto-suggest: Enable caching. (154890b)

Bug Fixes

  • core dom: Do not break querySelectorAllAndMe, if passed element is not a real element but something like a text node. (1b19844)

  • pat-autosuggest: For ajax queries, include the index parameter only if it is set. (85da6a5)

Maintenance

  • core registry: Simplify pattern scanning filter. (43c7255)

    Reduce the number of DOM search tests while not changing the behavior.
    Less rules means more speed.

  • pat inject: Modernize some parts of pat inject. (b0f94fb)

  • pat-inject: Use create_uuid for generating the temporary autoload uuid and remove it again afterwards. (8a3af53)

Release 9.10.0-alpha.1

09 Jan 10:35
Compare
Choose a tag to compare
Pre-release

9.10.0-alpha.1 (2025-01-09)

Features

  • core dom: Add document_ready function which ensures callbacks to be run when or after the DOM has been loaded. (1bbb837)

Bug Fixes

  • pat-inject: Fix pat-inject to not break complex JSON pattern options. (c3e4a68)

    Rework the html rebasing to fix up relative URLs in pat-inject for a
    simpler and slightly more efficient method to walk over all attributes
    which need rebasing.
    The old method could destroy complex JSON based pattern options, like
    those from pat-structure in Mockup.

Note: Only one rebase attribute per tag is currently possible. 1) This
is the same as before. 2) We don't need more.

Maintenance

  • Build: Explicitly set the dev server port to 3001 and fix the documentation which was wrong about it. (3882272)

  • Build: Restrict development server watcher only for files in the src directory. (758f7aa)

    This reduces the number of necessary file watchers and saves important system resources.

  • core registry: Use dom.document_ready instead of jQuery aequivalent. (c73b0e1)

  • core uuid: Extend with documentation and test from thet-own-needs with similar changes. (69ea565)

  • Docs: Minor typo in module federation document. (fadd5d4)

  • pat-markdown: Use dom.document_ready instead of jQuery aequivalent. (e8c8b4b)

  • Upgrade dependencies. (be61ac5)