github ColorlibHQ/AdminLTE v4.0.3

5 hours ago

AdminLTE 4.0.3 — Hotwired Turbo support, fullscreen & a11y fixes, and a fully modernized build toolchain (Astro 7 / Vite 8).

📖 Documentation · 🎨 Live preview · 🚀 Migration from v3


✨ Added

  • Hotwired Turbo / Turbo Drive support — the JS components (PushMenu, TreeView, and friends) now re-initialise on turbo:load, so they keep working after Turbo swaps the <body> on in-app navigation instead of going dead after the first link click. Each init cycle uses an AbortController whose signal is aborted on turbo:before-render, so window/document listeners are torn down before re-init rather than stacking up on every navigation. (#563, #5890 — diagnosed and prototyped by @MarkDaleman in #6058)

🐛 Fixes

  • Fullscreen state sync — the fullscreen icons and the maximized/minimized events are now driven by the native fullscreenchange event instead of the request/exit calls. The UI no longer flips when a fullscreen request is denied (permissions policy, missing allowfullscreen, lost user gesture), and it stays in sync when the user exits with ESC or F11. (builds on @webgo-oss's report in #6055)
  • Accessibility — form inputs lacking both an id and a name now receive a stable, generated error-message id instead of colliding on a shared -error id and appending a new orphaned error node on every re-validation. (#6055, reported by @webgo-oss)

🧰 Maintenance

  • Every dependency bumped to its latest release, including four majors — Astro 6 → 7 (which pulls in Vite 8), @astrojs/mdx 6 → 7, eslint-plugin-astro 1 → 2, and eslint-plugin-unicorn 68 → 69 — plus ESLint, Prettier, Stylelint, PostCSS, Rollup and typescript-eslint. No source changes were required: the full npm run production pipeline (lint + Astro build + bundlewatch) passes and npm audit stays at 0 vulnerabilities. This single update supersedes Dependabot PRs #6065#6074.

📦 New here? The AdminLTE family

AdminLTE 4 is also available as official framework integrations: adminlte-vue (Vue 3 & Nuxt), adminlte-react (React & Next.js), adminlte-django, and adminlte-laravel.

Install

npm install admin-lte@4.0.3

Or via CDN:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@4.0.3/dist/css/adminlte.min.css" />
<script src="https://cdn.jsdelivr.net/npm/admin-lte@4.0.3/dist/js/adminlte.min.js"></script>

See CHANGELOG.md for the full notes.

Full Changelog: v4.0.2...v4.0.3

Don't miss a new AdminLTE release

NewReleases is sending notifications on new releases.