Skip to content

chore: prepare 2.6.0 release - #14730

Merged
ChiragAgg5k merged 2 commits into
2.6.xfrom
release/2.6.0
Oct 21, 2026
Merged

ChiragAgg5k merged 2 commits into
2.6.xfrom
release/2.6.0

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Appwrite 2.6.0 brings image metadata controls, resource descriptions, database and storage fixes, and security updates to self-hosted deployments. It includes self-hosted Console 1.2.97, updated from 1.2.74. Back up your instance and run the migration after upgrading: this minor release includes schema updates.

Highlights

Fixes

Under the hood

Removed

Install

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

Upgrade

Back up your database and persistent storage, and test the upgrade on a copy first. From the parent directory of your existing installation, run:

docker run -it --rm \
    --publish 20080:20080 \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="upgrade" \
    appwrite/appwrite:2.6.0
cd appwrite
docker compose exec appwrite migrate

Run the migration even when upgrading from 2.5.0. The updated V25 migration adds the resource-description and bucket stripMetadata fields and repairs presence-log schema. Reusing the class name does not mean there are no schema changes.

The installer supplies the ExifTool service for image metadata stripping. Custom deployments must set _APP_EXIFTOOL_HOST to a reachable ExifTool service before enabling the bucket setting; an empty host stores images without stripping. Existing files are not rewritten.

For custom S3-compatible endpoints, _APP_STORAGE_S3_PATH_STYLE can force path-style requests (enabled) or bucket-addressing endpoints (disabled); an empty value infers the style. For a custom domain/CNAME pointing directly at a bucket, set it to disabled.

Outbound HTTPS endpoints presenting a compromised certificate chain must replace their certificate chain. TLS verification stays enabled.

Contributors

Thank you to @ChiragAgg5k and everyone who contributed to Appwrite 2.6.0 and the bundled Console releases.

Full Changelog: 2.5.0...2.6.0

Release preparation and validation

Supersedes the patch prep #14727. The new public fields and Console controls make this a minor release, as described in docs/releases.md.

  • Source: 8f3da7a12ecfdd3e6f01024797388bc4d9653b07; prep candidate: 79c40bf999. 2.6.x exists and will be retained for nightly/backports.
  • bin/release check 2.6.0, bin/monorepo validate, Composer security audit, and git diff --check pass.
  • Fixed the release metadata gate: define _APP_MAINTENANCE_QUEUE_NAME with its real v1-maintenance default, and date the four newly bundled Entire variable definitions to 2.6.0.
  • Production candidate builds on arm64 and reports APP_VERSION_STABLE=2.6.0; both CA packages resolve to 20261020-r0.
  • Migration SDK coverage passes inside the candidate against its actual locked PHP SDK 30.4.0 (2 tests, 2 assertions). The host checkout has stale installed dependencies, so its initial bootstrap/coverage failures were not used as release evidence.
  • Release notes were audited against 2.5.0..origin/main and Console 1.2.74..1.2.97, rather than describing only the certificate fix.
  • The self-hosted profile keeps Entire, project environments, inbound-email triggers, Appwrite push-provider controls, native MongoDB/videos, account MFA/OAuth, billing, and activity-log features disabled. Those Cloud-only/flagged features are not announced as self-hosted Console features. NATS-only queue changes are not promoted as a supported self-hosted queue switch.

Required before publishing

  • Prep PR CI green and prep merged into 2.6.x.
  • Fresh install with realistic data, unit/General/service E2E, and default/touched database adapters.
  • Upgrade from 2.5.0 using persisted data and non-default ports, run the updated V25 migration twice, verify seeded data through public APIs, and record the exact tested SHA in the 2.6.x → main test-record PR.
  • Complete the migration-library sync for the new 2.6 API fields. The locked SDK coverage passes for SDK 30.4.0, but that SDK does not expose new fields such as bucket stripMetadata; packages/migration does not yet carry all the new resource description/metadata settings. The coverage result alone does not prove those fields survive cross-instance migration.
  • Validate compatibility filters for any public behavior changes against 2.5.0.
  • Console/docs prep reviewed; after the server tag and merge-back, update Cloud's server-ce lock and add 2.6.x to the specs workflow, generate versioned/latest specs and examples, then update the API-reference pin and SDK compatibility rows.

No release tag or GitHub Release has been created. Publishing, merge-back, specs dispatch/merges, Console publishing, and upgrading oss.appwrite.org are separate steps under docs/releases.md.

Console/docs preparation: #14731.

Related: appwrite-labs/cloud#6671

CI follow-up: align transaction staging E2E with database 8.3.12. The matrix now verifies readable many-to-one links, denied links without the required permission, many-to-many update permission, rejected nested writes to read-only records, persisted links after commit, and unchanged related-record contents through both staging routes. Existing nested-permission unit coverage passes in the locked candidate (37 tests, 74 assertions); Pint passes for the changed E2E file.

