Skip to content

Conversation

@dunglas
Copy link
Owner

@dunglas dunglas commented Oct 14, 2024

Replaces #831 with a more flexible and future-proof approach.

Summary

  • In addition to URI templates, regular expressions, URL patterns and CEL expressions are now supported
  • the topic query parameter becomes match and now only supports exact matching
  • new query parameters match{MatchType} are introduced
    • by default, matchRegexp, matchURLPattern, matchCEL, and matchURITemplate are defined
    • hub can implement custom matcher types
    • future updates may introduce new matcher types
  • it's now possible to include per-topic (or topic matcher) payloads (replaces feat: payload for a specific topic #945)
  • the JWT format has been updated to match these new capabilities
  • the subscription API format has been updated to match these new capabilities

The official hub will be able to support both the current and new protocols simultaneously (no hard BC break).

TODO:

  • update all examples

Co-authored-by: Antoine Bluchet <[email protected]>
@stale
Copy link

stale bot commented Feb 25, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Feb 25, 2025
@soyuka
Copy link
Contributor

soyuka commented Mar 6, 2025

This is still ongoing work

@stale stale bot removed the wontfix This will not be worked on label Mar 6, 2025
@stale
Copy link

stale bot commented May 6, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 6, 2025
@stale stale bot removed the wontfix This will not be worked on label May 13, 2025
@stale
Copy link

stale bot commented Jul 18, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jul 18, 2025
@stale stale bot closed this Jul 29, 2025
@dunglas dunglas reopened this Sep 23, 2025
@stale stale bot removed the wontfix This will not be worked on label Sep 23, 2025
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.

3 participants