Skip to content

chore: prepare 2.1.0 release - #13615

Merged
ChiragAgg5k merged 8 commits into
mainfrom
2.1.x
Sep 11, 2026
Merged

ChiragAgg5k merged 8 commits into
mainfrom
2.1.x

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Prepares the 2.1.0 self-hosted release from the 2.1.x branch. Since 2.0.0, main has picked up new public surface plus roughly forty fixes, so this is a minor bump rather than a patch.

  • APP_VERSION_STABLE → 2.1.0
  • Migration.php gains 2.1.0 => V25. There are no collection schema changes since 2.0.0, so it reuses the existing migration class.
  • README and README-CN install snippets point at appwrite/appwrite:2.1.0.
  • docker-compose.yml console image → appwrite/new:1.1.78-self-hosted, the console build without the cdn.appwrite.io asset origin, so self-hosted installs serve every asset from their own domain.

Release notes (draft for review)

Appwrite 2.1 is the first minor release of the 2.x generation. It opens Appwrite Storage to the S3 ecosystem, adds two OAuth2 providers, teaches image previews to find the subject on their own, and folds in six weeks of fixes across auth, databases, storage, compute and realtime. Upgrading from 2.0.0 is a single command with no database migration.

Highlights

Fixes

Console

  • Usage breakdowns resolve names for every resource instead of showing truncated IDs beyond eight functions/sites; lookups batch by query length and preserve successful batches when another fails. (appwrite/vibes#343, Console 1.1.78)
  • The terminal stays above the phone keyboard. (appwrite/vibes#339, Console 1.1.77)

Auth and users

Redis

Databases and TablesDB

Storage

Functions, Sites and VCS

Realtime and events

Under the hood

Removed

  • _APP_LOGGING_PROVIDER, _APP_LOGGING_CONFIG_REALTIME, _APP_EXPERIMENT_LOGGING_PROVIDER and _APP_EXPERIMENT_LOGGING_CONFIG. Error reporting is Sentry only; LogOwl, Raygun and AppSignal DSNs are rejected at boot.
  • _APP_POOL_ADAPTER from the compose file.

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.1.0

Upgrade

Upgrading from 2.0.0 uses the same command with --entrypoint="upgrade", then run the migration:

cd appwrite
docker compose exec appwrite migrate

There is no schema change in this release, so the migration is quick. Existing installs pick up the appwrite-autogravity service and _APP_AUTOGRAVITY_HOST through the upgrade; leave the variable empty if you do not want automatic gravity. If you used _APP_LOGGING_PROVIDER or a realtime-specific DSN, keep a single sentry://PROJECT_ID:KEY@HOST/ DSN in _APP_LOGGING_CONFIG; other providers are no longer supported. Back up your data first.

Contributors

Thank you to everyone who contributed to 2.1.0:

@abnegate @akramcodez @ArnabChatterjee20k @ChiragAgg5k @fogelito @HarshMN2345 @imtia33 @lohanidamodar @loks0n @Meldiron @TorstenDittmann

Test Plan

Local fresh install of main (PostgreSQL + MongoDB profiles, _APP_DOCUMENTSDB / _APP_VECTORSDB enabled): unit tests (1193 tests) pass, tests/e2e/General passes, and the Console, Account, TablesDB, Health, Advisor, Locale, VCSGitHub, Avatars and GraphQL avatars suites pass. Lint, Rector, composer validate and PHPStan are clean.

2.1.x is in sync with main as of #13624 (251c652bb3). The Redis ACL path was verified against a Redis with requirepass, an ACL user and the default user disabled: all API, cache, pubsub, lock, realtime, publisher and consumer connections authenticate as the ACL user with zero NOAUTH / WRONGPASS.

Console image update verification: appwrite/new:1.1.78-self-hosted is published for linux/amd64 and linux/arm64. A standalone local container returned HTTP 200 for / and its CSS/JS assets, with no cdn.appwrite.io origin in the returned HTML. This was an HTTP smoke test, not a visual or authenticated usage/terminal flow test; no screenshots were captured. prettier --check docker-compose.yml, docker compose config --quiet, and git diff --check pass. The temporary smoke container was removed.

CI at 3769705d83 passed in full after retrying Teams E2E: https://github.com/appwrite/appwrite/actions/runs/34595715094.

Owner-confirmed release verification: fresh install and seeded 2.0.0 → 2.1.0 upgrade passed, including a second migration run and preservation of seeded data. These checks were performed by the owner, not independently rerun by this agent.

Related PRs and Issues

Checklist

Bump the stable version, add the 2.1.0 migration entry (no schema changes since 2.0.0, so it maps to V25), and point the README install snippets at the new tag.
@greptile-apps

greptile-apps Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The reviewed release-preparation changes appear safe to merge, with no outstanding actionable findings.

Summary

  • Updates stable and installation version references to 2.1.0.
  • Registers 2.1.0 with the existing V25 migration.
  • Updates the self-hosted console image.
  • Documents and forwards the compute build-size limit to relevant services.

Reviews (8) · Last reviewed commit: "chore: trigger CI"

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → 2.1.x (after).

Metric Before After Change
🚀 Requests/sec 196.71 210.36 🟢 +6.9%
⏱️ Latency P50 87.98 ms 81.99 ms 🟢 -6.8%
⏱️ Latency P95 209.39 ms 193.98 ms 🟢 -7.4%
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 81.99 193.98 13,452 210.36 -15.42
Account 173.42 314.9 708 11.71 -9.71
TablesDB 78.91 149.01 7,316 117.79 -9.61
Storage 76.58 163.61 3,540 58.43 -14.43
Functions 122.72 227.45 1,888 31.76 -34.91

Top API waits (after)

API request Max wait (ms)
account.prefs.update 510.31
account.name.update 504.43
functions.variables.update 432.24
tablesdb.rows.create 406.2
functions.delete 404.61

The console now publishes a -self-hosted variant built without the cdn.appwrite.io asset origin, so self-hosted installs serve every asset from their own origin.
…ions

_APP_AUTOGRAVITY_HOST ships in 2.1.0, not 2.0.0, and the entry now says what the host does and what happens when it is empty. _APP_LOGGING_CONFIG now states that Sentry is the only provider and that realtime shares the DSN, since the realtime-specific and provider variables were removed.
…talls

The builds worker has read _APP_COMPUTE_BUILD_SIZE_LIMIT since 1.7.0, but the compose file never forwarded it and variables.php still documented the old _APP_FUNCTIONS_BUILD_SIZE_LIMIT, so operators could not change the build size limit. Forward the variable wherever _APP_COMPUTE_SIZE_LIMIT is forwarded, document it, and mark the functions-era name deprecated like its siblings.
Comment thread docker-compose.yml Resolved
Jobs.php is where _APP_COMPUTE_BUILD_SIZE_LIMIT is read, and under the separate profile that runs in appwrite-worker-jobs, which did not receive the variable, so operator overrides never reached it.
@ChiragAgg5k
ChiragAgg5k merged commit c3889cc into main Sep 11, 2026
88 of 89 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the 2.1.x branch September 11, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants