Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm-bindgen: upgrade to 0.2.87 and remove serde-deserialize feature #335

Merged

Conversation

ecioppettini
Copy link
Contributor

Removes the deprecated serde-serialize feature (which seems unused, but I'm not a 100% sure). Also upgrades the wasm-bindgen version. I'm actually not sure if the version pinning is needed for some reason, but this is the minimum version I needed to add this as a dependency in the milkomeda bridge.

@ecioppettini ecioppettini self-assigned this Jun 12, 2024
wasm-bindgen = { version = "0.2" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about this version? Should we put it to 0.2.87 like all the others for consistency? Same for the multi-era crate. I think it was just on 0.2 due to copying an pasting dependencies at some point.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine every crate will resolve to the same version anyway. But probably yeah, if we pin one it's probably best to pin all of them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I'm still not really sure the pin is needed

@@ -26,7 +26,7 @@ hex = "0.4.0"
linked-hash-map = "0.5.3"
serde_json = "1.0.57"
serde-wasm-bindgen = "0.4.5"
wasm-bindgen = { version = "0.2", features=["serde-serialize"] }
wasm-bindgen = { version = "0.2" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one too?

Copy link
Contributor

@rooooooooob rooooooooob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hadelive
Copy link
Contributor

hadelive commented Jun 16, 2024

Why don't you bump to the latest version (0.2.92)?
Btw, could you merge the PR and release new version, @rooooooooob?
(We need it for this PR)

@solidsnakedev
Copy link

please upgrade to 0.2.92 we're currently having issues with the current CML version, Anastasia-Labs/lucid-evolution#149

@ecioppettini
Copy link
Contributor Author

Why don't you bump to the latest version (0.2.92)?

The main reason was that 0.2.87 is the version pinned by cardano-serialization-lib, so that enables using them together. I could change this to >=0.2.87 though.

@solidsnakedev
Copy link

Why don't you bump to the latest version (0.2.92)?

The main reason was that 0.2.87 is the version pinned by cardano-serialization-lib, so that enables using them together. I could change this to >=0.2.87 though.

yes, that makes sense

@ecioppettini ecioppettini merged commit 8999325 into develop Jun 25, 2024
1 check passed
@ecioppettini ecioppettini deleted the enzo/remove-serde-deserialize-feature-and-upgrade branch June 25, 2024 16:55
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.

4 participants