Bump version
Breaking changes likely needing action: * WindowedInfinityWithEtag (used in block2_write) is replaced with windowed-infinity 0.1.4 types, which are accessed through traits such as embedded-io or core::fmt::Write. Consequently, SimpleRenderable's `.render_bytes()` method is unified into `.render()`. * Types and traits around SimpleCBOR were renamed to both be less likely confused with its SimpleRendered alternative, and to make their names more consistent with SimpleRendered: * SimpleWrapper becomes TypeHandler * SimpleCBORHandler becomes TypeRenderable * SimpleSerialization becomes TypeSerializer * SimpleRequestData becomes TypeRequestData * Rename CriticalOptionsRemain into BadOption. * minicbor and ciborium-io are not features any more, but compiled unconditionally. (They only get linked when actively used). * The mincbor version usable with TypeRenderable (previously SimpleCBORHandler) is now 0.19. Breaking changes likely not needing action: * All deprecated items were removed. * TypeRequestData has become a struct (hiding its internal enum-ness). * Signatures of OptionsExt changed to reflect lifetime requirements for type_alias_impl_trait based nightly-only version (feature nontrivial_option_processing). Compatible changes: * A `.delete()` method is provided on TypedRenderable. This is compatible as no associated type is added (for lack of payload in either direction). * Internal CoAP numbers replaced with those loaded from the coap_numbers crate. * BadOption (previously CriticalOptionsRemain) now carries the option number that failed, and can be used to render into an RFC9290 Problem Details message. * The internal Code type turned from an alias of u8 into an newtype, and uses shared internal infrastructure with BadOption.
Loading
Please register or sign in to comment