Repository navigation
chore: prepare 2.5.0 release - #14422
Conversation
|
Review complete. No issues found — approved ✅. This PR prepares the 2.5.0 release: the stable version constant and cache buster are bumped, docker-compose image tags and README (EN/CN) install instructions are aligned, and the
Reviewed commit: f2890ef |
🔵 Tier A · Mergeable after minor fixes
This release-prep PR advances Appwrite’s stable version and project migration mapping to 2.5.0, updates the README install snippets, and pins the self-hosted Console image to 1.2.74. It also revises the Console passkey-origin setting, removing it from the sample/config metadata and Compose environment forwarding in the latest commits. Latest changes: The newest commits remove
Note Not approving while a bug finding is open: Keep forwarding Console passkey origins
Fix with agent prompt### Issue 1
docker-compose.yml:134
**Keep forwarding Console passkey origins**
The backend still reads `_APP_CONSOLE_PASSKEY_ORIGINS` in `app/config/console.php:57`, but removing it from this service's environment list means Compose no longer passes the value from `.env` or the host into Appwrite. Self-hosted deployments therefore cannot configure the extra origins used for preview-console passkey sign-in; please keep forwarding this setting.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 7
Reviewed the commits since |
Security rulesNo new WARNING or ERROR findings from security rules. 19 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
f2890ef to
b513f27
Compare
Prepares 2.5.0:
APP_VERSION_STABLE, README install snippets, the console pin (1.2.55 → 1.2.74), and2.5.0 => V25inMigration::$versions. 2.5.x is at main (baf867a). The release notes below are the draft for the GitHub Release.Review notes
schedules.interval,functions.interval,platforms.fingerprints, webhookhttpPass→ text) are each wrapped in try/catch like the rest of V25, so installs that already ran it re-run it cleanly.apps/console/1.2.74at baf867a) includes feat(console): email and password only for self-hosted console sign-in #14434: self-hosted Console sign-in is email and password only, and Console account passkeys are Cloud-only._APP_CONSOLE_PASSKEY_ORIGINSis removed fromdocker-compose.yml,.envandvariables.php. It only configures Console passkey sign-in, which self-hosted no longer shows. The server still reads it (default empty), so Cloud sets it in its own environment.PATCH /v1/project/policies/password-rotation, feat: add password rotation policy #14321) and custom membership IDs onPOST /v1/teams/:teamId/memberships(added support for custom membership id #14325, with the param moved last in fix(teams): declare membershipId after the existing createMembership params #14423).Changelog cover (
apps/console/public/images/changelog/<date>.avifin the release docs PR):Appwrite 2.5 lets you turn on passkeys for your projects from the Console, including in native Android apps. Functions can now run on an interval instead of a cron expression. Function runtimes no longer crash-loop after the executor restarts, the bundled ClickHouse does far less work under load, and the installer keeps your
docker-compose.override.ymland custom ports. It ships with the 1.2.74 self-hosted Console (was 1.2.55).Upgrading from 2.4.0 is one command plus
migrate. Nothing needs to be changed by hand.Highlights
Code path /tmp/code.tar.gz not found. Untracked runtimes are now removed on startup. (fix(executor): bump to 1.1.2 so restarts stop leaving crash-looping runtimes #14361)INSERTper request or execution, which kept the bundled ClickHouse at up to two cores on busy installs. (fix: batch usage writes across messages #14291)Fixes
Console
Auth and teams
PATCH /v1/teams/:teamId/memberships/:membershipId/statusis rate limited to 10 requests per IP and membership. (fix: rate limit guest-writable routes and drop deployment write grants #14405)Databases and TablesDB
getRowreturns the committed row right after a transaction commit instead of a stale copy or a 404. (fix(databases): return the committed row from get after a transaction #14201, fixes 🐛 Bug Report: getRow returns the pre-commit row after a transaction #14173)trigramis a new index type that servesstartsWith,containsandendsWith. Other databases reject it. (fix(databases): allow trigram index type for Postgres string matching #14108, fixes 🐛 Bug Report: Postgres:startsWith/contains/endsWithalways scan the full table #14088)400 column_limit_exceeded(attribute_limit_exceededfor collections) instead of a 500. (fix(databases): return 400 when a row is too large for its index #14374, fixes 🐛 Bug Report: Postgres: a value too large for a column's index returns 500 #14335)listColumnsandlistAttributesreportencryptfor every string type, so the Console masks encrypted varchar and text values. (fix(databases): report encrypt for every string column in listColumns #14413)$collectionand$tenantfields. (fix: strip internal $collection from commit and bulk event payloads #14216)Functions
$createdAtand$updatedAtin ISO 8601 like every other route. (fix: format datetime fields in the response model #14295, fix: publish worker event payloads through the response model #14316, fixes Format datetime fields in the response model #14296, Publish worker event payloads through the response model #14317)Storage
_APP_STORAGE_PREVIEW_LIMITagainst the uploaded size, so images between 15 MB and 20 MB preview again. (fix(storage): check preview limit against original file size #14284)PUT /v1/storage/buckets/:bucketId/files/:fileIdhas its rate limit back. (fix: rate limit guest-writable routes and drop deployment write grants #14405)Webhooks
authPasswordaccepts up to 2048 characters, and oversized usernames or URLs return 400 instead of 500. (fix: store webhook auth passwords up to 2048 chars and return 400 for oversized fields #14356)Avatars
Migrations
processing. (fix: fail migrations whose source or destination stops answering #14330, fixes Fail migrations whose source or destination stops answering #14331)Installer and workers
installandupgradekeepdocker-compose.override.yml. (fix(installer): keep docker-compose.override.yml when install and upgrade start the stack #14262)upgradekeeps custom HTTP/HTTPS ports and the HTTPS setting, and ports can be bound to one interface such as127.0.0.1:80. (fix: keep custom ports and HTTPS on upgrade, allow host-bound ports, resizable row fields #14345, fixes Keep custom ports and HTTPS on upgrade, allow host-bound ports, resizable row fields #14346)Under the hood
Consoleand the baseValidatormoved intoUtopia\ConsoleandUtopia\Validator. (refactor(console)!: move Console and Command into Utopia\Console #14261, refactor(validators)!: move the base class into Utopia\Validator #14263)Removed
Nothing.
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.5.0Upgrade
Run the same command with
--entrypoint="upgrade", then migrate:The migration stays on V25. It adds the function
intervaland Android platformfingerprintscolumns and widens the webhookhttpPasscolumn, and it takes longer the more projects you have. The new compose file movesopenruntimes/executorto 1.1.2; existing runtime containers are removed when it starts and cold-start on their next execution.Migrating a project to another install or to Cloud doesn't carry the passkey policy, the password rotation policy or Android signing certificate fingerprints yet, so set them again on the destination. Migrated team memberships get new IDs, so custom membership IDs aren't kept.
If you upgrade with
--use-existing-config, change the executor image toopenruntimes/executor:1.1.2yourself. Back up your data first.Contributors
Thank you to everyone who contributed to 2.5.0:
@ChiragAgg5k @HarshMN2345 @loks0n @levivannoort @eldadfux @ItsRoy69 @imtia33 @Indra55 @okxint @adityaoberai @abnegate @atharvadeosthale @aishwaripahwa12
Related: #14424