Skip to content
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

Rename Compatibility Dates to Compatibility Flags #18176

Open
wants to merge 1 commit into
base: production
Choose a base branch
from

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Nov 14, 2024

Rename:

  • Component: CompatibilityDates -> CompatibilityFlags
  • Files
  • Collection: compatibility-dates -> compatibility-flags
  • Schema: CompatibilityDatesSchema -> CompatibilityFlagsSchema

Update:

Details

Follow up for #17900

The name "Compatibility Dates" probably comes from the fact that there was no "Compatibility Flags" section prior ro #17900. However the collection and the component list flags, not dates.

Documentation checklist

Copy link

cloudflare-workers-and-pages bot commented Nov 14, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4d06ca1
Status: ✅  Deploy successful!
Preview URL: https://30f227f3.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://compatflags.cloudflare-docs-7ou.pages.dev

View logs

@vicb
Copy link
Contributor Author

vicb commented Nov 14, 2024

Rename:
- Component: CompatibilityDates -> CompatibilityFlags
- Files
- Collection: compatibility-dates -> compatibility-flags
- Schema: CompatibilityDatesSchema -> CompatibilityFlagsSchema

Update:
- CODEOWNERS
- Redirect: https://developers.cloudflare.com/workers/platform/compatibility-dates.json -> compatibility-flags.json
@vicb
Copy link
Contributor Author

vicb commented Nov 18, 2024

rebased

Copy link
Contributor

@ToriLindsay ToriLindsay left a comment

Choose a reason for hiding this comment

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

@vicb Thanks for confirming that everything works!

@@ -1449,6 +1449,7 @@
/workers/platform/triggers/cron-triggers/ /workers/configuration/cron-triggers/ 301
/workers/platform/cron-triggers/ /workers/configuration/cron-triggers/ 301
/workers/platform/compatibility-dates/ /workers/configuration/compatibility-dates/ 301
/workers/platform/compatibility-dates.json /workers/platform/compatibility-flags.json 301
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/workers/platform/compatibility-dates.json /workers/platform/compatibility-flags.json 301
/workers/platform/compatibility-dates/ /workers/platform/compatibility-flags/ 301

@vicb Just confirming that it shouldn't like this instead? Feel free to close this suggestion if not. Let me know if you're not sure and I'll find out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No.
The only path changed by this PR is the json file, see #18176 (comment)

@ToriLindsay ToriLindsay requested a review from a team November 18, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:workers Related to Workers product size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.