NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
NuGet
NuGet, #2416 most downloaded on NuGet
An in-memory caching provider for Smidge
Latest stable
5.1.0
Last release 20 days ago
02 Nov 2026
Release timing varies
gaps range from 4 weeks to 12 months
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
17 releases Β· first in 2021
Drag across the ruler to compare, or tap a release to open it.
Since 5.0.0 made NUglify the default minifier, any file NUglify can't parse fails the whole bundle request, and the error didn't tell you which file i
Since 5.0.0 made NUglify the default minifier, any file NUglify can't parse fails the whole bundle request, and the error didn't tell you which file it was. This release makes that a lot friendlier and adds a simple way to turn minification off.
.b { width: ; } gives CSS1036 Expected expression, found ';'.NuglifySettings.ErrorBehavior - UseOriginal (the default) or Throw if you want the old fail-fast behavior.NuglifySettings.EnableMinification to turn JS and CSS minification off.NuglifySettings now has a parameterless constructor and init properties, so it's much easier to configure:services.AddSmidge(Configuration.GetSection("smidge"), new NuglifySettings
{
EnableMinification = true,
ErrorBehavior = NuglifyErrorBehavior.UseOriginal
});
If you were relying on bundle requests failing when NUglify couldn't parse a file, set ErrorBehavior = NuglifyErrorBehavior.Throw.
Also note that if a JS file falls back to unminified content while JS source maps are on, the bundle's source map can be inaccurate.
https://github.com/Shazwazza/Smidge/compare/v5.0.1...v5.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server β
A small fix for a JavaScript minification regression in 5.0.0.
A small fix for a JavaScript minification regression in 5.0.0.
JS1013 (#234). NUglify reports a false JS1013 error for some valid regex literals, like the escape pattern in Ace's Verilog mode, and since 5.0.0 made NUglify the default minifier that error caused the whole bundle request to fail with a 500. Smidge's default NUglify settings now ignore JS1013. If you pass in your own CodeSettings they're left alone, so you'll still get the diagnostic - add JS1013 to your ignore list if you need to.https://github.com/Shazwazza/Smidge/compare/v5.0.0...v5.0.1
Smidge 5 is a major release focused on simplifying the minification pipeline, modernizing the runtime, and hardening bundle handling against a class o
Smidge 5 is a major release focused on simplifying the minification pipeline, modernizing the runtime, and hardening bundle handling against a class of intermittent production crashes.
JsMinifier/CssMinifier (JSMin/CSSMin) are gone, and the previously-optional Smidge.Nuglify package is folded directly into the core Smidge package. AddSmidge()/UseSmidge() now use NUglify out of the box, including the source-map (nmap) route.404 rather than an unhandled exception. This closes a repeatable DoS vector (#199) and also fixes a source-map parsing crash (#176).Smidge.Core into Smidge to simplify the package layout for the major version.Smidge.Core assembly no longer exists; its types now live in Smidge.Smidge.Nuglify is obsolete - reference Smidge directly. AddSmidgeNuglify()/UseSmidgeNuglify() are gone.internal, since they're no longer part of the supported API surface.Bundle.Files is now IReadOnlyList<IWebFile> instead of a mutable List<IWebFile> (see thread-safety fix below). Use Bundle.AddFile(IWebFile) to add files.NullReferenceException crash in bundle file-set generation (#156, #205) caused by a genuine race condition: concurrent requests registering files into the same bundle could corrupt its backing List<IWebFile>, silently dropping or nulling entries. Bundles now use an immutable, lock-free file list (ImmutableList<IWebFile> + ImmutableInterlocked.Update) so concurrent registration can no longer corrupt a bundle's file list, and a null entry is now defensively skipped with a warning rather than crashing the whole bundle response.~/Js/Bundle2) no longer accidentally includes generated artifacts like .js.gz or .map files; matching is now constrained to the bundle's file type.**.ext / **/*.ext) not matching correctly for non-physical file providers, satisfying the long-standing globbing request in #197. (Glob patterns already worked for the common PhysicalFileProvider case via .NET's built-in file globbing; this closes the gap for composite/embedded file providers.)Could not parse ... as a valid smidge path) that surfaced as an unhandled 500 (#176).BundleManager.Create(...) now filters out null file entries at bundle-creation time (with a warning), in addition to the defensive handling already in place during file-set generation.https://github.com/Shazwazza/Smidge/compare/v4.6.0...v5.0.0
Fixes moderate and low security vulnerabilities that were identified. It is recommended to upgrade all usages of Smidge to 4.6.0.
Fixes moderate and low security vulnerabilities that were identified. It is recommended to upgrade all usages of Smidge to 4.6.0.
The risk with versions previous to 4.6.0 is reduced by:
Developer Exception Page or detailed exceptions are not enabled in production environments.4.6.0 addresses the vulnerabilities disclosed here: https://github.com/asust9/smidge-vuln?tab=readme-ov-file
TimestampCacheBuster is enabled in non 'Development' hosting environments, it will use the AppDomainLifetimeCacheBusterFull Changelog: https://github.com/Shazwazza/Smidge/compare/v4.5.1...v4.6.0
Avoid CssMinifier stripping spaces that are followed by colons by @willdean in https://github.com/Shazwazza/Smidge/pull/214
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.5.0...v4.5.1
Bump nokogiri from 1.13.9 to 1.15.6 in /docs by @dependabot in https://github.com/Shazwazza/Smidge/pull/208
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.4.0...v4.5.0
Targeting .NET 6 & .NET 8, removes targets for .NET 5 and .NET 7
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.3.0...v4.4.0
Add NET 7.0 by @PhyxionNL in https://github.com/Shazwazza/Smidge/pull/192
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.2.1...v4.3.0
test: Add .Net 6 multitargeting to test project by @nikcio in https://github.com/Shazwazza/Smidge/pull/170
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.2.0...v4.2.1
Feature/protect file extensions by @markadrake in https://github.com/Shazwazza/Smidge/pull/164
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.1.1...v4.2.0
Update Nuglify to latest release for various bug fixes by @Jeavon in https://github.com/Shazwazza/Smidge/pull/159
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.1.0...v4.1.1
See milestone for full details: https://github.com/Shazwazza/Smidge/milestone/20?closed=1
See milestone for full details: https://github.com/Shazwazza/Smidge/milestone/20?closed=1
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.0.4...v4.1.0
See milestone for full details: https://github.com/Shazwazza/Smidge/milestone/19?closed=1
See milestone for full details: https://github.com/Shazwazza/Smidge/milestone/19?closed=1
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.0.3...v4.0.4
See milestone for details https://github.com/Shazwazza/Smidge/milestone/18?closed=1
See milestone for details https://github.com/Shazwazza/Smidge/milestone/18?closed=1
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.0.2...v4.0.3
See milestone for details https://github.com/Shazwazza/Smidge/milestone/17?closed=1
See milestone for details https://github.com/Shazwazza/Smidge/milestone/17?closed=1
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.0.1...v4.0.2
See milestone for details https://github.com/Shazwazza/Smidge/milestone/16?closed=1
See milestone for details https://github.com/Shazwazza/Smidge/milestone/16?closed=1
Full Changelog: https://github.com/Shazwazza/Smidge/compare/v4.0.0...v4.0.1
A new major version of Smidge is out π
A new major version of Smidge is out π
Plenty of new features and fixes. Full details can be found here: https://github.com/Shazwazza/Smidge/milestone/8?closed=1
Some notable new features:
> dotnet add package Smidge --version 4.0.0
services.AddSmidge();
To use Nuglify, for the minification engine:
> dotnet add package Smidge.Nuglify --version 4.0.0
services.AddSmidgeNuglify();
For in-memory only support:
> dotnet add package Smidge.InMemory --version 4.0.0
services.AddSmidgeInMemory();
One column per quarter.