Jake Barnby and GitHub
94c6f6e07d
Merge pull request #11438 from appwrite/realtime-stats
2026-03-10 21:58:57 +13:00
Luke B. Silver and GitHub
299778cd50
Merge pull request #11489 from appwrite/feat-namespace-fix
...
Fix SDK namespace call
2026-03-10 08:33:32 +00:00
ArnabChatterjee20k and GitHub
b677586925
Merge branch '1.8.x' into realtime-stats
2026-03-10 13:12:04 +05:30
ArnabChatterjee20k
eccc39a466
refactor: remove realtime metrics from project usage endpoints and related tests
2026-03-10 12:15:25 +05:30
eldadfux
39f3bc7b9d
Fix SDK namespace call
2026-03-09 20:08:41 +01:00
eldadfux
ab0fa70bca
Enhance project context validation in realtime message handling. Ensure that projectId is checked for emptiness before processing messages, and enforce project context requirement for non-ping messages.
2026-03-09 19:31:44 +01:00
Matej Bačo
d3442d86c1
Rework time travel to CLI task
2026-03-09 12:54:12 +01:00
Matej Bačo
c20dfc7063
PR simplification
2026-03-09 11:51:32 +01:00
Matej Bačo
591cc70e76
Merge branch '1.8.x' into revert-11447-revert-10862-feat-1.8.x-new-schema
2026-03-09 11:42:09 +01:00
loks0n and Claude Sonnet 4.5
16ad05792d
Change blocked user/resource errors from 401 to 403
...
- Update USER_BLOCKED from 401 to 403 and simplify description
- Update GENERAL_RESOURCE_BLOCKED from 401 to 403
Rationale: 403 Forbidden is the correct HTTP status for authorization
failures where the user is authenticated but not permitted access.
401 Unauthorized is for authentication failures.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-03-06 17:30:51 +00:00
Luke B. Silver and GitHub
e5f0bc2df6
Merge pull request #11457 from appwrite/fix-migration-errors
...
Fix migration errors
2026-03-06 17:20:39 +00:00
Chirag Aggarwal
8b026d3459
perf: optimize updateDocument() calls to use sparse documents
...
Optimize updateDocument() calls across the codebase to pass only changed
attributes as sparse Document objects rather than full documents. This is
more efficient because updateDocument() internally performs array_merge().
Changes:
- Updated 58 files to use sparse Document objects
- Added Performance Patterns section to AGENTS.md with optimization guidelines
- Applied pattern to Workers, Functions, Sites, Teams, VCS modules
- Updated app/controllers/api files (account, users, messaging)
- Updated app infrastructure files (realtime, general, init/resources, shared/api)
Exceptions maintained:
- Migration files (need full document updates by design)
- Cases with 6+ attributes (marginal benefit)
- Complex nested relationship logic
2026-03-06 17:05:19 +05:30
ArnabChatterjee20k
0ea196d21c
updated inbound raw size to the request size
2026-03-06 15:37:30 +05:30
ArnabChatterjee20k and GitHub
12ae61b915
Merge branch '1.8.x' into realtime-stats
2026-03-05 18:40:15 +05:30
ArnabChatterjee20k
b5c2cc9716
Add triggerStats function for realtime usage metrics tracking
2026-03-05 18:10:09 +05:30
Chirag Aggarwal
e0269e268f
fix: re-read project from DB before updating accessedAt to prevent stale writes
...
Stale in-memory project documents in ScheduleBase (and request-scoped
copies in api.php/general.php) were overwriting current DB state when
updateProjectAccess triggered. Because Database::updateDocument uses
array_merge with the passed document taking priority, cached projects
missing recent OAuth provider changes would silently disable them.
Now fetches a fresh project document from the DB before writing, so only
accessedAt is updated without clobbering other fields.
2026-03-05 15:44:21 +05:30
eldadfux
9d2036024a
Refactor migration error handling to provide clearer connection error messages. Updated exception messages for migration sources to guide users on potential credential and network issues.
2026-03-05 08:24:32 +01:00
ArnabChatterjee20k
9fdd7c1c6e
added try catch connection close metric
2026-03-05 11:30:15 +05:30
Chirag Aggarwal and GitHub
5510231b8e
Merge branch '1.8.x' into fix/sdk-beta-versioning
2026-03-05 09:52:47 +05:30
Chirag Aggarwal
50f9c67862
fixes
2026-03-04 19:10:39 +05:30
Matej Bačo and GitHub
248b3c8b32
Revert "Revert "Features with schema changes""
2026-03-04 14:31:27 +01:00
Matej Bačo and GitHub
f8b31e7db7
Revert "Features with schema changes"
2026-03-04 14:31:05 +01:00
Matej Bačo
1f5fd919c9
Merge branch '1.8.x' into feat-1.8.x-new-schema
2026-03-04 14:13:01 +01:00
fogelito
da30142b4d
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into executions-collection-index
2026-03-04 10:29:20 +02:00
fogelito
f5047afec9
Remove index
2026-03-04 10:28:56 +02:00
loks0n and Claude Sonnet 4.5
c073743989
fix: lint - order imports in general controller
...
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-03-03 20:11:34 +00:00
loks0n and Claude Opus 4.6
20f248a6ae
refactor: consolidate SiteRequestCompleted into RequestCompleted with optional deployment
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 19:36:48 +00:00
loks0n and Claude Opus 4.6
2081c4c42c
refactor: replace bandwidth queueForStatsUsage with Bus events
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 19:36:48 +00:00
loks0n and Claude Opus 4.6
b45ff6b646
refactor: replace queueForExecutions with Bus event bus
...
Introduce a generic event bus (Utopia\Bus) with typed events, listener
base class, Span instrumentation, and coroutine dispatch. Replace all
direct queueForExecutions and inline execution usage calls with
ExecutionCompleted event and dedicated listeners (Log, Usage).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 19:36:48 +00:00
ArnabChatterjee20k
82db411517
updated
2026-03-03 19:36:49 +05:30
fogelito
5999db295d
Message
2026-03-03 15:44:20 +02:00
ArnabChatterjee20k
7644e0fe48
Add realtime metrics for connections, messages, and bandwidth in project usage
2026-03-03 18:48:37 +05:30
fogelito
b6b44efdab
Revert length
2026-03-03 13:58:00 +02:00
fogelito
f4125b8859
Remove length
2026-03-03 13:35:23 +02:00
fogelito
1ccd61ece5
functionInternalId
2026-03-03 12:15:21 +02:00
Hemachandar and GitHub
598c71fb11
Move VCS events APIs to Modules ( #11403 )
...
* Move VCS events APIs to Modules
* trait
* lint
* fix external flow
* fix overriden vars
* feedback
2026-03-03 00:15:09 +05:30
Jake Barnby and GitHub
3c4c78d086
Merge branch '1.8.x' into fix-realtime-regions
2026-02-27 06:07:06 +00:00
Prem Palanisamy
81e828a200
use named arguments and elvis operator for realtime error logging
2026-02-26 15:45:46 +00:00
Prem Palanisamy
218d25ba1b
improve realtime error logging with project, user, and auth context
2026-02-26 15:45:46 +00:00
copilot-swe-agent[bot] and abnegate
339ecc418d
test: remove testConnectionFailureRegionMismatch and mock PATCH route
...
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com >
2026-02-26 12:46:47 +00:00
copilot-swe-agent[bot] and abnegate
5ff7e2af24
fix: revert regions.php, add mock PATCH route for project region in tests
...
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com >
2026-02-26 12:31:05 +00:00
copilot-swe-agent[bot] and abnegate
9aa47c267d
test: add region mismatch failure test and fra region to config
...
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com >
2026-02-26 12:14:23 +00:00
copilot-swe-agent[bot] and abnegate
952f48c72a
fix: use AppwriteException, fix console region, add region check test
...
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com >
2026-02-26 11:55:15 +00:00
eldadfux
ded05ebea2
Merge remote-tracking branch 'origin/1.8.x' into fix-users-optional-name-error
2026-02-26 12:09:12 +01:00
Eldad A. Fux and GitHub
a71f3555ae
Merge pull request #11412 from appwrite/fix-better-error-for-functions
...
Fix better error for functions
2026-02-26 12:07:31 +01:00
copilot-swe-agent[bot] and abnegate
4500349fda
fix: use 'default' fallback for _APP_REGION in realtime.php
...
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com >
2026-02-26 11:00:09 +00:00
Jake Barnby
347436d370
Add region check
2026-02-26 23:37:26 +13:00
eldadfux
47a81d165e
Fix for user name to accept null and cast as string
2026-02-26 10:30:41 +01:00
eldadfux
79d219bf50
fix cache duplication
2026-02-26 07:50:51 +01:00
eldadfux
9b2143a2a5
Fixed cache duplication
2026-02-26 07:44:35 +01:00