-
Notifications
You must be signed in to change notification settings - Fork 303
feat: add compatibility-date #2110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
4e9b675 to
be965a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adds documentation for a new compatibility_date setting in Shopware CLI configuration files, explaining how it can be used to gate behavior changes.
Changes:
- Adds
compatibility_dateto the.shopware-project.ymlexample and documents its purpose/behavior. - Adds
compatibility_dateto the.shopware-extension.ymlexample and documents its purpose/behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| products/cli/project-commands/build.md | Documents compatibility_date for project builds and adds it to the sample .shopware-project.yml. |
| products/cli/extension-commands/configuration.md | Documents compatibility_date for extension configuration and adds it to the sample .shopware-extension.yml. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - custom/static-plugins | ||
| ``` | ||
|
|
||
| ## compatibility_date |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Section heading uses the raw config key (compatibility_date) while the rest of this document’s headings use title-style phrases. Consider renaming the heading to something like “Compatibility date” and refer to the exact key in the body text/code block to keep headings consistent and more readable in the TOC.
| ## compatibility_date | |
| ## Compatibility date |
|
|
||
| When you edit that file in an editor, you will get autocompletion and hints for the available options. | ||
|
|
||
| ## compatibility_date |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading compatibility_date is inconsistent with other headings in this doc (e.g., “Environment variables”), which are human-readable/title-style. Consider changing the heading to “Compatibility date” while still showing the exact YAML key in the example to improve readability/TOC consistency.
| ## compatibility_date | |
| ## Compatibility date |
No description provided.