Skip to content

Commit fea73a2

Browse files
committed
Updated version
1 parent e449336 commit fea73a2

File tree

3 files changed

+71
-16
lines changed

3 files changed

+71
-16
lines changed

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,62 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.0.0-rc6] - 2025-12-08
11+
12+
### Security
13+
14+
- **Fixed 4 Security Vulnerabilities:** Resolved all npm audit security issues
15+
- Fixed high severity reflected XSS vulnerability in Astro server islands
16+
- Fixed moderate severity authentication bypass via url.pathname in Astro
17+
- Fixed moderate severity stored XSS in Astro Cloudflare adapter /_image endpoint
18+
- Fixed moderate severity unsanitized class attribute in mdast-util-to-hast
19+
- All vulnerabilities resolved by updating to Astro 5.16.4+
20+
21+
### Added
22+
23+
- **Sidebar State Persistence:** New feature to remember sidebar collapsed/expanded state
24+
- Sidebar state now persists across page refreshes using localStorage
25+
- Configurable via `enablePersistence` option (default: `true`)
26+
- SSR-safe implementation with proper environment checks
27+
- Mobile-aware: doesn't restore state on small screens (respects responsive breakpoints)
28+
- Graceful error handling for private browsing mode
29+
- Storage key: `lte.sidebar.state`
30+
31+
### Changed
32+
33+
- **GitHub Actions:** Updated all workflows to Node.js 22 (from Node.js 18)
34+
- Node.js 18 reached End-of-Life on April 30, 2025
35+
- Node.js 22 is the current Active LTS (supported until April 2027)
36+
- Updated `setup-node` action from v3 to v4 across all workflows
37+
- Updated CodeQL actions from v2 to v3
38+
- Added `FORCE_COLOR: 2` environment variable to codeql.yml for consistency
39+
40+
### Fixed
41+
42+
- **Release Workflow:** Fixed zip command in release.yml
43+
- Corrected `-d` flag to `-r` for recursive directory zipping
44+
- Fixed filename inconsistency in release artifacts
45+
46+
### Updated
47+
48+
- **Dependencies:** Updated 15+ packages to latest versions
49+
- @astrojs/check: 0.9.5 → 0.9.6
50+
- @astrojs/mdx: 4.3.9 → 4.3.12
51+
- @rollup/plugin-typescript: 12.1.3 → 12.3.0
52+
- @typescript-eslint/eslint-plugin: 8.46.2 → 8.48.1
53+
- @typescript-eslint/parser: 8.46.2 → 8.48.1
54+
- astro: 5.15.6 → 5.16.4 (includes security fixes)
55+
- autoprefixer: 10.4.21 → 10.4.22
56+
- eslint: 9.39.0 → 9.39.1
57+
- eslint-plugin-astro: 1.4.0 → 1.5.0
58+
- nodemon: 3.1.10 → 3.1.11
59+
- prettier: 3.5.3 → 3.7.4
60+
- rimraf: 6.1.0 → 6.1.2
61+
- rollup: 4.52.4 → 4.53.3
62+
- sass: 1.93.2 → 1.94.2
63+
- stylelint: 16.25.0 → 16.26.1
64+
- terser: 5.44.0 → 5.44.1
65+
1066
## [4.0.0-rc5] - 2025-10-14
1167

1268
### Updated

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,27 @@
99
**AdminLTE** is a fully responsive administration template. Based on **[Bootstrap 5](https://getbootstrap.com/)** framework and also the JavaScript plugins.
1010
Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops.
1111

12-
## What's New in v4.0.0-rc5
12+
## What's New in v4.0.0-rc6
1313

14-
**Latest Release with Major Dependency Updates & Security Fixes** - Fresh improvements for better development experience:
14+
**Security & Feature Release** - Important security fixes and new sidebar persistence feature:
1515

16-
- **Major Dependency Updates** - 17+ npm packages updated to latest versions
17-
- **Security Enhancements** - Fixed 2 critical vulnerabilities (axios DoS, form-data random function)
18-
- **Latest Tooling** - Updated to TypeScript 5.9.3, ESLint 9.37.0, Astro 5.14.4, and more
19-
- **Bootstrap 5.3.8** - Updated to the latest stable Bootstrap release
20-
- **ESLint 9.x Compatibility** - Removed deprecated `.eslintignore` file
21-
- **Zero Vulnerabilities** - All security issues resolved
16+
- **Security Fixes** - Resolved 4 vulnerabilities (XSS in Astro, auth bypass, unsanitized attributes)
17+
- **Sidebar State Persistence** - Sidebar now remembers collapsed/expanded state across page refreshes
18+
- **Node.js 22** - Updated all GitHub Actions workflows to Node.js 22 LTS (supported until 2027)
19+
- **Latest Dependencies** - 15+ packages updated including Astro 5.16.4, Prettier 3.7.4, Rollup 4.53.3
20+
- **CI/CD Improvements** - Updated CodeQL actions to v3, fixed release workflow bugs
2221

2322
**Key Improvements:**
24-
- ✅ All dependencies updated to their absolute latest versions
25-
-Two major version bumps: cross-env 10.x and eslint-config-xo-typescript 9.x
26-
-Enhanced security with vulnerability fixes
27-
-Cleaner linting without deprecation warnings
28-
-Production-ready with enhanced stability
29-
-Faster builds with latest Rollup, Sass, and Terser
23+
24+
-Zero security vulnerabilities - all npm audit issues resolved
25+
-Sidebar state persists in localStorage (configurable, SSR-safe, mobile-aware)
26+
-GitHub Actions use Node.js 22 (Active LTS until April 2027)
27+
-CodeQL security scanning updated to latest v3 actions
28+
-Release workflow fixed for proper asset packaging
3029

3130
**Install the latest:**
3231
```bash
33-
npm install [email protected]rc5
32+
npm install [email protected]rc6
3433
```
3534

3635
See the [CHANGELOG.md](CHANGELOG.md) for complete details.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "admin-lte",
33
"description": "Responsive open source admin dashboard and control panel.",
4-
"version": "4.0.0-rc5",
4+
"version": "4.0.0-rc6",
55
"type": "module",
66
"license": "MIT",
77
"author": "Colorlib <https://colorlib.com>",

0 commit comments

Comments
 (0)