Skip to content

Add minimum update age setting to filter recent package updates #4573

Merged
Gabriel Dufresne (GabrielDuf) merged 5 commits intomainfrom
MinimumAgeSettings
Apr 10, 2026
Merged

Add minimum update age setting to filter recent package updates #4573
Gabriel Dufresne (GabrielDuf) merged 5 commits intomainfrom
MinimumAgeSettings

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

Summary

  • Adds a global "minimum update age" setting (Updates page) that hides package updates released less than a specified number of days ago, protecting against supply chain attacks
  • Adds per-manager overrides for the same setting in each package manager's settings page
  • Both settings support preset values (1, 3, 7, 14, 30 days) and a "Custom..." option that reveals a numeric-only text input

Details

  • Filtering is applied in UpgradablePackagesLoader.IsPackageValid() using IPackageDetails.UpdateDate; packages whose release date cannot be determined are shown regardless (fail-open)
  • A compatibility table on the Updates settings page shows which package managers expose release dates
  • Per-manager setting can defer to the global value, explicitly disable the filter, or set its own threshold

@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 2563dd2 into main Apr 10, 2026
1 check passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the MinimumAgeSettings branch April 10, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants