Add Date-Based Versioning for Breaking Changes #9
Labels
🕹 aspect: interface
Concerns end-users' experience with the software
⭐ goal: addition
Addition of new feature
🟩 priority: low
Low priority and doesn't need to be rushed
🚦 status: awaiting triage
Has not been triaged & therefore, not ready for work
Description:
To enhance the management of breaking changes in GraphQL schemas, it would be beneficial to implement a versioning system similar to Shopify's approach with dated URLs. This feature will allow automatic creation of new schema versions with date-based routes when backward-incompatible changes are introduced.
Feature Proposal:
Date-Based Versioning:
Automatic Creation of New Versions: When a breaking change is detected, the development server should prompt the user to create a new version. If confirmed, it will automatically create a new folder structure with a date-based name for the new schema version.
Folder Structure:
New Version Handling:
latest
folder will always point to the most recent non-breaking schema version.2024-04-04
) will be retained for backward compatibility and can still be edited or used as needed.Prompt for New Version Creation:
Configuration Options:
Enable/Disable Versioning:
Customizable Date Format:
Benefits:
Implementation Notes:
Additional Information:
Why Automated Date-Based Versioning is Better:
Reduced Risk of Human Error:
Simplified Workflow:
Improved Version Tracking:
Enhanced Compatibility Management:
Reduced Configuration Complexity:
Future-Proofing:
By adopting an automated date-based versioning system, you gain a more reliable, consistent, and scalable solution for managing schema changes. This approach helps ensure that API evolution is handled smoothly, minimizing disruptions and maintaining high-quality service for API consumers.
The text was updated successfully, but these errors were encountered: