Releases: ATProtoKit/MultiformatsKit
Releases · ATProtoKit/MultiformatsKit
v0.3.0
Version 0.3.0 includes the following changes:
- Conform
CID
toCodable
.- You can now use
JSONDecoder
andJSONEncoder
to convert to and from aString
object. - Revamped
Multicodec
.- There is no longer a registry. Now, you can use one of the pre-built prefixes available.
- More pre-built prefixes will be added overtime.
- You can create custom prefixes,
but the mechanism to grab it has not been added yet. It will be in the future.At this time, there are no plans to do this. However, you can create the custom prefixes and pass it into the appropriate initializer if you need to.
- You can now use
v0.2.0
- Changed
BaseCodec
toMultibase
.- You can now call the
encode()
anddecode()
methods directly fromMultibase
’s properties.
- You can now call the
- Changed the default entry for
Multicodec.register()
- The
canOverwrite
parameter defaults totrue
now.
- The
Once again, thank you for your support. Please give feedback, bug reports, and contributions if you have time. Consider starring this project if you find it helpful, and feel free to donate an amount that reflects the value it has brought to you. Your support helps ensure the continued development and improvement of this project. You can also speak to me on Bluesky (@cjrriley.com) for any questions.