Skip to content

chore: prepare 2.7.1 release - #15312

Merged
loks0n merged 2 commits into
2.7.xfrom
release/2.7.1
Nov 4, 2026
Merged

loks0n merged 2 commits into
2.7.xfrom
release/2.7.1

Conversation

@loks0n

@loks0n loks0n commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Appwrite 2.7.1 is a security release that moves the Open Runtimes executor to 1.3.1. It ships with the same 1.2.138 self-hosted Console as 2.7.0, has no schema changes, and upgrading from 2.7.0 only replaces the images.

Security

  • Update the Open Runtimes executor from 1.1.2 to 1.3.1 (fix(security): do not follow container-planted links in logs, build output or cache open-runtimes/executor#269, chore: bump executor to 1.3.1 #15310). Executor 1.1.2 followed symlinks that a function or site plants in its execution log files, build logs, build output or build cache, and it used the runtime's log id without checking it. A function could read files from the executor container, including its environment with _APP_EXECUTOR_SECRET, as its own logs or build output. With that secret, code in a function can call the executor API directly, and the executor controls Docker on the host. You are affected if anyone you don't fully trust can deploy functions or sites on your instance. Upgrade, then rotate _APP_EXECUTOR_SECRET if that applies to you.
  • Executor 1.2.x and 1.3.x also bring changes that keep existing behaviour: OPR_EXECUTOR_SECRET_PREVIOUS for rotating the executor secret without downtime, a storage DSN check that is off by default, and an opt-in streamed response format.

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

Upgrade

Upgrading from 2.7.0 uses the same command with --entrypoint="upgrade", then run the migration, which has nothing to change for this release:

cd appwrite
docker compose exec appwrite migrate

If you maintain your own docker-compose.yml, set the openruntimes-executor image to openruntimes/executor:1.3.1 and run docker compose up -d.

To rotate the executor secret, set a new _APP_EXECUTOR_SECRET in .env and run docker compose up -d. This recreates the API, the workers and the executor together, so nothing needs the old value.

Back up your data first.

Contributors

Thank you to everyone who contributed to 2.7.1:

@loks0n

Full Changelog: 2.7.0...2.7.1

Related: open-runtimes/executor#269, #15310

@luxor-code-review

luxor-code-review Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Regenerate composeData.ts executor image to 1.3.1 (docker-compose.yml:2006) — The executor image bump in docker-compose.yml:2006 (openruntimes/executor:1.1.2 → 1.3.1) was not propagated to the console compose generator data, which still emits openruntimes/executor:1.1.2 at apps/console/src/lib/docs/compose-generator/composeData.ts:2258.

This PR is a release version bump. It updates the openruntimes/executor image to 1.3.1 in docker-compose.yml, bumps the version in README.md/README-CN.md, raises the platform version constant in app/init/constants.php, and adds the corresponding 2.7.1 entry to the migration map in src/Appwrite/Migration/Migration.php. One consistency gap was found: the console compose-generator data was not regenerated, so it still emits the old executor image.

Files Change
docker-compose.yml Bumps openruntimes/executor image tag to 1.3.1.
app/init/constants.php Bumps the platform version constant for the release.
src/Appwrite/Migration/Migration.php Adds the 2.7.1 migration version map entry.
README.md, README-CN.md Bump the version/install image tags in the docs.

Reviewed commit: 3f4d5ef

@loks0n loks0n self-assigned this Nov 4, 2026
@appwrite

appwrite Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Prepares Appwrite 2.7.1 as a patch release by updating the stable version and self-hosted install examples, upgrading the Open Runtimes executor to 1.3.1, and mapping the release to the existing V25 migration while retaining Console 1.2.138. The pull request also removes the repository’s Dependabot auto-merge workflow.

Latest changes: The newest commit removes the Dependabot auto-merge workflow; repository search found no remaining references to its path or name.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 6
File Change
.github/workflows/dependabot-auto-merge.yml Removes the workflow that delegated Dependabot patch and minor PR approvals and merges to the shared workflow.
README.md Updates self-hosted installation examples to use Appwrite 2.7.1.
README-CN.md Updates Chinese self-hosted installation examples to use Appwrite 2.7.1.
app/init/constants.php Sets the stable server version to 2.7.1.
docker-compose.yml Upgrades the bundled Open Runtimes executor image to 1.3.1 while retaining Console 1.2.138.
src/Appwrite/Migration/Migration.php Maps version 2.7.1 to the existing V25 migration.

Reviewed the commits since 3f4d5ef · Details · Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot 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

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

6 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (3)
  • php.appwrite.secret-compare-timing (1)
  • 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.

(cherry picked from commit 6c84e81)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@loks0n

loks0n commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

Checks / Workflows failed on the prep commit for a reason unrelated to the release. zizmor flagged .github/workflows/dependabot-auto-merge.yml on 2.7.x: its # main comment no longer matches the pinned SHA, because appwrite/.github main has moved. main deleted that file in 6c84e81, so 7bef117 applies the same deletion here. It doesn't change anything self-hosters run, so the release notes leave it out.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

✨ Benchmark results

Comparing 2.7.x (before) → release/2.7.1 (after).

Metric Before After Change
🚀 Requests/sec 198.2 208.64 🟢 +5.3%
⏱️ Latency P50 84.87 ms 82.6 ms ⚪ -2.7%
⏱️ Latency P95 204.07 ms 191.07 ms 🟢 -6.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 82.6 191.07 13,053 208.64 -13
Account 147.9 289.75 687 11.4 -3.47
TablesDB 79.85 149.46 7,099 116.18 -5.09
Storage 75.19 181.69 3,435 58.29 -3.66
Functions 118.1 222.18 1,832 31.69 -20.62

Top API waits (after)

API request Max wait (ms)
account.name.update 411.92
functions.variables.update 411.91
storage.buckets.create 375.59
account.prefs.update 346.36
functions.variables.create 305.91

@loks0n
loks0n merged commit 0571de6 into 2.7.x Nov 4, 2026
65 checks passed
@loks0n loks0n mentioned this pull request Nov 4, 2026
3 tasks done
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