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

fix: make getEdition a static method #53

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

ilmoi
Copy link
Contributor

@ilmoi ilmoi commented Nov 6, 2021

getEdition seem like a really useful addition to the metadata class - but when it's not static it's kinda hard to use.

Not sure if there was a reason for it being like this, but I couldn't find any in the codebase. Also making it static seems in line with other methods on Metadata.

Lmk if I missed something ¯_(ツ)_/¯

@aheckmann
Copy link
Contributor

Makes sense to me. Needs a semver major version bump

@zaxozhu
Copy link
Contributor

zaxozhu commented Nov 9, 2021

@aheckmann yes, it's a breaking change.

@zaxozhu zaxozhu merged commit fd4ce52 into metaplex-foundation:main Nov 9, 2021
@zaxozhu
Copy link
Contributor

zaxozhu commented Nov 9, 2021

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

@aheckmann aheckmann left a comment

Choose a reason for hiding this comment

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

Will merging this as is result in an auto-release as semver patch?

@aheckmann
Copy link
Contributor

Ha! I guess not. Cool

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.

5 participants