Jake Barnby
3880f181b3
fix(databases): propagate purge parameter to documentsdb updateCollection
2026-04-09 01:19:18 +12:00
990a32dd9e
Update src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-08 23:31:55 +12:00
Jake Barnby
c5b8ed9cc1
feat(databases): cache list responses without requiring a select query
2026-04-08 23:02:34 +12:00
Jake Barnby
b1ce71e6b0
(chore): fmt
2026-04-08 21:35:49 +12:00
Jake Barnby
939092726c
test(databases): add regression for purge=true list cache invalidation
2026-04-08 21:31:42 +12:00
Jake Barnby
c6f8599c75
feat(databases): add purge parameter to updateCollection and updateTable
2026-04-08 21:31:38 +12:00
Jake Barnby
91d8519940
refactor(databases): restructure list response cache and clarify ttl description
2026-04-08 21:31:34 +12:00
Jake Barnby and GitHub
7f6486ec80
Merge pull request #11762 from bhardwajparth51/fix-10923-realtime-atomic-payload
2026-04-08 20:16:55 +12:00
Parth Bhardwaj and GitHub
2f5a49a37d
Merge branch '1.9.x' into fix-10923-realtime-atomic-payload
2026-04-08 13:39:54 +05:30
Matej Bačo and GitHub
1f93184c42
Merge pull request #11615 from appwrite/feat-public-platform-api
...
Feat: public platform API
2026-04-08 10:08:10 +02:00
Jake Barnby and GitHub
7d9cf48ca3
Merge pull request #11750 from appwrite/bump-database-version2
2026-04-08 20:04:25 +12:00
Matej Bačo
cea242c66f
Merge branch '1.9.x' into feat-public-platform-api
2026-04-08 09:29:54 +02:00
Matej Bačo
ce4eb563b3
AI review fixes
2026-04-08 09:29:12 +02:00
Matej Bačo
2307d637fb
Revert new patch version
2026-04-08 09:10:02 +02:00
premtsd-code and GitHub
0aa72aafae
Merge branch '1.9.x' into bump-database-version2
2026-04-08 11:32:22 +05:30
Chirag Aggarwal and GitHub
6e1f0d57af
Merge pull request #11817 from appwrite/fix/specs-unresolved-model
...
fix: throw RuntimeException for unresolved response models in spec generation
2026-04-08 11:08:30 +05:30
Chirag Aggarwal
62b6ef06e6
fix: add swoole extension to specs CI job
2026-04-08 10:49:50 +05:30
Chirag Aggarwal
f5ab593261
fix: make Project model public for server SDK spec generation
...
The project.updateLabels route uses AuthType::KEY which makes it
available on the server platform, but the Project model had public=false
causing it to be filtered out during spec generation.
2026-04-08 10:47:37 +05:30
Chirag Aggarwal
dd4a43b78c
fix: throw RuntimeException for unresolved response models in spec generation
...
Spec generation silently produced a fatal error when a response model
string could not be resolved to a registered model object. Now throws a
clear RuntimeException in both Swagger2 and OpenAPI3 formats, for both
single and array model responses.
Also adds a CI job to run spec generation on every PR so unresolved
models are caught before merge.
2026-04-08 10:41:43 +05:30
premtsd-code and GitHub
c4c56283e5
Merge branch '1.9.x' into bump-database-version2
2026-04-08 10:33:58 +05:30
Chirag Aggarwal and GitHub
f71a98a527
Merge pull request #11816 from appwrite/fix/email-session-cache-purge
...
fix: persist session before purging user cache in email/password login
2026-04-08 10:25:19 +05:30
premtsd-code and GitHub
2258668769
Merge branch '1.9.x' into bump-database-version2
2026-04-08 10:15:53 +05:30
Chirag Aggarwal
6dba407aed
test: add E2E test for email/password session cache race condition
...
Adds testEmailPasswordSessionNotCorruptedByConcurrentRequests which
reproduces the cross-worker Redis cache race that caused 401s after
login. The test fires a login request, waits for it to reach the cache
purge point, then injects concurrent GET /v1/account requests that
re-cache a stale user document. Verifies the new session is immediately
usable.
Fails against the old ordering (purge before create), passes with the
fix (create before purge).
2026-04-08 10:10:16 +05:30
Luke B. Silver and GitHub
7eef845556
Merge pull request #11794 from blueberry-adii/doc-11793-fix-readme-auth-link
...
fix appwrite auth broken link in readme
2026-04-07 22:15:29 +01:00
loks0n and Claude Sonnet 4.6
7781d377ae
fix: persist session before purging user cache in email/password login
...
Swap the order of createDocument('sessions') and purgeCachedDocument('users')
in the email/password session creation flow. Previously, the cache was purged
before the session was written, opening a race window in Swoole's async
environment where a concurrent account.get() could re-cache the user with no
sessions, causing sessionVerify to fail with a 401. This matches the correct
ordering already used by the token-based flows (magic URL, OTP, phone).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-07 21:44:24 +01:00
Chirag Aggarwal and GitHub
59bf4663ca
Merge pull request #11808 from appwrite/fix/sdk-dev-branch-sync
...
fix: reset SDK dev branch to base branch before pushing
2026-04-08 00:40:56 +05:30
premtsd-code and GitHub
6653dbbb92
Merge branch '1.9.x' into bump-database-version2
2026-04-07 20:47:13 +05:30
Prem Palanisamy
d7d20ccb29
Remove (int) cast from setTenant in getDatabasesDB same-pool branch
2026-04-07 15:35:20 +01:00
Matej Bačo
9ea0b2bc2f
formatting fix
2026-04-07 15:56:54 +02:00
Matej Bačo
715727853b
Fix unit test
2026-04-07 15:56:42 +02:00
Matej Bačo
43d4f709d5
Revert composer changes
2026-04-07 15:00:03 +02:00
Matej Bačo
f40050fe6f
Revert lockfile changes (failing tests)
2026-04-07 14:51:40 +02:00
Prem Palanisamy
308a534d98
Merge branch 'bump-database-version2' of https://github.com/appwrite/appwrite into bump-database-version2
2026-04-07 13:16:56 +01:00
Prem Palanisamy
35a72c4f08
Remove (int) cast from setTenant in separate-pool branches
2026-04-07 13:10:16 +01:00
Matej Bačo
34dfcba45c
Linter fix
2026-04-07 14:08:16 +02:00
Chirag Aggarwal and GitHub
cb1e31bcd4
Merge pull request #11814 from appwrite/codex/bump-utopia-framework-0-34-18
...
[codex] Bump utopia-php/framework to 0.34.18
2026-04-07 17:38:06 +05:30
Matej Bačo
3e4e7fc0cd
Merge branch '1.9.x' into feat-public-platform-api
2026-04-07 14:08:00 +02:00
Chirag Aggarwal
9403e4d65d
Bump utopia-php/framework to 0.34.18
2026-04-07 17:35:32 +05:30
Matej Bačo and GitHub
07a49835a6
Merge pull request #11812 from appwrite/chore-migrate-labels-api
...
Chore: Migrat elabels API
2026-04-07 14:05:31 +02:00
Matej Bačo
d32de6f217
Improve tests
2026-04-07 13:30:35 +02:00
Matej Bačo
9b00ce4f1d
Add new tests
2026-04-07 13:28:35 +02:00
Matej Bačo
8f6c8f9d8d
Migrate to new endpoint
2026-04-07 13:21:36 +02:00
Matej Bačo
23fcb284a1
Fix backwards QA
2026-04-07 12:46:25 +02:00
premtsd-code and GitHub
ffdd0815a7
Merge branch '1.9.x' into bump-database-version2
2026-04-07 15:56:47 +05:30
Prem Palanisamy
4260324153
Merge branch '1.9.x' into bump-database-version2
...
Resolve merge conflicts in app/init/resources.php and app/worker.php
caused by the DI container migration (Http::setResource/Server::setResource
to $container->set). Port separate-pool shared tables logic for
getDatabasesDB to the new file locations (request.php and message.php)
with the correct $databaseDSN->getParam('namespace') fix.
2026-04-07 11:25:06 +01:00
Matej Bačo
d66813d3cf
Fix tests + QA fixes
2026-04-07 12:07:21 +02:00
Chirag Aggarwal and GitHub
0ce92da41f
Merge pull request #11810 from appwrite/codex/fix-post-merge-test-regressions
...
[codex] Fix post-merge e2e test regressions
2026-04-07 15:10:53 +05:30
Chirag Aggarwal
e8ef4e40d7
fix post-merge e2e test regressions
2026-04-07 15:05:07 +05:30
Chirag Aggarwal and GitHub
d200b07466
Merge pull request #11809 from appwrite/codex/fix-console-null-route
...
[codex] Handle null console routes in API middleware
2026-04-07 14:42:08 +05:30
Chirag Aggarwal
92abfb31aa
fix null route guard placement
2026-04-07 14:40:18 +05:30