Skip to content

Raise tiny-blocks/building-blocks to ^6.0. - #13

Merged
gustavofreze merged 2 commits into
mainfrom
feature/building-blocks-6
Oct 21, 2026
Merged

gustavofreze merged 2 commits into
mainfrom
feature/building-blocks-6

Conversation

@gustavofreze

@gustavofreze gustavofreze commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Please follow the contributing guidelines.

Summary

Raises tiny-blocks/building-blocks to ^6.0. In 6.0, DomainEvent gains occurredAt(): ?Utc and the record's occurrence timestamp is resolved from the explicit argument to EventRecord::from(), then the event's own occurredAt(), then the current moment. The outbox copies occurred_at from that record and never reads the clock, so no source change is needed. The README now states where occurred_at comes from.

Breaking for consumers, released as 6.0.0: it requires tiny-blocks/building-blocks 6.0, whose DomainEvent implementations that do not use DomainEventBehavior must add occurredAt().

Related issue

None.

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • make review passes.
  • make tests passes.

@gustavofreze
gustavofreze merged commit 28f9199 into main Oct 21, 2026
5 checks passed
@gustavofreze
gustavofreze deleted the feature/building-blocks-6 branch October 21, 2026 14:39
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