Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.06 KB

CHANGELOG.md

File metadata and controls

48 lines (37 loc) · 2.06 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

0.4.1 - 2023-10-16

  • Take a reference to custom UR type identifiers

0.4.0 - 2023-08-04

  • Added support for no-std environments. #183
  • Introduced a type-safe ur::Type enum and a ur::Encoder::bytes shorthand constructor (see the below migration guide). #186
  • Added wasm example. #191

Migration guide

Replace Encoder constructors with bytes schemes:

ur::Encoder::new(data, max_length, "bytes")

with:

ur::Encoder::bytes(data, max_length)

Leave all other Encoder constructors as they are:

ur::Encoder::new(data, max_length, "my-scheme")

0.3.0 - 2023-01-07

  • Added ur::ur::decode to the public API to decode a single ur URI. #112
  • Added ur::ur::encode and ur::ur::decode to the root library path. #112
  • Bumped the Rust edition to 2021. #113
  • Added an enum indicating whether the UR was single- or multip-part to ur::ur::decode. #121
  • Migrated from anyhow errors to a custom error enum. #159
  • Remove std::fmt::Display implementation of Part. #160

0.2.0 - 2021-12-08

  • The public API has been greatly restricted
  • All public methods and structs are documented and should be much more stable going forward
  • Introduced fuzz testing

0.1.0 - 2021-08-23

  • Initial release