Skip to content

Conversation

@RichardAnderson
Copy link
Member

Filters out deprecated Hetzner plans for the given region.

Resolves #991

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses issue #991 by filtering out deprecated Hetzner Cloud server plans from the available plans list. The implementation adds logic to check each plan's deprecation status for a given region and only includes plans that are either not deprecated or have a future unavailability date.

Changes:

  • Added Carbon import for date parsing functionality
  • Enhanced PHPDoc type annotations to include locations and deprecation data structures
  • Implemented deprecation filtering that excludes plans marked as unavailable for the selected region

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@saeedvaziry saeedvaziry merged commit 650d223 into vitodeploy:3.x Jan 27, 2026
3 checks passed
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.

[Bug]: Hetzner plans are not correct (Hetzner has new plans)

2 participants