Skip to content

chore: prepare 2.4.0 release - #14252

Merged
ChiragAgg5k merged 1 commit into
2.4.xfrom
release/2.4.0
Oct 8, 2026
Merged

ChiragAgg5k merged 1 commit into
2.4.xfrom
release/2.4.0

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Appwrite 2.4 adds custom profile photos, Webflow sign-in, push messages straight to a user without a device target, and webhook delivery IDs with retries that only resend what failed. The Console gets CLI and MCP onboarding and a breached password policy. Outbound requests and sign-in tokens are locked down further, ClickHouse no longer fills the disk with its own logs, and the Appwrite Assistant is retired. It ships with the 1.2.55 self-hosted Console (was 1.1.159).

Upgrading from 2.3.0 is one command plus migrate. Read the Upgrade section first if you run behind a public load balancer, use the GitHub integration without a webhook secret, or reach private hosts for OAuth2, webhooks or messaging.

Highlights

Fixes

Console

Auth and users

Databases and TablesDB

Functions and Sites

Messaging

Webhooks

Storage

Domains and certificates

VCS

Realtime

Migrations

API

Installer and workers

Under the hood

Removed

Install

docker run -it --rm \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:2.4.0

Upgrade

Run the same command with --entrypoint="upgrade", then migrate:

cd appwrite
docker compose exec appwrite migrate

The migration stays on V25. It adds columns for passkeys, authenticator names and profile photos to every project, and removes assistant.read from keys, functions and sites. It takes longer the more projects you have. The new compose file drops appwrite-assistant, moves appwrite-browser to its own network and adds two ClickHouse config mounts. Remove _APP_ASSISTANT_OPENAI_API_KEY from your .env.

Before upgrading, check these:

If you upgrade with --use-existing-config, copy the two ClickHouse mounts from the new docker-compose.yml yourself to get log retention. Back up your data first.

Contributors

Thank you to everyone who contributed to 2.4.0:

@ChiragAgg5k @HarshMN2345 @abnegate @loks0n @levivannoort @Meldiron @ArnabChatterjee20k @eldadfux @jaysomani @TorstenDittmann @lohanidamodar @imtia33 @fogelito @Indra55 @AayushKrGupta

Related: #14251

@luxor-code-review

luxor-code-review Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR ships the 2.4.0 self-hosted release: it updates APP_VERSION_STABLE, the docker-compose image pins, README/README-CN install and upgrade tags, and the introduced metadata for environment variables in the variables catalog. It also adds V25 to the migration set for the 2.4.0 upgrade path.

Files Change
app/init/constants.php, docker-compose.yml Bump stable version and image tags to 2.4.0 / matching compose pins.
README.md, README-CN.md Update install and upgrade instructions to reference the 2.4.0 tag.
app/config/variables.php Refresh env-variable introduced versions for the new release.
src/Appwrite/Migration/Migration.php, src/Appwrite/Migration/Version/V25.php Register the 2.4.0 migration (V25) in the versioned migration map.

No findings met the review threshold; the version, migration-map, and documentation bumps were found consistent at 2.4.0.

Reviewed commit: 2f2d188

@ChiragAgg5k

Copy link
Copy Markdown
Member Author

API additions left out of the release notes because console 1.2.55 has no screen for them yet: passkeys (#13983); the OAuth2 provider prompt setting (#13905); channelId on push messages (#13945); filtering messages by users and targets (#13958); current on DELETE /v1/account/sessions (#13990); total on 24 more list endpoints (#13991); duration on createEmailPasswordSession (#14004).

The 2.4.x → main release-record PR opens once this merges (2.4.x has no commits of its own until then). Merge it without deleting 2.4.x: 2.3.x was deleted after its merge-back, which left nightly building 2.0.x and failing since 2026-09-23.

@ChiragAgg5k ChiragAgg5k self-assigned this Oct 8, 2026
@ghost

ghost commented Oct 8, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Prepares the 2.4.0 self-hosted release by updating the documented install image, stable version, Console image, and migration mapping. It also updates environment-variable release metadata and the custom-photo migration note.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 6
File Change
README.md, README-CN.md Update the self-hosted install examples to use the 2.4.0 image.
app/config/variables.php Update introduction-version metadata for outbound-request and trusted-proxy settings.
app/init/constants.php Set the stable server version to 2.4.0.
docker-compose.yml Pin the self-hosted Console image to 1.2.55.
src/Appwrite/Migration/Migration.php Register 2.4.0 to run migration V25.
src/Appwrite/Migration/Version/V25.php Update the migration comment for custom user photo attributes.

Reviewed 2f2d188 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · Looks good to merge. Summary

Comment thread app/config/variables.php Resolved
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

32 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (17)
  • php.appwrite.permissive-write-permission (8)
  • php.appwrite.secret-compare-timing (5)
  • php.appwrite.weak-secret-env-default (2)

Posted by Checks / Rules. Re-runs update this comment in place. Rule details and baseline: .semgrep/README.md.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

✨ Benchmark results

Comparing 2.4.x (before) → release/2.4.0 (after).

Metric Before After Change
🚀 Requests/sec 205.62 169.88 🔴 -17.4%
⏱️ Latency P50 83.9 ms 98.43 ms 🔴 +17.3%
⏱️ Latency P95 202.27 ms 250.49 ms 🔴 +23.8%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 98.43 250.49 11,286 169.88 +48.21
Account 201.46 422.19 594 9.75 +120.58
TablesDB 95.2 213.78 6,138 95.26 +63.07
Storage 89.92 197.32 2,970 47.68 +23.35
Functions 143.52 304.86 1,584 26.07 +50.53

Top API waits (after)

API request Max wait (ms)
account.name.update 1,011.37
account.prefs.update 837.03
tablesdb.rows.decrement 816.39
functions.variables.update 750.98
functions.delete 645.69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant