fix: Exclude framework-inferred env vars with wildcards#11303
Merged
Conversation
Co-authored-by: anthony.shew <[email protected]>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ch4og
pushed a commit
to csmplay/mapban
that referenced
this pull request
Dec 24, 2025
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [turbo](https://turborepo.com) ([source](https://github.com/vercel/turborepo)) | [`2.7.1` -> `2.7.2`](https://renovatebot.com/diffs/npm/turbo/2.7.1/2.7.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/turborepo (turbo)</summary> ### [`v2.7.2`](https://github.com/vercel/turborepo/releases/tag/v2.7.2): Turborepo v2.7.2 [Compare Source](vercel/turborepo@v2.7.1...v2.7.2) <!-- Release notes generated using configuration in .github/release.yml at v2.7.2 --> #### What's Changed ##### Docs - perf(create-turbo): Download files faster by [@​anthonyshew](https://github.com/anthonyshew) in [#​11297](vercel/turborepo#11297) ##### Examples - examples(dev-deps): bump turbo from 2.6.3 to 2.7.1 in /examples/with-shell-commands in the with-shell-commands group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​11291](vercel/turborepo#11291) - examples(dev-deps): bump the with-svelte group in /examples/with-svelte with 3 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​11292](vercel/turborepo#11292) - examples(deps): bump the basic group in /examples/basic with 4 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​11293](vercel/turborepo#11293) ##### Changelog - fix: Use newline for separator in misuse text by [@​anthonyshew](https://github.com/anthonyshew) in [#​10834](vercel/turborepo#10834) - fix(create-turbo): Loader UI states by [@​anthonyshew](https://github.com/anthonyshew) in [#​11300](vercel/turborepo#11300) - fix: Exclude framework-inferred env vars with wildcards by [@​anthonyshew](https://github.com/anthonyshew) in [#​11303](vercel/turborepo#11303) - fix: Don't flash TUI on a >>> FULL TURBO by [@​anthonyshew](https://github.com/anthonyshew) in [#​11306](vercel/turborepo#11306) - fix: Transit nodes in Devtools by [@​anthonyshew](https://github.com/anthonyshew) in [#​11307](vercel/turborepo#11307) **Full Changelog**: <vercel/turborepo@v2.7.1...v2.7.2> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNC4yIiwidXBkYXRlZEluVmVyIjoiNDIuMTQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://git.csmpro.ru/csmpro/mapban/pulls/79 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Framework inference opt-out via negative env wildcards in
globalEnv(e.g., "globalEnv": ["!VITE_*"]) was not working as documented. As described in #10826,globalEnvwasn't making its way to per-task contexts.With this PR, we propagate those changes down to task execution context to meet user expectations.
Testing Instructions
Adding some tests around this behavior and hand tested myself.
CLOSES #10826
CLOSES TURBO-4831