Skip to content

v16.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Jul 14:51

This is a minor release and it shouldn't represent a breaking change. So, if you are already in version v16.0.0 you can update safely. If you are not already in this version, please, read the release notes of v16.0.0. This release adds two more log messages when the cs_debug parameter is enabled to help debugging issues.

New logs when an item is matched and when an item is skipped if cs_debug parameter is enabled

As you already know, when the cs_debug parameter is enabled (adding the parameter ?cs_debug at the end of the URL), the plugin logs relevant information in the browser's console that could help debug issues as well as it throws errors if a query fails to find an element. From now on, among the useful information that the debug logs provide, you can also find when an item is matched and when an item is skipped.

Let's take as an example this issue. If this feature would existed before, and that user would enabled the cs_debug parameter, they could see the next messages among the other debug messages in the browser's console:

custom-sidebar debug: item "/energy" matched the element with text "Energie Leistung aktuell" and href "/energy-live"

custom-sidebar debug: item "/energy-live" matches with the element with text "Energie Leistung aktuell" and href "/energy-live" but as this element was already matched by "/energy", this matching will be ignored

These message would have helped the user to identify their mistake by themselves.


🚀 Features

🧩 Dependencies

  • [Dependencies]: Bump the dependencies-dev group with 2 updates
  • [Dependencies]: Bump js-yaml from 5.2.0 to 5.2.1 in the dependencies-prod group across 1 directory
  • Solve vulnerabilities through pnpm overrides
  • Multiple config changes

⚙️ Configuration

📝 Documentation

📦 Other

  • Move DOM and subscribers logic to different modules