v15.1.0
This release is a minor one and it should not represent a breaking change for the majority of users. It fixes a bug, brings a new feature and migrates the js-yaml package.
The width main configuration option now allows CSS calc functions
Previously, the width main configuration option allows only numbers and strings to set the values, but the string format needed to be a number followed by one of the allowed units (%, em, ex, px, rem, vh, vmax, vmin, vw). This has been extended, and now on top of the previous formats, it also allows to set a CSS calc function. This will give more flexibility to this option allowing it to use CSS variables.
Fix the width main configuration option set in the hidden property when the sidebar has been set in narrow
This bug only ocurred in a mobile device with a big screen if one collapsed the sidebar in landscape mode and then changed the screen to portrait mode. In those cases, the value set in the hidden property of the width main configuration option was ignored. This has been fixed in this release.
js-yaml package has been migrated to version 5
This should not represent a breaking change for the majority of users, that is why it is being shipped in a minor release instead of a major. But if you find any issue with this version, it should be related to this migration. If you are using YAML 1.1 legacy features, you need to be aware that there are several changes and now the parser uses the recommended CORE_SCHEMA. Check the previous migration guide for more details.
🚀 Features
- Allow CSS calc functions in the width main configuration option
- PR: #670 by @elchininet
🛠 Fixes
- Fix sidebar width in non-extended sidebar
- PR: #671 by @elchininet
🧩 Dependencies
- [Dependencies]: Bump the dependencies-dev group with 3 updates
- PR: #658 by @dependabot[bot]
- [Dependencies]: Bump js-yaml from 4.1.1 to 4.2.0 in the dependencies-prod group across 1 directory
- PR: #657 by @dependabot[bot]
- [Dependencies]: Bump the dependencies-dev group with 4 updates
- PR: #664 by @dependabot[bot]
- [Dependencies]: Bump the dependencies-dev group with 4 updates
- PR: #668 by @dependabot[bot]
- [Dependencies]: Bump js-yaml from 4.2.0 to 5.0.0 in the dependencies-prod group across 1 directory
- PR: #667 by @dependabot[bot]
- Solve vulnerabilities through pnpm overrides
- PR: #672 by @elchininet
⚙️ Configuration
- [Github Actions]: Bump actions/checkout from 6 to 7 in the actions-deps group across 1 directory
- PR: #666 by @dependabot[bot]
📝 Documentation
- Allow CSS calc functions in the width main configuration option
- PR: #670 by @elchininet
📦 Other
- Move the expanded attributes check to a utility function
- PR: #673 by @elchininet