Skip to content

Fix #381 async redis/valkey URIs without an explicit port - #384

Open
anubhavlal07 wants to merge 1 commit into
alisaifee:masterfrom
anubhavlal07:fix/async-redis-default-port
Open

anubhavlal07 wants to merge 1 commit into
alisaifee:masterfrom
anubhavlal07:fix/async-redis-default-port

Conversation

@anubhavlal07

@anubhavlal07 anubhavlal07 commented Nov 14, 2026 •

Copy link
Copy Markdown

Fixes #381

Version 5.8.0 inadvertently broke async redis and valkey URIs lacking an explicit port (such as async+redis://localhost) by switching to the strict parser used for cluster and sentinel configurations. This PR restores loose parsing for plain URIs while retaining strict requirements for cluster/sentinel URIs, and adds nine new server-free unit tests to cover this behavior.

Only cluster and sentinel locations require a port, matching 5.7.0.

This branch has not been deployed

No deployments
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.

5.8.0 rejects async redis/valkey storage URIs without an explicit port

1 participant