How we can help user with different event versions?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- ruby
- Domain
- backend-api-design
Research direction
Start by reviewing the Hanami::Events.build, subscribe, and broadcast entry points shown in the issue. Clarify how event version metadata should be represented and matched, including the expected behavior for legacy and current subscribers. Done should include an agreed API and coverage for versioned subscriptions and broadcasts.
Written by the indexing model from the issue text.
Description
Should we provide some meta information about an event? For example:
We have a legacy system and want to send a new payload in events. We can create something like this:
events = Hanami::Events.build(:kafka)
events.subscribe('*', version: 1.0) { |payload| error 'Old event payload' }
events.subscribe('*', version: 2.0) { |payload| Handler.call(payload) }
events.broadcast('user.updated', version: 2.0, user_id: 1)
- Dominant language
- Ruby
- Stars
- 41
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hanami/events
-
Abandoned?Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
Difficulty 1/5 Under an hour Newbie friendliness 5/100
-
First-Class Support for Subscribers in Separate ProcessesMay be free again @davydovanton claimed this 3094 days ago, and no pull request is open. Openenhancement
-
Generate event ID for each adapterMay be free again @davydovanton claimed this 3138 days ago, and no pull request is open. Openenhancement
-
Introduce typed event payloadMay be free again @davydovanton claimed this 3146 days ago, and no pull request is open. Openenhancement
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
hanami/hanami-action#536 ·
-
[2026-11] Latest release (2026-11) still has expanded list entries that are no longer supportedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Shopify/product-taxonomy#1054 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 13 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
docker/model-runner#1118 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TarteelAI/quranic-universal-library#1111 ·
Maintainers usually reply within 1 day