Skip to content

Forward compatibility with future version of Magnus#172

Merged
jbourassa merged 7 commits intobytecodealliance:mainfrom
matsadler:main
Apr 8, 2023
Merged

Forward compatibility with future version of Magnus#172
jbourassa merged 7 commits intobytecodealliance:mainfrom
matsadler:main

Conversation

@matsadler
Copy link
Copy Markdown
Contributor

Hey, as I mentioned before I've been testing out Magnus API changes against this library to see how things feel in a real project.

This PR collects a handful of changes that will be required with the next major release of Magnus, but can be applied now (I did do a sneaky backport of a couple of very small things to fit them in here).

will be removed in future version of Magnus
other methods will be going away in future version of Magnus
val.try_convert::<T>() won't be supported in future versions of magnus
magnus' prelude only imports traits, and imports them anonymously
so is unlikely to cause issues
Symbol won't deref to Value in next version of magnus, so won't
pick up the impl of ToValType for Value
@jbourassa
Copy link
Copy Markdown
Collaborator

I've been testing out Magnus API changes against this library

Very appreciated as always. Thanks Mat!

@jbourassa jbourassa merged commit 9b7c036 into bytecodealliance:main Apr 8, 2023
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.

2 participants