Repository navigation
v0.1.0-beta.6
Pre-release
Pre-release
·
17 commits
to main
since this release
The sixth beta, which breaks code written for 0.1.0-beta.5: specification 0.1.0, tier 1, capabilities sync, async and testing, cases v0.1.0-rc.18. It implements proposal 0121, on copies that keep received data read-only, which itinera makes by cloning, and proposal 0122, on custom code that returns something its call cannot return, which Rust's types rule out, and on journey IDs, which are strings that are not empty. What a journey does is unchanged; only creating an instance whose ID generator produces an empty string now fails. The minimum supported Rust version is 1.85.
Added
journey::EmptyJourneyId, the error that making a journey ID from an empty string returns.instance::InstanceError::EmptyJourneyId, whichinstance::InstanceBuilder::createreturns when the workflow's ID generator produces an empty journey ID.journey::JourneyId::into_inner, which gives a journey ID's text back as anArc<str>, andAsRef<Arc<str>>onjourney::JourneyId.
Changed
journey::JourneyIdis a string that is not empty: it is made withJourneyId::try_from, from a&str, aStringor anArc<str>, or withJourneyId::try_new, from anArc<str>, each refusing an empty string withjourney::EmptyJourneyId, instead ofJourneyId::from, which is gone.