Skip to content

v1.15.2

Latest
Compare
Choose a tag to compare
@WhitWaldo WhitWaldo released this 12 Mar 03:43
c14fcea

What's Changed

This allows for actor reminders to be properly deserialized even if the Period or TTL fields includes a duration expression (e.g. @weekly or @every 1.5h25s). Do note that because of how the current Actors API is shaped, it requires deserialization to a TimeSpan as opposed to how we approach this in Dapr.Jobs and deserialize all available formats to a DaprJobSchedule. As a result, some of the TimeSpan return values may not make a lot of sense; for example one can't really express @midnight as a timespan despite being an allowed duration expression. Rather, this will deserialize as new TimeSpan() with all zeroed-out values.

As later Dapr releases increasing target improvements to Actors, we'll look into opportunities to revisit this approach and make it more consistent with other Dapr APIs like the aforementioned Dapr.Jobs.

Full Changelog: v1.15.1...v1.15.2