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
- Log item matches when debug is enabled
- PR: #683 by @elchininet
- Log messages when skipping a match
- PR: #690 by @elchininet
🧩 Dependencies
- [Dependencies]: Bump the dependencies-dev group with 2 updates
- PR: #685 by @dependabot[bot]
- [Dependencies]: Bump js-yaml from 5.2.0 to 5.2.1 in the dependencies-prod group across 1 directory
- PR: #684 by @dependabot[bot]
- Solve vulnerabilities through pnpm overrides
- PR: #691 by @elchininet
- Multiple config changes
- PR: #693 by @elchininet
⚙️ Configuration
- Set cooldown period for Dependabot
- PR: #686 by @elchininet
- Add a eslint rule for imports declarations sorting
- PR: #689 by @elchininet
- Multiple config changes
- PR: #693 by @elchininet
- Allow minor and patches TypeScript updates
- PR: #694 by @elchininet
📝 Documentation
- Improve Troubleshooting section intro
- PR: #681 by @elchininet
- Remove repeated word in the documentation
- PR: #687 by @elchininet
📦 Other
- Move DOM and subscribers logic to different modules
- PR: #688 by @elchininet