CoreUI v5.1.2
Thursday, August 22, 2024
We are pleased to announce the release of CoreUI v5.1.2. This update addresses several key fixes and includes updates to critical dependencies, enhancing the stability and performance of the CoreUI library.
How to Update
To ensure a smooth transition to CoreUI v5.1.2, follow these steps:
- Open your project’s
package.json
. - Locate the
@coreui/coreui
entry under dependencies and update the version number to5.1.2
. - Save your changes to the
package.json
file. - In your project’s root directory, run the update command appropriate for your package manager:
- For npm users, execute
npm install
. - For yarn users, execute
yarn install
.
- For npm users, execute
What’s New
Build
- Updated ESLint configuration.
- Updated Hugo server options.
Documentation
- Optimized scripts and styles.
- Added Accordion component in the JS components section.
- Fixed default values and description content in the options table.
- Updated WCAG links and references.
- Mentioned text transform classes.
- Switched to using
hugo.IsProduction
. - Fixed the position of the search modal to avoid interface blocking at small breakpoints.
- Removed useless
crossorigin="anonymous"
attributes.
Fixes
- Fixed the
.btn-group-vertical
border radius with a dropdown as the first element in Button Group. - Fixed max-width and background-color issues in Floating Labels.
- Corrected the
this
reference for JavaScript functions.
Refactors
- Optimized SVG files.
- Merged accordion selectors for the border-radius rule.
Chore
- Updated dependencies and devDependencies.
- Ignored ESLint temporarily.
Dependency Updates
This release also includes updates to several dependencies to ensure compatibility with the latest features and security patches:
- Updated
@babel/preset-env
from^7.25.3
to^7.25.4
. - Updated
autoprefixer
from^10.4.19
to^10.4.20
. - Updated
hugo-bin
from^0.127.0
to^0.129.2
. - Updated
postcss
from^8.4.40
to^8.4.41
. - Updated
rollup
from^4.19.2
to^4.21.0
. - Updated
stylelint
from^16.8.1
to^16.8.2
. - Updated
terser
from5.31.3
to5.31.6
.
For a detailed overview of all the enhancements, fixes, and updates introduced in this version, please refer to the full changelog on GitHub.