From ad4af77eb2ffbef1148374e387d1642ea7b5481a Mon Sep 17 00:00:00 2001 From: Ademar Gonzalez Date: Wed, 26 Aug 2026 13:32:34 -0400 Subject: [PATCH] Set licenseUrl to the canonical licenses.nuget.org address nuget.org rejects a package that carries a unless is also present and points at https://licenses.nuget.org/, so that older clients still resolve the license: 400 To provide a better experience for older clients when a license expression is specified, must be set to 'https://licenses.nuget.org/Apache-2.0'. `dotnet pack` synthesizes that url from the expression; paket does not, so set both explicitly in the templates. The v3.4.5 push failed on the first package, so nothing was published under that version. Co-Authored-By: Claude Opus 5 --- RELEASE_NOTES.md | 2 +- src/Suave.DotLiquid/paket.template | 1 + src/Suave.Json/paket.template | 1 + src/Suave/paket.template | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 888034b5..9800e9c4 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,5 @@ ## New in v3.4.5 (Released 2026-08-26) -* Packages now declare the Apache-2.0 license as an SPDX expression (`licenseExpression`) instead of the deprecated `licenseUrl`, and carry repository metadata +* Packages now declare the Apache-2.0 license as an SPDX expression (`licenseExpression`, with `licenseUrl` kept at the canonical `licenses.nuget.org` address for older clients) and carry repository metadata * Allow consuming projects to use FSharp.Core versions newer than 10.0.102 (#840) * Refresh `README.md` to describe current v3.x capabilities and remove the legacy Jekyll `docs/` tree in favor of `website/` (guides) and `docs-api/` (API reference) * Modernize the reverse proxy to use `System.Net.Http.HttpClient` (shared, static instance) instead of the obsolete `WebRequest`/`HttpWebRequest` API diff --git a/src/Suave.DotLiquid/paket.template b/src/Suave.DotLiquid/paket.template index 45b05faf..c8fd36c2 100644 --- a/src/Suave.DotLiquid/paket.template +++ b/src/Suave.DotLiquid/paket.template @@ -3,6 +3,7 @@ authors Ademar Gonzalez owners Ademar Gonzalez description Suave.DotLiquid provides Liquid templates for Suave web server. licenseExpression Apache-2.0 +licenseUrl https://licenses.nuget.org/Apache-2.0 repositoryUrl https://github.com/SuaveIO/suave repositoryType git iconUrl https://raw.githubusercontent.com/SuaveIO/resources/master/images/head_trans.png diff --git a/src/Suave.Json/paket.template b/src/Suave.Json/paket.template index 922dfccd..552c8f37 100644 --- a/src/Suave.Json/paket.template +++ b/src/Suave.Json/paket.template @@ -3,6 +3,7 @@ authors Ademar Gonzalez owners Ademar Gonzalez description Suave.Json provides a small JSON serialization layer for Suave, backed by DataContractJsonSerializer. This package relies on runtime reflection and is NOT compatible with .NET Native AOT. licenseExpression Apache-2.0 +licenseUrl https://licenses.nuget.org/Apache-2.0 repositoryUrl https://github.com/SuaveIO/suave repositoryType git iconUrl https://raw.githubusercontent.com/SuaveIO/resources/master/images/head_trans.png diff --git a/src/Suave/paket.template b/src/Suave/paket.template index cee18dc4..fbb71689 100644 --- a/src/Suave/paket.template +++ b/src/Suave/paket.template @@ -3,6 +3,7 @@ authors Ademar Gonzalez owners Ademar Gonzalez description Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition. licenseExpression Apache-2.0 +licenseUrl https://licenses.nuget.org/Apache-2.0 repositoryUrl https://github.com/SuaveIO/suave repositoryType git iconUrl https://raw.githubusercontent.com/SuaveIO/resources/master/images/head_trans.png