Skip to content

docs(redis): port release-5.0 docs to master (v5.0.0/v5.0.1 + Redis 5.0 cleanup) - #48

Merged
chideat merged 6 commits into
masterfrom
cherry-pick/release-5.0-to-master
Jun 3, 2026
Merged

docs(redis): port release-5.0 docs to master (v5.0.0/v5.0.1 + Redis 5.0 cleanup)#48
chideat merged 6 commits into
masterfrom
cherry-pick/release-5.0-to-master

Conversation

@chideat

@chideat chideat commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Cherry-picks all of release-5.0's changes onto master (based on the current master tip, which already carries #40 llms.txt). Zero conflicts; docs/en is byte-identical to release-5.0.

Commits brought over (oldest → newest)

What this lands on master

  • Redis v5.0.0 + v5.0.1 release notes, compatibility matrix, and upgrade documentation.
  • Supported Redis versions corrected to 6.0 / 7.2 / 8.4 (Redis 5.0 dropped); obsolete Redis 5.0 references removed across intro / create-instance / user / parameter docs.
  • upgrade.mdx "Supported Upgrade Paths" table fixed (v5.0.1 row added, v4.1.x ACP corrected).
  • ACP v4.3 upgrade warnings (migrate Redis 5.0 instances before ACP v4.3) in upgrade.mdx and the instance-upgrade guide.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated supported Redis versions to 6.0, 7.2, and 8.4 (dropped support for 5.0)
    • Added v5.0.x release notes and compatibility matrix
    • Enhanced upgrade documentation with new step-by-step workflow and compatibility matrix
    • Updated lifecycle policy with explicit Full Support and Maintenance phase timelines
    • Clarified that patch upgrades don't auto-upgrade existing instances
    • Updated version compatibility guidance across all documentation sections

github-actions Bot and others added 6 commits June 3, 2026 14:59
* feat: add v5.0.0 release notes and upgrade documentation

- Add v5.0.0 release notes with Redis 8.4 support and expanded module APIs
- Update upgrade matrix for v5.0.0 (Redis 6.0.21/7.2.12/8.4.2, ACP v4.1/v4.2/v4.3)
- Add ACP v4.3 compatibility note recommending v5.0.0 upgrade first
- Restructure lifecycle policy into Full Support and Maintenance phases
- Add v5.0.0 query templates to doom.config.yml

* fix: add explicit anchor id to upgrade steps heading

Resolves doom-lint-no-unmatched-anchor error for the in-page link
from the Major Version Upgrade section.

* fix: drop in-page anchor for upgrade steps to avoid MDX parse error

