Skip to content

Change configuration min publish age exception public APIs - #7707

Merged
zivkan merged 3 commits into
devfrom
dev-zivkan-cooldown-exceptions-api
Sep 15, 2026
Merged

zivkan merged 3 commits into
devfrom
dev-zivkan-cooldown-exceptions-api

Conversation

@zivkan

@zivkan zivkan commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Bug

Progress: NuGet/Home#15035

Description

#7694 (comment) found a problem with the public API. So, while the new public APIs are still unshipped, this PR changes them to stop using PackageSourceProvider, and use a new MinPublishAgeExceptionsProvider for CRUD operations, similar to package source mapping's public API pattern.

This removes the APIs from PackageSourceProvider, allowing restore to load project-scoped configuration without constructing a package source provider or subscribing it to settings-change events.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@zivkan
zivkan marked this pull request as ready for review September 15, 2026 10:32
@zivkan
zivkan requested a review from a team as a code owner September 15, 2026 10:32
@zivkan zivkan changed the title Move min publish age exception loading to static API Change configuration min publish age exception public APIs Sep 15, 2026
@zivkan
zivkan merged commit 69a6fde into dev Sep 15, 2026
18 checks passed
@zivkan
zivkan deleted the dev-zivkan-cooldown-exceptions-api branch September 15, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants