Skip to content

Commit a99400f

Browse files
abnegateclaude
andcommitted
chore(deps): require utopia-php/query ^0.6.2
0.6.2 quotes every key of a JSON path the PostgreSQL builder reads or writes (jsonb -> chains and jsonb_set path arrays), and the MongoDB builder refuses empty or $-prefixed field names in filters. Requiring it keeps an install from resolving 0.6.0/0.6.1, which emit path keys unquoted. Database validates object paths to plain keys before the builder sees them, and its Mongo adapter compiles its own filters, so neither change alters the queries database produces. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9a61264 commit a99400f

3 files changed

Lines changed: 12 additions & 15 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@ not change anything for an upgrade from 7.x.
817817
- Requires `utopia-php/query` 0.6 and `utopia-php/async` 0.2. `utopia-php/async` requires `opis/closure`, which the
818818
library itself does not use. `Utopia\Async\Serializer::unserialize()` no longer decodes closure payloads; use
819819
`Serializer::unserializeTrusted()` for data from a trusted channel.
820+
- Requires `utopia-php/query` 0.6.2 or later: its PostgreSQL builder quotes each key of a JSON path it reads or
821+
writes, and its MongoDB builder rejects an empty field name or one that starts with `$` in a filter.
820822

821823
### Development
822824

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"utopia-php/cache": "^4.0 || ^5.0",
5555
"utopia-php/pools": "^2.0",
5656
"utopia-php/mongo": "^1.5.4",
57-
"utopia-php/query": "^0.6",
57+
"utopia-php/query": "^0.6.2",
5858
"utopia-php/async": "^0.2"
5959
},
6060
"require-dev": {

‎composer.lock‎

Lines changed: 9 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)