The {#upgrade-steps} syntax is interpreted as a JSX expression by acorn
and fails to parse. Replace the in-page anchor link with a textual
reference since the section is immediately below.
Add a v5.0.1 version section with its own Fixed Issues, Known Issues, and
Security Fixes subsections, plus the three per-patch queryTemplates
(mw-redis-v5.0.1-{fixed,known,security}).

The Security Fixes section renders the curated, PUBLISHED advisories for
Redis-v5.0.1 (gated on ReleaseNotesStatus = Publish); the full fixed-CVE list
ships in the security errata:
- CVE-2026-25243  Redis RESTORE invalid memory access                  (MIDDLEWARE-31564)
- CVE-2026-31789  OpenSSL libssl3/libcrypto3, Redis 6.0/7.2/8.4 + exporter (MIDDLEWARE-31734)
- CVE-2026-40200  musl-utils, redis-tools image                        (MIDDLEWARE-31726)
#45 merged the v5.0.1 release-notes section + queryTemplates but landed before
the compatibility-matrix row was added. This adds the missing row:
v5.0.1 | 6.0.21, 7.2.14, 8.4.3 | v4.1, v4.2, v4.3 (the security fix bumped Redis
7.2->7.2.14 and 8.4->8.4.3; 6.0 unaffected).
…rade (#47)

- Set supported Redis versions to 6.0/7.2/8.4 (remove Redis 5.0) across intro, create-instance, user, and parameter docs; drop the obsolete Redis 5.0 CLI tab
- Fix Supported Upgrade Paths table: add the v5.0.1 row and correct the v4.1.x ACP versions
- Warn that operator upgrades do not auto-upgrade instances and that Redis 5.0 instances must be migrated to a supported version before upgrading ACP to v4.3 (upgrade and instance-upgrade guides)
- Clarify that ACP v4.3 requires Alauda Cache Service for Redis OSS v5.0.0 or later
Copilot AI review requested due to automatic review settings June 3, 2026 07:05
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR updates documentation for the ACP v5.0 / Redis OSS operator v5.0.x release. Changes include dropping Redis 5.0 support, adding Redis 8.4 support, introducing structured lifecycle policy documentation, adding release note infrastructure, and completely restructuring the upgrade guide with new ACP v4.3 migration requirements and step-by-step procedures.

Changes

ACP v5.0 Release Documentation Update

Layer / File(s) Summary
Supported Redis versions across documentation
docs/en/intro.mdx, docs/en/functions/10-create-instance.mdx, docs/en/functions/20-user.mdx, docs/en/functions/30-parameter.mdx
Introduction and functions documentation updated to list supported Redis versions as 6.0, 7.2, and 8.4 instead of 5.0, 6.0, 7.2. Updated version suggestions, CLI example outputs, version field descriptions, compatibility notes, and parameter template descriptions to remove Redis 5.0 references and add 8.4 support.
Lifecycle policy and support phases
docs/en/lifecycle_policy.mdx
Lifecycle policy restructured with new timeline table adding v5.0.x version rows and separating "End of Full Support" and "End of Maintenance" columns. New "Support Phases" section explicitly defines Full Support (Year 1) and Maintenance (Year 2) behavior with patch/backport expectations.
Release notes infrastructure for v5.0.x
docs/en/release_notes.mdx, doom.config.yml
Release notes document updated with new v5.0.0 and v5.0.1 sections including Fixed Issues/Known Issues/Security Fixes template placeholders. Compatibility matrix table updated with v5.0.1 and v5.0.0 entries. Configuration adds new JQL query templates for generating release notes from issue tracking.
Upgrade documentation and ACP v4.3 migration requirements
docs/en/upgrade.mdx, docs/en/how_to/30-upgrade.mdx
Upgrade guide completely restructured: adds overview and validation tips; rewrites version compatibility principles and prerequisites checklist; replaces upgrade paths matrix with tested compatibility table; adds ACP v4.3-specific notes requiring explicit upgrade of Redis 5.0 instances to 6.0/7.2/8.4 before upgrading ACP; redefines upgrade strategies; replaces execution sections with step-by-step procedure (plugin download/upload via violet, manual/automatic upgrade modes with CLI and web console approval steps).
Site version configuration update
sites.yaml
ACP site version updated from 4.0 to 5.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A new Redis version hops into view,
Five-oh sunsets, eight-point-four's new,
Lifecycle phases now crystal and clear,
Step-by-step upgrades—the path without fear!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: porting release-5.0 branch documentation to master, including v5.0.0/v5.0.1 release notes and removing Redis 5.0 references.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cherry-pick/release-5.0-to-master

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Ports the release-5.0 documentation set onto master, adding Redis OSS service v5.0.0/v5.0.1 release documentation and aligning the docs with the supported Redis versions (dropping Redis 5.0) and ACP v4.3 upgrade guidance.

Changes:

  • Adds v5.0.0 and v5.0.1 release notes content and supporting JIRA query templates.
  • Updates compatibility/support matrices and upgrade guidance (including ACP v4.3 warnings and supported upgrade paths).
  • Removes/updates stale Redis 5.0 references across intro and functional guides, reflecting supported Redis 6.0 / 7.2 / 8.4.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sites.yaml Bumps the acp site version reference to 5.0.
doom.config.yml Adds v5.0.0 and v5.0.1 release-notes query templates.
docs/en/upgrade.mdx Reworks upgrade guidance, adds compatibility matrix + ACP v4.3 warnings + operator upgrade steps.
docs/en/release_notes.mdx Adds v5.0.0/v5.0.1 sections and updates the compatibility matrix.
docs/en/lifecycle_policy.mdx Updates lifecycle table to Full Support/Maintenance phases and adds v5.0.x row.
docs/en/intro.mdx Updates supported Redis versions to 6.0 / 7.2 / 8.4 and removes Redis 5.0-specific notes.
docs/en/how_to/30-upgrade.mdx Adds ACP v4.3 / Redis 5.0 migration warning for instance upgrades.
docs/en/functions/30-parameter.mdx Removes Redis 5.0 parameter-template references.
docs/en/functions/20-user.mdx Removes Redis 5.0 user-management tab and refocuses on ACL-based flows (6.0+).
docs/en/functions/10-create-instance.mdx Updates supported Redis versions and example output to include Redis 8.4 and remove Redis 5.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/en/upgrade.mdx
$ kubectl -n redis-system get subscriptions.operators.coreos.com redis-operator -o jsonpath='{.status.installplan.name}'

# Approve the InstallPlan to proceed with the upgrade
$ kubectl -n redis-system patch --type='json' -p='[{"op":"replace","path":"/spec/approved","value":true}]'

<Directive type="tip" title="Version suggestion">
When used in a production environment, it is recommended to prioritize the `7.2` version, followed by `6.0`.
When used in a production environment, it is recommended to prioritize the `7.2` or `8.4` version, followed by `6.0`.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/en/upgrade.mdx`:
- Around line 89-93: The second command currently patches no resource; change
the patch to target the InstallPlan obtained earlier by name (the output of
kubectl -n redis-system get subscriptions.operators.coreos.com redis-operator -o
jsonpath='{.status.installplan.name}'). Replace the generic patch with one that
patches installplan/<installplan-name> (or uses command substitution like
$(...)) so the patch applies to the InstallPlan resource and sets /spec/approved
to true (keep --type='json' and the same JSON patch payload).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4822e099-5511-4541-bb7a-cf0a7f856aa3

📥 Commits

Reviewing files that changed from the base of the PR and between 408d060 and 737732c.

📒 Files selected for processing (10)
  • docs/en/functions/10-create-instance.mdx
  • docs/en/functions/20-user.mdx
  • docs/en/functions/30-parameter.mdx
  • docs/en/how_to/30-upgrade.mdx
  • docs/en/intro.mdx
  • docs/en/lifecycle_policy.mdx
  • docs/en/release_notes.mdx
  • docs/en/upgrade.mdx
  • doom.config.yml
  • sites.yaml

Comment thread docs/en/upgrade.mdx
Comment on lines +89 to +93
$ kubectl -n redis-system get subscriptions.operators.coreos.com redis-operator -o jsonpath='{.status.installplan.name}'

# Approve the InstallPlan to proceed with the upgrade
$ kubectl -n redis-system patch --type='json' -p='[{"op":"replace","path":"/spec/approved","value":true}]'
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Fix the InstallPlan approval command in manual upgrade steps.

Line 92 is missing the resource and target name, so the command will fail. Reuse the InstallPlan name obtained at Line 89 and patch that object explicitly.

Suggested fix
-          # If an upgrade is available, find the corresponding InstallPlan for the Subscription
-          $ kubectl -n redis-system get subscriptions.operators.coreos.com redis-operator -o jsonpath='{.status.installplan.name}'
+          # If an upgrade is available, capture the corresponding InstallPlan for the Subscription
+          $ INSTALLPLAN=$(kubectl -n redis-system get subscriptions.operators.coreos.com redis-operator -o jsonpath='{.status.installplan.name}')
 
           # Approve the InstallPlan to proceed with the upgrade
-          $ kubectl -n redis-system patch --type='json' -p='[{"op":"replace","path":"/spec/approved","value":true}]'
+          $ kubectl -n redis-system patch installplan "$INSTALLPLAN" --type='json' -p='[{"op":"replace","path":"/spec/approved","value":true}]'
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/en/upgrade.mdx` around lines 89 - 93, The second command currently
patches no resource; change the patch to target the InstallPlan obtained earlier
by name (the output of kubectl -n redis-system get
subscriptions.operators.coreos.com redis-operator -o
jsonpath='{.status.installplan.name}'). Replace the generic patch with one that
patches installplan/<installplan-name> (or uses command substitution like
$(...)) so the patch applies to the InstallPlan resource and sets /spec/approved
to true (keep --type='json' and the same JSON patch payload).

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying alauda-redis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 737732c
Status: ✅  Deploy successful!
Preview URL: https://e9f05b3a.alauda-redis.pages.dev
Branch Preview URL: https://cherry-pick-release-5-0-to-m.alauda-redis.pages.dev

View logs

@chideat
chideat merged commit 2ab3ac2 into master Jun 3, 2026
5 checks passed
@chideat
chideat deleted the cherry-pick/release-5.0-to-master branch June 3, 2026 07:41
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.

2 participants