Skip to content

Commit

Permalink
20.0.0 (#407)
Browse files Browse the repository at this point in the history
* 20.0.0

* update changelog

* revert unecessary changes

* Update CHANGELOG.md

Co-authored-by: Alex Donesky <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Alex Donesky <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Alex Donesky <[email protected]>

* update changelog

* Update CHANGELOG.md

Co-authored-by: Alex Donesky <[email protected]>

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Jiexi Luan <[email protected]>
Co-authored-by: Alex Donesky <[email protected]>
  • Loading branch information
4 people authored Feb 3, 2025
1 parent bda8d72 commit e19bdf5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [20.0.0]

### Changed

- **BREAKING**: An `isConnected` boolean property is now expected in the result of `metamask_getProviderState` and `metamask_chainChanged` events ([#404](https://github.com/MetaMask/providers/pull/404))
- **BREAKING**: A `networkVersion` value of `loading` received by the `chainChanged` event handler is now interpreted to be null. In this case, the `networkChanged` event emits a null value as well. ([#404](https://github.com/MetaMask/providers/pull/404))
- **BREAKING**: The disconnect event is now tied to the new `isConnected` property instead of the `networkVersion` property. ([#404](https://github.com/MetaMask/providers/pull/404))
- A change in the `isUnlocked` boolean property of the `metamask_getProviderState` and `metamask_accountsChanged` events (from what is in state) no longer causes the `accountsChanged` event to be emitted ([#405](https://github.com/MetaMask/providers/pull/405))
- `MetaMaskInpageProvider.isUnlocked()` will always return true until the inpage to contentscript stream ends and the provider enters a permanently disconnected state ([#405](https://github.com/MetaMask/providers/pull/405))

## [19.0.0]

### Changed
Expand Down Expand Up @@ -539,7 +549,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
added deprecation warnings for them ([#30](https://github.com/MetaMask/providers/pull/30))
- Un-deprecated `sendAsync` ([#29](https://github.com/MetaMask/providers/pull/29))

[Unreleased]: https://github.com/MetaMask/providers/compare/v19.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/providers/compare/v20.0.0...HEAD
[20.0.0]: https://github.com/MetaMask/providers/compare/v19.0.0...v20.0.0
[19.0.0]: https://github.com/MetaMask/providers/compare/v18.3.1...v19.0.0
[18.3.1]: https://github.com/MetaMask/providers/compare/v18.3.0...v18.3.1
[18.3.0]: https://github.com/MetaMask/providers/compare/v18.2.0...v18.3.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/providers",
"version": "19.0.0",
"version": "20.0.0",
"description": "A JavaScript Ethereum provider that connects to the wallet over a stream",
"keywords": [
"MetaMask",
Expand Down

0 comments on commit e19bdf5

Please sign in to comment.