Repository navigation
chore: prepare 2.6.0 release - #14730
Conversation
|
Review complete. 🟡 1 medium 📍 Findings outside the diff (1) — 🟡 1 medium — defects on lines GitHub can't attach comments to🟡 Medium — Regenerate stale // apps/console/src/lib/docs/compose-generator/composeData.ts
2 export const APPWRITE_VERSION = '2.5.0'The release bump updates Users generating a compose file from the 2.6.0 console get a 2.5.0 stack, diverging from the canonical This PR ships the 2.6.0 release bump for the self-hosted distribution. It raises
Note: the generated Reviewed commit: 8b93846 |
🟢 Tier S · Ready to merge
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.
📂 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)
|
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
keys.write(fix(keys): hide key secrets from callers without keys.write #14600, fix(keys): gate key secrets on the caller's effective scopes #14603).users/verifiedpermission roles, nullable model fields, Sites create links, loader version labels, guest join loops, and empty project-card sparklines; remove the broken datacenter firewall preset (fix(console): accept users/verified in custom permission roles #14662, fix(console): accept null from nullable SDK model fields #14693, fix(console): point sites create links at the combined create page #14694, fix(console): drop fixed sites create link errors from the type baseline #14696, fix(console): show the server's release line on the page loader #14547, fix(console): stop the guest /join spinner loop #14646, Fix firewall datacenter preset #14504; bundled Console update).Under the hood
_APP_MAINTENANCE_INACTIVE_INTERVAL(default: seven days); scheduler and workers share_APP_MAINTENANCE_QUEUE_NAME(default:v1-maintenance) (feat: maintain inactive projects through a maintenance worker #14695).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.0Upgrade
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 migrateRun the migration even when upgrading from 2.5.0. The updated V25 migration adds the resource-description and bucket
stripMetadatafields 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_HOSTto 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_STYLEcan 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 todisabled.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.8f3da7a12ecfdd3e6f01024797388bc4d9653b07; prep candidate:79c40bf999.2.6.xexists and will be retained for nightly/backports.bin/release check 2.6.0,bin/monorepo validate, Composer security audit, andgit diff --checkpass._APP_MAINTENANCE_QUEUE_NAMEwith its realv1-maintenancedefault, and date the four newly bundled Entire variable definitions to 2.6.0.APP_VERSION_STABLE=2.6.0; both CA packages resolve to20261020-r0.2.5.0..origin/mainand Console1.2.74..1.2.97, rather than describing only the certificate fix.Required before publishing
stripMetadata;packages/migrationdoes not yet carry all the new resource description/metadata settings. The coverage result alone does not prove those fields survive cross-instance migration.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.