NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #2459 most downloaded on NuGet
A lightweight library for runtime CSS and JavaScript file management, minification, combination & compression
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 26 of 27 stable releases
4 versions withdrawn
withdrawn after publishing
127 years old
46 releases · first in 1900
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 issue/feature done, see milestone for deatils
One issue/feature done, see milestone for deatils
https://github.com/Shazwazza/Smidge/milestone/14?closed=1
Install via nuget:
PM> Install-Package Smidge
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
A few bugs fixed and nuglify support for aspnetcore 3, see milestone for full details:
A few bugs fixed and nuglify support for aspnetcore 3, see milestone for full details:
https://github.com/Shazwazza/Smidge/milestone/12?closed=1
Install via nuget:
PM> Install-Package Smidge
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
One bug fixed, see milestone for details:
One bug fixed, see milestone for details:
https://github.com/Shazwazza/Smidge/milestone/12?closed=1
Install via nuget:
PM> Install-Package Smidge
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
There's really no other changes apart from supporting .NET Core 3. Big thanks to https://github.com/vincentparrett for all the work on helping to get
There's really no other changes apart from supporting .NET Core 3. Big thanks to https://github.com/vincentparrett for all the work on helping to get this done 🎉
Install via nuget:
PM> Install-Package Smidge
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
Bug fixes, see milestone for full details: https://github.com/Shazwazza/Smidge/milestone/10?closed=1
Bug fixes, see milestone for full details: https://github.com/Shazwazza/Smidge/milestone/10?closed=1
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
Bug fixes, see milestone for full details: https://github.com/Shazwazza/Smidge/milestone/9?closed=1
Bug fixes, see milestone for full details: https://github.com/Shazwazza/Smidge/milestone/9?closed=1
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
Bug fixes, see milestone for full details: https://github.com/Shazwazza/Smidge/milestone/7?closed=1
Bug fixes, see milestone for full details: https://github.com/Shazwazza/Smidge/milestone/7?closed=1
Update via nuget:
PM> Update-Package Smidge
And if you use Nuglify, for the minification engine:
PM> Update-Package Smidge.Nuglify
This version doesn't contain any new features but it's re-targeted at .NET Standard 2.0 and ASP.NET Core 2.0 and I've dropped targeting .NET 4.5.2 sin
This version doesn't contain any new features but it's re-targeted at .NET Standard 2.0 and ASP.NET Core 2.0 and I've dropped targeting .NET 4.5.2 since I don't think people were using it on that platform and I'd rather just stick with .NET Standard moving forward.
All the docs are still correct, you shouldn't have to do anything different for upgrades or new installs.
... And yes it works perfectly well with Razor Pages :)
Install via nuget:
PM> Install-Package Smidge
And if you want to use Nuglify, for the minification engine:
PM> Install-Package Smidge.Nuglify
A final release isn't too far away and I'll blog about this soon. Currently this beta doesn't contain any additional bug fixes or features than the pr
A final release isn't too far away and I'll blog about this soon. Currently this beta doesn't contain any additional bug fixes or features than the previous versions but it's re-targeted at .NET Standard 2.0 and ASP.NET Core 2.0 and I've dropped targeting .NET 4.5.2 since I don't think people were using it on that platform and I'd rather just stick with .NET Standard moving forward.
All the docs are still correct, you shouldn't have to do anything different for upgrades or new installs.
... And yes it works perfectly well with Razor Pages :)
Install via nuget:
PM> Install-Package Smidge -Pre
Nothing published for this version
Nothing published for this version
Nothing published for this version
There's some breaking changes so here's some notes on upgrading: https://github.com/Shazwazza/Smidge/wiki/Upgrading
Built against NETStandard1.6 and .Net 4.5.2
You can install via Nuget
PM> Install-Package Smidge -Pre
Loads of new features in this release: https://github.com/Shazwazza/Smidge/milestone/5?closed=1
There's a few more things to release before 2.0 RC: https://github.com/Shazwazza/Smidge/milestone/5
There's some breaking changes so here's some notes on upgrading: https://github.com/Shazwazza/Smidge/wiki/Upgrading
Ensure you read the docs on install, etc... in the readme and docs too! https://github.com/Shazwazza/Smidge
Supporting ASP.NET Core 1.0.0, built against NETStandard1.6 and .Net 4.5.2
Supporting ASP.NET Core 1.0.0, built against NETStandard1.6 and .Net 4.5.2
You can install via Nuget
PM> Install-Package Smidge
Not much new with this release apart from updating to 1.0.0 RTM and .Net 4.5.2 and a couple of issues fixed https://github.com/Shazwazza/Smidge/issues?q=milestone%3Av1.0.0
Ensure you read the docs on install, etc... in the readme and docs too! https://github.com/Shazwazza/Smidge
Supporting ASP.NET Core 1.0 RC2, built against Microsoft.NETCore.App 1.0.0-rc2-3002702 and .Net 4.6.1
Supporting ASP.NET Core 1.0 RC2, built against Microsoft.NETCore.App 1.0.0-rc2-3002702 and .Net 4.6.1
You can install via Nuget
PM> Install-Package Smidge -Pre
Not much new with this release apart from RC2 (ASP.Net Core 1.0) support and a couple of fixes: https://github.com/Shazwazza/Smidge/issues?q=milestone%3A1.0.0-rc7
Ensure you read the docs on install, etc... in the readme and docs too! https://github.com/Shazwazza/Smidge
Nothing published for this version
Nothing published for this version
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 rc1-update2 and tested with both Windows and Linux (using CoreCLR)
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 rc1-update2 and tested with both Windows and Linux (using CoreCLR)
You can install via Nuget
PM> Install-Package Smidge -Pre
This is the list of issues resolved and features added: https://github.com/Shazwazza/Smidge/issues?q=milestone%3Av1.0.0-rc4
Ensure you read the docs on install, etc... in the readme and docs too! https://github.com/Shazwazza/Smidge
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 rc1-update1 and tested with both Windows and Linux (using CoreCLR)
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 rc1-update1 and tested with both Windows and Linux (using CoreCLR)
You can install via Nuget
PM> Install-Package Smidge -Pre
This is the list of issues resolved and features added: https://github.com/Shazwazza/Smidge/issues?q=milestone%3Av1.0.0-rc3+is%3Aclosed
Ensure you read the docs on install, etc... in the readme (lots of updated docs now too!) https://github.com/Shazwazza/Smidge
Nothing published for this version
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 rc1-final and tested with both Windows and Linux (using CoreCLR)
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 rc1-final and tested with both Windows and Linux (using CoreCLR)
You can install via Nuget
PM> Install-Package Smidge -Pre
Ensure you read the docs on install, etc... in the readme: https://github.com/Shazwazza/Smidge
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 beta8 and tested with both Windows and Linux (using CoreCLR)
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 beta8 and tested with both Windows and Linux (using CoreCLR)
You can install via Nuget
PM> Install-Package Smidge -Pre
Ensure you read the docs on install, etc... in the readme: https://github.com/Shazwazza/Smidge
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 beta7 and tested with both Windows and Linux (using CoreCLR)
Supporting both DNX 4.5.1 and DNXCore 5.0, built against ASP.Net 5 beta7 and tested with both Windows and Linux (using CoreCLR)
You can install via Nuget
PM> Install-Package Smidge -Pre
Ensure you read the docs on install, etc... in the readme: https://github.com/Shazwazza/Smidge
Nothing published for this version
Supporting both DNX 4.5.1 and DNXCore 5.0 and built against ASP.Net 5 beta7
Supporting both DNX 4.5.1 and DNXCore 5.0 and built against ASP.Net 5 beta7
You can install via Nuget
PM> Install-Package Smidge -Pre
Ensure you read the docs on install, etc... in the readme: https://github.com/Shazwazza/Smidge
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.