Skip to content

Conversation

@vmx
Copy link

@vmx vmx commented Jan 26, 2026

The multihashes library is deprecated. multiformats could be used instead, but it's an ESM only library. ESM modules do not work well with jest. Hence a minimal implementation without any dependencies is used instead.

It could be considered a breaking change as the API of Migrate.enableMultihash() changed. It longer takes the multihashes library as parameter, but no value at all. Though passing it in won't do any harm, so it's kind of backwards compatible.

The `multihashes` library is deprecated. `multiformats` could be used
instead, but it's an ESM only library. ESM modules do not work well
with jest. Hence a minimal implementation without any dependencies
is used instead.

It could be considered a breaking change as the API of
`Migrate.enableMultihash()` changed. It longer takes the `multihashes`
library as parameter, but no value at all. Though passing it in
won't do any harm, so it's kind of backwards compatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant