Fix V21 backward compat filter, remove outdated comment, patch phpunit CVE#11446
Draft
Copilot wants to merge 3 commits intofeat-1.8.x-new-schemafrom
Draft
Fix V21 backward compat filter, remove outdated comment, patch phpunit CVE#11446Copilot wants to merge 3 commits intofeat-1.8.x-new-schemafrom
Copilot wants to merge 3 commits intofeat-1.8.x-new-schemafrom
Conversation
2 tasks
Co-authored-by: Meldiron <19310830+Meldiron@users.noreply.github.com>
…e deserialization) Co-authored-by: Meldiron <19310830+Meldiron@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add schema changes for multiple features
Fix V21 backward compat filter, remove outdated comment, patch phpunit CVE
Mar 4, 2026
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.
Three fixes for the schema-change PR:
V21 response filter backward compatibility
The
V21response filter was not stripping the two new fields introduced in this PR when downgrading responses to the 1.8 format, causing unexpected fields to appear for older SDK clients:deploymentRetention— removed from both function and site responses (viaparseSpecs)startCommand— removed from site responses only (viaparseSite), as it doesn't exist in the 1.8SitemodelUnit tests added in
tests/unit/Utopia/Response/Filters/V21Test.phpcovering function, function list, site, and site list transformations.Outdated comment removed
app/config/collections/projects.phpstill had// At the moment, always empty (no runtime supports it yet)on thestartCommandschema field — removed, since the field is now actively used.phpunit CVE patch
composer.lockpinnedphpunit/phpunitat9.6.31, which is affected by CVE: Unsafe Deserialization in PHPT Code Coverage Handling (>= 9.0.0, < 9.6.33). Bumped to9.6.33(patched release) — version, git ref, dist URL, and support URL updated in the lock file.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.