You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Typed event source ids over DateTime, DateTimeOffset, DateOnly and TimeOnly are now written in their round-trip formats (for example 2026-10-23T14:15:16.0000000Z for a UTC DateTime) on every culture. Streams written earlier under a date or time identity, or under a decimal, double or float identity on a culture that uses a decimal comma, now have different ids: append to or read from them through the old string id if you still need them
Fixed
EventSourceId<T> now turns numeric, date and time values into event source ids, and parses them back, with the invariant culture, so the same identity names the same stream on every machine. A decimal id of 123.45 is "123.45" under nb-NO too, instead of "123,45" (#4651)
Typed event source ids over DateOnly, DateTimeOffset, TimeOnly and TimeSpan, and over concepts that wrap numbers or dates, can now be converted back from an untyped EventSourceId instead of throwing