Skip to content

Update to redis 8, fixes #51 - #55

Open
bserem wants to merge 1 commit into
ddev:mainfrom
bserem:redis8
Open

Update to redis 8, fixes #51#55
bserem wants to merge 1 commit into
ddev:mainfrom
bserem:redis8

Conversation

@bserem

@bserem bserem commented Jul 30, 2026

Copy link
Copy Markdown

The Issue

Redis 7 is EOL. Most webservers are now ready to use Redis 8 (8.8+ actually).

How This PR Solves The Issue

Update ddev addon to use Redis 8

Manual Testing Instructions

ddev add-on get https://github.com/bserem/ddev-redis/tarball/redis8
ddev restart

@bserem

bserem commented Jul 30, 2026

Copy link
Copy Markdown
Author

I'm testing this internally, using Drupal, thought to push it so other people can also give it a spin and then we can update the addon.

image

Thanks

@stasadev stasadev changed the title Update to redis 8 Update to redis 8, fixes #51 Jul 31, 2026

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

Please also update the tests:

-export REDIS_MAJOR_VERSION=7
+export REDIS_MAJOR_VERSION=8

And let's replace Redis 6 with Redis 7 in:

ddev-redis/tests/test.bats

Lines 363 to 384 in b50ac77

# bats test_tags=laravel-redis-6
@test "Laravel installation: ddev redis-backend redis:6" {
set -eu -o pipefail
export REDIS_MAJOR_VERSION=6
run ddev config --project-type=laravel --docroot=public
assert_success
laravel_redis_cache_setup
echo "# ddev add-on get ${DIR} with project ${PROJNAME} in $(pwd)" >&3
run ddev add-on get "${DIR}"
assert_success
run ddev redis-backend redis:${REDIS_MAJOR_VERSION}
assert_success
run ddev restart -y
assert_success
health_checks
}

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.

How to use Redis 8 with ddev-redis

2 participants