-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
7.1.0 #395
7.1.0 #395
Conversation
CHANGELOG.md
Outdated
|
||
### Changed | ||
|
||
- Bypass numerical address cast ([#391](https://github.com/MetaMask/eth-sig-util/pull/391)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Bypass numerical address cast ([#391](https://github.com/MetaMask/eth-sig-util/pull/391)) | |
- **BREAKING**: Values of type `number` are not accepted as address parameter anymore. Valid values are `string` and `Uint8Array`. ([#391](https://github.com/MetaMask/eth-sig-util/pull/391)) |
@OGPoyraz I think the change is breaking? The PR title also does not meaningfully explain the change for users. Please confirm if this is right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right this message is not clear. The removed part on this PR is removing the cast of the numerical address, I've adjusted changelog.
I am a bit unsure that it should be a breaking change or not, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say it's breaking because:
- There exists input that was previously interpreted as valid and handled, which will now break
- We can see example of this because of the need to remove these test cases: https://github.com/MetaMask/eth-sig-util/pull/391/files#diff-f6dbf9fbb07112db7776d1c764cea2d7e6df9d05cbdd800178d56ef5215a807bL4300-L4301
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: legobeat <[email protected]>
Co-authored-by: legobeat <[email protected]>
Co-authored-by: legobeat <[email protected]>
This is the release candidate for version 7.1.0.