https://discord.umbraco.com logo
Umbraco.Community.CSPManager 17.0.0-beta...
# news
m
CSP Manager 17.0.0-beta.1 is out 🎉 The major version now aligns with Umbraco CMS — so v17 targets Umbraco 17+. If you're on Umbraco 13–16, stay on the 3.x releases. * New:* Import CSP policies in one click Paste a raw Content-Security-Policy header string, preview the directives, and import everything at once. No more recreating policies by hand. * New:* uSync Publisher support Umbraco.Community.CSPManager.uSync.Complete is a brand new package — push and pull CSP policies between Umbraco instances directly from the backoffice using the standard uSync Publisher workflow. The backoffice has been updated for Umbraco 17 with tree navigation and change tracking — unsaved changes are detected before you navigate away. Under the hood: fully async ICspService, expanded test suite (~71 tests, up from ~42), and test reports published on every PR. Breaking changes to be aware of: - GetOrCreateCspScriptNonce / GetOrCreateCspStyleNonce replaced by a single GetOrCreateCspNonce - CspManagerContext.ScriptNonce / StyleNonce replaced by a single Nonce - Constants.PluginAlias removed — use Constants.PackageAlias - ICspService has a new GetCspDefinitionAsync(Guid, CancellationToken) — implement it if you have a custom ICspService Three packages, one mono repo, all on NuGet: - https://www.nuget.org/packages/Umbraco.Community.CSPManager/17.0.0-beta.1 - https://www.nuget.org/packages/Umbraco.Community.CSPManager.uSync/17.0.0-beta.4 - https://www.nuget.org/packages/Umbraco.Community.CSPManager.uSync.Complete/
a
Nice update!
m
Thanks 🙂 been a fair amount of work 😄
9 Views