Repository navigation
chore: prepare 2.1.0 release - #13615
Merged
Merged
Conversation
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.
Contributor
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
1 task done
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.
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.
HarshMN2345
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Prepares the 2.1.0 self-hosted release from the
2.1.xbranch. 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.0Migration.phpgains2.1.0 => V25. There are no collection schema changes since 2.0.0, so it reuses the existing migration class.appwrite/appwrite:2.1.0.docker-compose.ymlconsole 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
/v1/s3, authenticated with AWS Signature V4 headers or presigned URLs using a project API key. Bucket, object, multipart upload, copy, range and AWS chunked requests are covered, and every write goes through the same events, realtime, functions, webhooks, audits and usage metering as the Storage API. (feat: add S3-compatible storage service #13515)gravity=auto. The newappwrite-autogravityservice detects the focal point of the source image once, caches it per file, and every preview variant crops around it. Set_APP_AUTOGRAVITY_HOSTto enable it; without itautoreturns a clear configuration error and the existing gravities keep working. (Add automatic image crop gravity #13501)capacitor://as an allowed origin. (feat: support capacitor:// as an allowed origin #13514)x-appwrite.type,x-appwrite.produces, the cookies extension and the optional-security extension, replaced by standard alternatives and constrained unions. Enum, timezone and empty-object defaults serialize correctly. (feat: emit a canonical OpenAPI document covering every SDK platform #13512, feat(sdk): support PDF response content type #13504, Remove x-appwrite.type from OpenAPI specifications #13484, fix: remove x-appwrite.produces from OpenAPI responses #13524, Remove unused OpenAPI operation extensions #13494, feat(specs): replace optional security extension with alternatives #13543, fix: replace compound x-mapping with constrained unions #13577, fix(specs): omit invalid timezone and annotated enum defaults #13545, fix(specs): serialize empty object defaults as objects #13544, Fix effective SDK platform availability in OpenAPI specs #13502)Fixes
Console
Auth and users
Redis
_APP_REDIS_USERwas read but never used, so ACL users failed withWRONGPASS; every Redis client now authenticates with the[user, password]pair when a user is set. The queue publisher and worker consumers, which failed withNOAUTHon any password-protected Redis, receive the credentials andutopia-php/queue2.2.3 actually sends them. Passwords containing@ : / ? #no longer break the connection DSN at boot. (fix(redis): honour _APP_REDIS_USER and pass credentials to the queue publisher #13622, chore(deps): require utopia-php/queue ^2.2.3 #13624, fixes Publisher pool cannot authenticate to password-protected Redis (NOAUTH in task-scheduler) — credentials dropped in registers.php and never used by utopia-php/queue #13554)Databases and TablesDB
{"query": "...", "variables": {}}shape instead of a 500. (fix(graphql): reject malformed SDK query envelopes #13605)Storage
Functions, Sites and VCS
_APP_COMPUTE_BUILD_SIZE_LIMITis forwarded by the compose file and documented, so the build size limit can be changed on self-hosted installs._APP_FUNCTIONS_BUILD_SIZE_LIMITis marked deprecated. (this PR)Realtime and events
onClosecleanup. (fix(realtime): cast presence ids to string in onClose cleanup #13551)Under the hood
_APP_LOGGING_CONFIGstill takes asentry://DSN and now ships everySpan::add()attribute with the event, and_APP_LOGGING_FORMATpicksprettyorjsonfor container logs._APP_LOGGING_PROVIDERand_APP_LOGGING_CONFIG_REALTIMEare no longer read. (Remove utopia-php/logger and report errors through spans #13457, refactor: replace CLI and migration logError callbacks with spans #13491)mongodb/mongodbdependency and picks up the libcurl shutdown fix. (chore(deps): base image 2.0.5, and drop the vulnerable mongodb/mongodb #13552, fix: update base image to 2.0.4 for libcurl shutdown cleanup #13496)Removed
_APP_LOGGING_PROVIDER,_APP_LOGGING_CONFIG_REALTIME,_APP_EXPERIMENT_LOGGING_PROVIDERand_APP_EXPERIMENT_LOGGING_CONFIG. Error reporting is Sentry only; LogOwl, Raygun and AppSignal DSNs are rejected at boot._APP_POOL_ADAPTERfrom 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.0Upgrade
Upgrading from 2.0.0 uses the same command with
--entrypoint="upgrade", then run the migration:There is no schema change in this release, so the migration is quick. Existing installs pick up the
appwrite-autogravityservice and_APP_AUTOGRAVITY_HOSTthrough the upgrade; leave the variable empty if you do not want automatic gravity. If you used_APP_LOGGING_PROVIDERor a realtime-specific DSN, keep a singlesentry://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_VECTORSDBenabled): unit tests (1193 tests) pass,tests/e2e/Generalpasses, and the Console, Account, TablesDB, Health, Advisor, Locale, VCSGitHub, Avatars and GraphQL avatars suites pass. Lint, Rector,composer validateand PHPStan are clean.2.1.xis in sync withmainas of #13624 (251c652bb3). The Redis ACL path was verified against a Redis withrequirepass, an ACL user and thedefaultuser disabled: all API, cache, pubsub, lock, realtime, publisher and consumer connections authenticate as the ACL user with zeroNOAUTH/WRONGPASS.Console image update verification:
appwrite/new:1.1.78-self-hostedis published for linux/amd64 and linux/arm64. A standalone local container returned HTTP 200 for/and its CSS/JS assets, with nocdn.appwrite.ioorigin 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, andgit diff --checkpass. The temporary smoke container was removed.CI at
3769705d83passed 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
2.1.x