Skip to content

Releases

v4.10.2

Choose a tag to compare

@puikinsh puikinsh released this 16 Nov 11:39

AdminLTE 4.10.2 is built on Bootstrap 5.3.9, updates every pinned demo library, and brings the whole toolchain to its latest releases. npm audit now reports 0 vulnerabilities.

npm users: 4.10.1 was released on GitHub but never published to npm. Installing 4.10.2 from npm brings in the 4.10.1 changes as well, including the fullscreen, calendar and contrast fixes. See the 4.10.1 notes.

Bootstrap 5.3.9

  • The compiled adminlte.css is built on Bootstrap 5.3.9. Upstream changes include the new .modal-xxl size and placeholder glow/wave animations that now respect prefers-reduced-motion.
  • Demo pages load Bootstrap JS 5.3.9, which includes the tooltip/popover fix that preserves literal text from data attributes.
  • The bootstrap peer dependency stays at ^5.3.8, so you don't need to upgrade Bootstrap to use this release.

Demo libraries

Bootstrap Icons 1.13.2, Source Sans 3 5.3.1, Chart.js 4.6.1, FullCalendar 7.1.5, OverlayScrollbars 2.17.0, Tabulator 6.7.1, Tom Select 2.7.0, Pickr 1.10.3 and FilePond 4.32.14. Every CDN integrity hash was recomputed and verified against the CDN.

Fixes

  • Fix the broken src/ts/ GitHub link on the JavaScript plugins overview page (#6154). Thanks @reynoldsalec.

Maintenance

  • All build, lint and test dependencies are on their latest releases, including Astro 7.4.12, ESLint 10.15, eslint-plugin-unicorn 80, happy-dom 21, Playwright 1.65, Rollup 4.68, Sass 1.108 and Vitest 5.1. The lockfile is regenerated, and the 12 open Dependabot PRs are superseded by #6157.
  • Security: the braces advisory noted in 4.10.1 is gone, along with new advisories against Astro, undici, happy-dom, follow-redirects and fast-uri. minimatch is overridden to ^11.0.8 (GHSA-g3hv-75wg-m249).
  • Two tools stay where they are:
    • TypeScript 6.0.3: typescript-eslint and the Astro checker don't support TypeScript 7 yet.
    • Stylelint 17: Bootstrap's shared Stylelint config still extends rules that Stylelint 18 removed.
  • Validated with lint, 80 unit tests, gzip budgets, axe (light and dark), and 378 Playwright page/scenario checks across Chromium, Firefox and WebKit.

Install

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

Full details in the CHANGELOG.

What's Changed

New Contributors

Full Changelog: v4.10.1...v4.10.2

AdminLTE 4.10.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 06:52

AdminLTE 4.10.1 refreshes the build toolchain and demo integrations, fixes responsive and accessibility issues, and adds broader regression coverage. Public AdminLTE component APIs and the published package's Node.js requirement remain unchanged.

Changes

  • Update compatible stable dependencies, including Astro 7.3.7, Rollup 4.64.2, Playwright 1.64.0, Vitest 5.0.3, Sass 1.105.1, and ESLint 10.12.0. Replace npm-run-all with its maintained npm-run-all2 successor.
  • Update demo/integration CDN libraries, migrate FullCalendar to 7.1.1, correct jsVectorMap asset paths, and refresh existing integrity hashes.
  • Fix tablet header overflow, fullscreen icon synchronization and isolation from card-maximize controls, local calendar dates, calendar accessible names, table filter labels/grid semantics, and light/dark contrast.
  • Repair Astro source checking, the ESM Prettier configuration, and the Unicorn preset. Add Chromium/Firefox/WebKit and Node.js 22/24/26 CI, light/dark accessibility checks, and local gzip budget enforcement.

Verification

  • Clean npm installation and complete production build, lint, TypeScript declarations, and all 15 bundle-size budgets.
  • 80 unit tests on Node.js 22, 24, and 26; 378 browser scenarios across Chromium, Firefox, and WebKit; accessibility checks on 24 representative pages in both themes.
  • The exact publishing tarball installs successfully on Node.js 20/npm 10 with strict engine checks. Production dependencies audit clean.

Compatibility and security

Source builds require Node.js 22.22.3+, 24.16.0+, or 26.3.0+ and npm 10+. These contributor requirements use devEngines; compiled-package consumers retain Node.js >=20 support.

TypeScript remains on 6.0.3 because the latest Astro checker and TypeScript ESLint versions do not support TypeScript 7. Development tooling retains twenty propagated high-severity npm audit findings from the unpatched braces advisory. This dependency is not included in the published runtime dependency tree.

Npm publication is handled separately by the maintainer. The attached npm tarball is the validated publishing artifact.

Full changelog: v4.10.0...v4.10.1

v4.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 12:45

What's Changed

  • Fix brand logo to stay centered on mini sidebar mode by @dfsmania in #6114
  • chore(deps-dev): bump the eslint group with 4 updates by @dependabot[bot] in #6116
  • chore(deps-dev): bump rollup from 4.62.4 to 4.63.1 in the rollup group by @dependabot[bot] in #6117
  • chore(deps-dev): bump happy-dom from 20.11.6 to 20.11.15 by @dependabot[bot] in #6120
  • chore(deps-dev): bump terser from 5.50.0 to 5.51.2 by @dependabot[bot] in #6122

Full Changelog: v4.9.1...v4.10.0

v4.9.1

Choose a tag to compare

@puikinsh puikinsh released this 26 Aug 09:26

Fixed

A page whose content ended near a sheet boundary still printed one blank sheet.

.app-main carries padding-bottom: $grid-gutter-width * .5 — breathing room above the fold on screen, trailing whitespace on paper. 12px of it was enough to push a page that otherwise ended 1px inside the second sheet onto a third, empty one. In the demo set UI/ribbons.html was the case: three sheets for two sheets of content.

The padding is now cleared in print, along with the negative margin-bottom on .app-content-bottom-area that exists only to cancel it — zeroing one without the other would have pulled the bottom area up over the content.

This is the last of what #6113 reported. Every one of the 90 pages in dist/ was printed to PDF and its final sheet checked: none prints a blank trailing sheet. One page changes page count; nothing else moves.

If you are coming from 4.8.x, the headline change is in 4.9.0 — the header, sidebar and footer no longer print, and data-lte-print="app" brings them back.

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

Full notes: CHANGELOG

Full Changelog: v4.9.0...v4.9.1

v4.9.0

Choose a tag to compare

@puikinsh puikinsh released this 26 Aug 08:54

Changed

A printed page is a document again — the header, sidebar and footer no longer print.

AdminLTE 3 left all three off the paper. v4 printed them, and on a page that prints as a real document the result was the invoice in #6113: 200px of every sheet spent on a menu the reader cannot click, the invoice squeezed into what was left — its own table wrapping "Pro plan subscription" across three lines — and the sidebar's 85 menu items running past the foot of the first sheet. A one-page invoice printed as two, the second all but empty.

The content now gets the full width of the paper. Nothing else about the print styles changed: link targets are still printed after external links, buttons still keep an outline, everything is still black on white.

Both ways back are still there, and both are now honoured properly:

<!-- print the whole shell, as 4.0–4.8 did -->
<html lang="en" data-lte-print="app">
<!-- or bring back one piece: .d-print-flex for the header (it is a navbar),
     .d-print-block for the sidebar and footer -->
<aside class="app-sidebar bg-body-secondary shadow d-print-block">…</aside>

.d-print-none still hides anything you don't want on paper, in either mode. data-lte-print is now matched per token, so data-lte-print="plain app" sets both; data-lte-print="plain" is unaffected.

Reported by @johnnyq.

Fixed

The layout kept its viewport-sized dimensions in print (#6113).

.app-wrapper carries min-height: 100vh and max-width: 100vw, and neither was cleared for print — even though the print block deliberately rewrites that same element's grid. Paper has no viewport to fill: the wrapper reserved a full sheet however short the page was, which is why the printed invoice put its footer at the foot of a sheet of empty grey with the content in the top third, and why anything following the wrapper opened a new page. Both are now reset in print, along with the max-width: 100vw on the header, main and footer.

The print block set display on elements it did not need to.

Forcing display: block on .app-sidebar is what made .d-print-none unable to hide it before 4.6.0, and the same shape would have made .d-print-* unable to show it now. Printing the shell is a matter of not hiding it, so the rules that hide it are scoped out instead, and nothing in the print block forces a display value on the header, sidebar or footer any more.

adminlte.js is untouched; adminlte.css grows by 64 bytes gzipped.

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

Full notes: CHANGELOG

Full Changelog: v4.8.5...v4.9.0

v4.8.5

Choose a tag to compare

@puikinsh puikinsh released this 20 Aug 07:41

A housekeeping patch: building AdminLTE from source is quiet again. Nothing in dist/ changed behaviour — the compiled CSS is byte-identical to 4.8.4, so this release matters only if you compile the Sass yourself.

Fixed

npm run production printed six Sass deprecation warnings.

Sass 1.95.0 deprecated the ternary if($condition, $if-true, $if-false) in favour of the CSS if(). The palette sheets used it in three places — lte-needs-aa() in colors/_variables.scss, and the text-colour pick in colors/_primary.scss twice — and since both adminlte-colors.scss and adminlte-colors-v3.scss pull those partials in, three call sites produced six warnings.

They are now plain @if statements. Deliberately not the if(sass(cond): a; else: b) syntax Sass suggests: that would require Sass >= 1.95 of everyone compiling AdminLTE from source, and we ship the SCSS. @if compiles on every version, produces byte-identical CSS, and stays stylelint-clean.

Worth recording for anyone who chases this upstream: Bootstrap uses the ternary if() 82 times across bootstrap/scss and warns too — but css-compile already passes --quiet-deps, so none of that reaches your console. Every warning in this report was AdminLTE's own code (#6111, reported by @lfiorini).

Maintenance

  • Dev dependencies refreshed — sass 1.102.0 → 1.103.0, astro 7.2.3 → 7.2.4, @astrojs/mdx 7.0.6 → 7.0.7, happy-dom 20.11.2 → 20.11.6. All within their current majors.
  • The docs build moved off Astro's deprecated markdown.rehypePlugins. Astro 7.2.4 deprecates the top-level remarkPlugins / rehypePlugins / remarkRehype keys in favour of an explicit markdown.processor — which would have put a fresh warning into the very command this release is about. The responsive-tables plugin now goes through unified() from @astrojs/markdown-remark; same pipeline, all 90 built pages byte-identical.
  • nanoid bumped to 3.3.18 in the lockfile — GHSA-2v37-7h3g-55p8 (high), transitive and dev-only. npm audit now reports zero vulnerabilities. Nothing shipped in dist/ was ever affected.
  • TypeScript stays on 6.0.3. 7.0.2 is out, but typescript-eslint still declares peerDependencies.typescript: ">=4.8.4 <6.1.0" and @astrojs/check accepts ^5 || ^6, so the toolchain still cannot move.

Install

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

Full notes: CHANGELOG

Full Changelog: v4.8.4...v4.8.5

v4.8.4

Choose a tag to compare

@puikinsh puikinsh released this 19 Aug 11:56

Fixed

Reference tables on the documentation pages pushed the page sideways on a phone.

Markdown pipe-tables render as a bare <table> with no scroll container, so anything wider than about three columns overflowed the viewport — 265px of it on the Colors page at 390px wide, right after 4.8.3 fixed the header's own overflow.

They are now wrapped in .table-responsive with a tab stop, exactly like the hand-written tables beside them: the table scrolls inside the content column, and the scrollable region stays keyboard-reachable. Desktop layout is unchanged.

Only affects the documentation pages shipped in dist/docs/; adminlte.css and adminlte.js are untouched.

npm install admin-lte@4.8.4

Full notes: CHANGELOG

Full Changelog: v4.8.3...v4.8.4

v4.8.3

Choose a tag to compare

@puikinsh puikinsh released this 19 Aug 11:10

Fixed

Every page scrolled sideways on a phone.

At 390px the header's right-hand item row — messages, notifications, fullscreen, user menu — is a few pixels wider than the viewport at Bootstrap's default 1rem nav-link padding. document.scrollWidth measured 412 against a 390 clientWidth on all 90 demo pages: a horizontal scrollbar on every screen, on every AdminLTE 4 page.

Below sm the header now halves --bs-navbar-nav-link-padding-x. From sm up nothing changes — the user menu keeps its 182px width and its label. Measured 412/390 before and 390/390 after; desktop unaffected.

If you check this yourself: compare scrollWidth with clientWidth, not window.innerWidth. The layout viewport widens to match the overflow, so the innerWidth comparison silently passes — which is how this survived this long.

npm install admin-lte@4.8.3

Full notes: CHANGELOG

Full Changelog: v4.8.2...v4.8.3

v4.8.2

Choose a tag to compare

@puikinsh puikinsh released this 19 Aug 09:32

A maintenance release: the build toolchain is current again. dist/ is byte-identical to 4.8.1, so there is nothing to change in your project — upgrade only if you build AdminLTE from source.

Dev dependencies refreshed

astro 7.1.6 → 7.2.3 · @astrojs/mdx 7.0.5 → 7.0.6 · eslint 10.8.0 → 10.8.1 · @typescript-eslint/{eslint-plugin,parser} + typescript-eslint 8.66.0 → 8.67.0 · vitest 4.1.10 → 4.1.11 · happy-dom 20.11.1 → 20.11.2 · axe-core 4.12.1 → 4.13.0 · terser 5.49.2 → 5.50.0 · postcss 8.5.25 → 8.5.26 · globals 17.9.0 → 17.11.0 · concurrently 10.0.4 → 10.0.5 · lockfile-lint 5.0.0 → 5.0.1

All within their current majors. Lint, 74 unit tests, bundlewatch and the axe accessibility gate are green.

TypeScript stays on 6.0.3

TypeScript 7.0.2 is out, but typescript-eslint still declares peerDependencies.typescript: ">=4.8.4 <6.1.0" and @astrojs/check accepts ^5 || ^6. The toolchain moves when they do.

npm install admin-lte@4.8.2

Full notes: CHANGELOG

Full Changelog: v4.8.1...v4.8.2

v4.8.1

Choose a tag to compare

@puikinsh puikinsh released this 19 Aug 08:27

A keyboard-accessibility fix on top of 4.8.0, reported by @johnnyq (#6109).

Pagination lost its focus ring under data-lte-primary

Both palette sheets shipped a literal Sass variable name in their compiled output:

[data-lte-primary] .pagination {
  --bs-pagination-focus-box-shadow: 0 0 0 $pagination-focus-box-shadow-width rgba(var(--bs-primary-rgb), 0.25);
}

Sass does not evaluate $variables inside a custom property value — it emits them verbatim rather than failing — so the typo compiled cleanly, reached the browser as text, and made the declaration invalid. --bs-pagination-focus-box-shadow then resolved to nothing and keyboard focus on .page-link was invisible wherever data-lte-primary was in use. Introduced in 4.6.0.

The variable it named never existed in Bootstrap either (the pagination focus shadow comes from $focus-ring-box-shadow), so interpolating it would not have compiled. The value is now built from the focus-ring tokens and reuses the --bs-focus-ring-color the sheet already sets, so the ring follows the theme colour:

--bs-pagination-focus-box-shadow: 0 0 0 0.25rem var(--bs-focus-ring-color);

A unit test now scans the compiled output of all three sheets for unresolved Sass variables. Compilation cannot catch this class of typo, which is exactly why it shipped — this was the only instance in the repo, and adminlte.css was never affected.

Install

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

Full notes: CHANGELOG

Full Changelog: v4.8.0...v4.8.1