Skip to content

chore: prepare 1.9.9 release - #14747

Merged
ChiragAgg5k merged 1 commit into
1.9.xfrom
release/1.9.9
Oct 21, 2026
Merged

ChiragAgg5k merged 1 commit into
1.9.xfrom
release/1.9.9

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Appwrite 1.9.9 is a precautionary maintenance release that moves the runtime to PHP 8.5.12. Appwrite is not affected by CVE-2026-109618 or CVE-2026-109619 ("PHP2Shell"), because it serves requests through Swoole rather than PHP's web SAPIs (mod_php, PHP-FPM, CGI). This release keeps the runtime on the patched version anyway.

Changes

  • Dockerfile: appwrite/base 1.4.3 → 1.4.5 (PHP 8.5.12, plus the hardened ImageMagick policy from 1.4.4)
  • APP_VERSION_STABLE 1.9.8 → 1.9.9, README install snippets
  • Migration::$versions: 1.9.9 => V25, so there are no schema changes
  • Console stays on 8.7.37, and APP_CACHE_BUSTER is unchanged (no cached output changes)
  • CHANGES.md entry

Blocked on

Release

Publish the GitHub Release with --latest=false so latest stays on 2.x. There is no 1.9.x → main merge-back.

Related: appwrite-labs/cloud#6671

@luxor-code-review

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

Copy link
Copy Markdown

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

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Increment APP_CACHE_BUSTER for 1.9.9 (constants.php:53) — The release bumps APP_VERSION_STABLE to '1.9.9' but leaves APP_CACHE_BUSTER at 4328 (app/init/constants.php:53), while the patch-release checklist requires incrementing the buster by 1 with every version bump.

The change prepares the 1.9.9 patch release: it updates version constants, the appwrite/base image tag to 1.4.5 (with a PHP 8.5.12 bump and an ImageMagick policy hardening), refreshes CA certificates in the Dockerfile, updates install examples in both READMEs, and registers a CHANGES.md entry. The migration map in Migration.php now points 1.9.9 at the existing V25 migration. One reviewer finding remains: APP_CACHE_BUSTER in app/init/constants.php was not incremented even though the release alters the migration map, risking stale client-side caches that claim compatibility with an unchanged console/API surface.

Files Change
app/init/constants.php, src/Appwrite/Migration/Migration.php Version bump to 1.9.9 and migration-map entry reusing V25.
Dockerfile Base image appwrite/base:1.4.5, PHP 8.5.12, ImageMagick policy, CA cert refresh.
README.md, README-CN.md, CHANGES.md Install examples and release notes updated to 1.9.9.

Reviewed commit: 69c029a

@ghost

ghost commented Oct 21, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Prepares the Appwrite 1.9.9 patch release by updating the base-image reference, stable version metadata, migration mapping, changelog, and install examples. The migration mapping continues to use V25, and the Console image remains on 8.7.37.

Verdict New comments Fixed Still open
✅ Approved 0 1 0
📂 Walkthrough · 6
File Change
CHANGES.md Adds release notes for the 1.9.9 runtime, migration, and compatibility updates.
Dockerfile Updates the Appwrite base image reference to 1.4.5.
README.md Updates the three install examples to use Appwrite 1.9.9.
README-CN.md Updates the three Chinese install examples to use Appwrite 1.9.9.
app/init/constants.php Sets the stable version to 1.9.9.
src/Appwrite/Migration/Migration.php Maps version 1.9.9 to migration V25.
✅ Fixed since the last review · 1
  • Base image tag is not published yet · Dockerfile:20

Reviewed 69c029a · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ChiragAgg5k ChiragAgg5k self-assigned this Oct 21, 2026

@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 B · 1 blocking finding to address. Summary

Comment thread Dockerfile Resolved
Comment thread app/init/constants.php Resolved
@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing 1.9.x (before) to release/1.9.9 (after).

Before

Scenario P50 (ms) P95 (ms) Requests RPS
API total 12.98 122.28 185 35.06
Account 26.43 171.86 35 7.33
TablesDB 11.96 19.15 35 8.59
Storage 11.36 112.98 75 18.12
Functions 22.57 31.31 40 9.76

After

Scenario P50 (ms) P95 (ms) Requests RPS
API total 13.53 129.59 185 33.41
Account 31.49 176.28 35 6.98
TablesDB 12.91 18.73 35 8.19
Storage 12.28 116.09 75 17.26
Functions 24.7 32.6 40 9.27

Delta

Scenario P95 delta (ms)
API total +7.31
Account +4.42
TablesDB -0.42
Storage +3.11
Functions +1.29
Top API waits
API request Max wait (ms)
account.sessions.email.create 577.34
account.password.update 176.16
account.create 142.36

@github-actions

Copy link
Copy Markdown

🔄 PHP-Retry Summary

Flaky tests detected across commits:

Commit 69c029a - 1 flaky test
Test Retries Total Time Details
LegacyCustomServerTest::testOrQueries 1 1.11s Logs

@ChiragAgg5k

Copy link
Copy Markdown
Member Author

@hansi-codes review

@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

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