@luxor-code-review

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

Copy link
Copy Markdown

Review complete. 🟡 1 medium

📍 Findings outside the diff (1) — 🟡 1 medium — defects on lines GitHub can't attach comments to

🟡 Medium — Regenerate stale composeData.ts for the 2.6.0 bump · composeData.ts:2 · file not in diff

// apps/console/src/lib/docs/compose-generator/composeData.ts
2	export const APPWRITE_VERSION = '2.5.0'

The release bump updates APP_VERSION_STABLE to 2.6.0 (app/init/constants.php:103) and the console image to appwrite/new:1.2.97-self-hosted (docker-compose.yml:285), but the generated compose data shipped with the console was not regenerated: apps/console/src/lib/docs/compose-generator/composeData.ts:2 still exports APPWRITE_VERSION = '2.5.0', pins image: appwrite/appwrite:2.5.0 throughout and appwrite/new:1.2.74-self-hosted, and emits VITE_APPWRITE_VERSION=2.5.0.

Users generating a compose file from the 2.6.0 console get a 2.5.0 stack, diverging from the canonical docker-compose.yml shipped in this release.


This PR ships the 2.6.0 release bump for the self-hosted distribution. It raises APP_VERSION_STABLE to 2.6.0, maps that version to migration V25, re-dates the _APP_VCS_ENTIRE_* variable introductions, documents the new _APP_MAINTENANCE_QUEUE_NAME env var (default v1-maintenance, matching Event::MAINTENANCE_QUEUE_NAME and the compose wiring), and bumps the console image to appwrite/new:1.2.97-self-hosted. All cross-file constants agree and the migration map satisfies MigrationVersionsTest.

Files Change
app/init/constants.php, src/Appwrite/Migration/Migration.php Bump APP_VERSION_STABLE to 2.6.0 and register the 2.6.0 → V25 migration entry.
app/config/variables.php, docker-compose.yml Add the _APP_MAINTENANCE_QUEUE_NAME variable with consistent default, and pin the console image to appwrite/new:1.2.97-self-hosted.
README.md, README-CN.md Update install/upgrade docs and version references for 2.6.0.

Note: the generated composeData.ts in the console still pins 2.5.0 — see the inline finding.

Reviewed commit: 8b93846

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

ghost commented Oct 21, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The incremental test changes align with the staged relationship permission cases and introduce no issue that needs fixing.

This prepares Appwrite 2.6.0 by updating the stable version, migration mapping, install examples, release metadata, and self-hosted Console image pin. It also expands database transaction-permission coverage for staged relationship writes.

Latest changes: The latest commit distinguishes the permissions needed for many-to-one and many-to-many links, and checks that staging a nested update to a read-only related record is rejected.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 7
File Change
README.md Updates self-hosted install examples to use the Appwrite 2.6.0 image.
README-CN.md Updates the Chinese self-hosted install examples to use the Appwrite 2.6.0 image.
app/config/variables.php Updates environment-variable introduction metadata and adds the maintenance queue setting.
app/init/constants.php Sets the stable application version to 2.6.0.
docker-compose.yml Pins the self-hosted Console image to version 1.2.97.
src/Appwrite/Migration/Migration.php Maps Appwrite 2.6.0 to migration V25.
tests/e2e/Services/Databases/Transactions/TransactionPermissionsBase.php Covers staged permissions for many-to-one and many-to-many relationships, including rejected nested updates to read-only related records.

Reviewed the commits since 8b93846 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ChiragAgg5k ChiragAgg5k mentioned this pull request Oct 21, 2026
5 tasks

@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 S · Looks good to merge. Summary

@github-actions

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

19 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (12)
  • 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 21, 2026 •

Copy link
Copy Markdown

✨ Benchmark results

Comparing 2.6.x (before) → release/2.6.0 (after).

Metric Before After Change
🚀 Requests/sec 196.76 203.64 ⚪ +3.5%
⏱️ Latency P50 86.68 ms 86.41 ms ⚪ -0.3%
⏱️ Latency P95 207.16 ms 195.7 ms 🟢 -5.5%
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 86.41 195.7 12,654 203.64 -11.46
Account 154.14 292.26 666 11.09 -19.51
TablesDB 83.99 152.92 6,882 112.27 -18.83
Storage 79.96 189.19 3,330 56.33 -2.49
Functions 116.02 215.2 1,776 30.93 -12.29

Top API waits (after)

API request Max wait (ms)
account.prefs.update 486.94
account.name.update 411.12
storage.buckets.create 380.6
storage.files.create 366.62
storage.files.update 349.24

@ChiragAgg5k
ChiragAgg5k merged commit bc74268 into 2.6.x Oct 21, 2026
63 checks passed
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