diff --git a/CHANGELOG.md b/CHANGELOG.md index 05a823ce..f5e784b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.1.0] - 2020-07-21 + +### Changed + +- Only emit `data` event for notifications present in `^4.0.0` +([#73](https://github.com/MetaMask/inpage-provider/pull/73)) + - Some consumers make assumptions about the shape of the object emitted with the event that do not hold for all notifications in `^6.0.0`. +- Select icon using `rel~="icon"` when retrieving site metadata +([#76](https://github.com/MetaMask/inpage-provider/pull/76)) + - This is instead of defaulting to `rel="shortcut icon"`. + +### Fixed + +- Emit `accountsChanged` event _after_ all related state has been updated +([#72](https://github.com/MetaMask/inpage-provider/pull/72)) + - For example, `ethereum.selectedAddress` will now have been updated by the time the event is emitted. +- Enable retrieval of site icons _not_ hosted on the same origin +([#78](https://github.com/MetaMask/inpage-provider/pull/78)) + - For example, icons hosted on `assets.foo.com` that are used on `foo.com` will now be retrieved successfully. + ## [6.0.1] - 2020-07-15 ### Fixed diff --git a/package.json b/package.json index e48cf145..8802243d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/inpage-provider", - "version": "6.0.1", + "version": "6.1.0", "description": "A JavaScript Ethereum provider that connects over a WebExtension port.", "main": "index.js", "scripts": {