Skip to content

[release/v1.1] fix: use prefix field instead of regex for subscription prefix filters#378

Merged
w1am merged 1 commit intorelease/v1.1from
cherry-pick/377/w1am/dev-1044-in-a-catch-up-subscription-filtering-by-stream-name-prefix-release/v1.1
Feb 26, 2026
Merged

[release/v1.1] fix: use prefix field instead of regex for subscription prefix filters#378
w1am merged 1 commit intorelease/v1.1from
cherry-pick/377/w1am/dev-1044-in-a-catch-up-subscription-filtering-by-stream-name-prefix-release/v1.1

Conversation

@github-actions
Copy link
Contributor

Cherry picked from #377

The addPrefix methods in SubscriptionFilter were incorrectly calling
builder.setRegex() instead of builder.addPrefix(), causing prefix filters
to be sent as regex matches on the wire. This could match streams that
contain the prefix anywhere in the name rather than only at the start.

Fixes #374
@linear
Copy link

linear bot commented Feb 26, 2026

@w1am w1am merged commit bb8265e into release/v1.1 Feb 26, 2026
1 check passed
@w1am w1am deleted the cherry-pick/377/w1am/dev-1044-in-a-catch-up-subscription-filtering-by-stream-name-prefix-release/v1.1 branch February 26, 2026 09:36
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