atrium-api-v0.17.0
github-actions
released this
20 Feb 14:58
·
186 commits
to main
since this release
Added
- Update API, based on the latest lexicon schemas (#104)
Other
- Merge pull request #110 from str4d/lexicon-integer-min-max
- Add
MIN, MAX
associated constants to Lexicon integer types - Merge pull request #107 from str4d/lexicon-integer-conversion
- Add direct conversions between the Lexicon integer types and primitives
- Introduce dedicated types for DID and handle Lexicon string formats
- Introduce types guaranteed to fit the range of each Lexicon integer
- Move other dependencies into workspace dependencies table
- Move intra-workspace dependencies into workspace dependencies table
- Deduplicate package keys with workspace inheritance
- Set MSRV for main crates to 1.70
Added
atrium_api::types
:RecordKey
LimitedU8
,LimitedNonZeroU8
,BoundedU8
LimitedU16
,LimitedNonZeroU16
,BoundedU16
LimitedU32
,LimitedNonZeroU32
,BoundedU32
LimitedU64
,LimitedNonZeroU64
,BoundedU64
string
module, containing dedicated types for formatted Lexicon strings.
Changed
- All Lexicon integer fields now have a type that matches their minimum and maximum
accepted values, instead ofi32
. - All Lexicon string fields with one of the following formats now have the corresponding
dedicated type, instead ofString
:at-identifier
(atrium_api::types::string::AtIdentifier
)cid
(atrium_api::types::string::Cid
)datetime
(atrium_api::types::string::Datetime
)did
(atrium_api::types::string::Did
)handle
(atrium_api::types::string::Handle
)nsid
(atrium_api::types::string::Nsid
)language
(atrium_api::types::string::Language
)