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

Update peer dependeny web3.js #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

luu-alex
Copy link

@luu-alex luu-alex commented Dec 9, 2024

currently when building a new plugin, you run into an error when compiling with version 4.0.3, updating the peer dependency fixes this. We also need to major bump the package as it will be a breaking change to older plugins that use older versions of web3 #10

@@ -1,6 +1,6 @@
{
"name": "web3-plugin-template",
"version": "1.0.0",
"version": "2.0.0",
Copy link

Choose a reason for hiding this comment

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

I think. We do not need to change the version so much with these changes. It would be better to set 1.0.1 for ex.

Copy link
Contributor

Choose a reason for hiding this comment

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

I also gree.
I am not sure. But maybe something like:

Suggested change
"version": "2.0.0",
"version": "1.1.0",

Copy link
Author

Choose a reason for hiding this comment

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

good point, I'll check to make sure that the peer dependency update breaks anything before we can commit to a version update

Copy link
Contributor

Choose a reason for hiding this comment

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

FWIW I think 1.0.1 is a better choice for the version, per semantic versioning. Bumping the minor version (i.e. 1.1.0) would indicate that new non-breaking features were added. The third version number (patch) is the "fix" version and indicates that some existing feature was fixed. Ref: https://semver.org/

@@ -1,6 +1,6 @@
{
"name": "web3-plugin-template",
"version": "1.0.0",
"version": "2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

I also gree.
I am not sure. But maybe something like:

Suggested change
"version": "2.0.0",
"version": "1.1.0",

Copy link
Contributor

@danforbes danforbes left a comment

Choose a reason for hiding this comment

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

Besides the discussion regarding the versioning this looks great. Thanks, Alex!

@@ -1,6 +1,6 @@
{
"name": "web3-plugin-template",
"version": "1.0.0",
"version": "2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

FWIW I think 1.0.1 is a better choice for the version, per semantic versioning. Bumping the minor version (i.e. 1.1.0) would indicate that new non-breaking features were added. The third version number (patch) is the "fix" version and indicates that some existing feature was fixed. Ref: https://semver.org/

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