chore(flags): rename evaluation environments to evaluation contexts #14326
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
NOTE: don't merge this yet; I just wanted to get the PR up, but I haven't made the necessary changes to the SDKs yet so hold your horses on actually changing the docs.
Renames the feature flag evaluation environments feature to "evaluation contexts" throughout the docs. The old name implied these were meant for deployment environments like "prod" or "staging", when they're actually meant for application contexts like "main-app", "marketing-site", or "checkout".
Changes
File renames:
evaluation-environments.mdx→evaluation-contexts.mdxevaluation-runtimes-and-environments.md→evaluation-runtimes-and-contexts.mdRedirects added in
vercel.json:/docs/feature-flags/evaluation-environments→/docs/feature-flags/evaluation-contexts/tutorials/evaluation-runtimes-and-environments→/tutorials/evaluation-runtimes-and-contextsSDK parameter updates:
evaluation_contexts/evaluationContextsparameterevaluation_environments/evaluationEnvironmentsis still supported for backward compatibilityContent updates across:
Checklist
vercel.json