11# Changelog
2+
23All notable changes to this project will be documented in this file.
34
45The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
56and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
67
78## [ Unreleased]
89
10+ ## [ 1.0.0-rc.1]
11+
12+ ### Added
13+
14+ - Document how to migrate from API 0.1.x to 0.2.x ([ #124 ] ( https://github.com/MetaMask/keyring-api/pull/124 ) ).
15+
16+ ### Changed
17+
18+ - ** BREAKING:** Use the ` onKeyringRequest ` snap export ([ #145 ] ( https://github.com/MetaMask/keyring-api/pull/145 ) ).
19+ - ** BREAKING:** Change the events' prefix to ` notify: ` ([ #139 ] ( https://github.com/MetaMask/keyring-api/pull/139 ) ).
20+
921## [ 0.2.7]
22+
1023### Added
24+
1125- Export events types ([ #125 ] ( https://github.com/MetaMask/keyring-api/pull/125 ) )
1226
1327## [ 0.2.6]
28+
1429### Changed
30+
1531- Remove unused lavamoat allowed scripts ([ #122 ] ( https://github.com/MetaMask/keyring-api/pull/122 ) ).
1632- Update events in sequence diagram ([ #121 ] ( https://github.com/MetaMask/keyring-api/pull/121 ) ).
1733- Update Snap and ESLint dependencies ([ #117 ] ( https://github.com/MetaMask/keyring-api/pull/117 ) ).
1834- Bump @metamask/rpc-methods from 0.38.1-flask.1 to 2.0.0 ([ #120 ] ( https://github.com/MetaMask/keyring-api/pull/120 ) ).
1935
2036## [ 0.2.5]
37+
2138### Changed
39+
2240- Remove ` buildHandlersChain ` ([ #114 ] ( https://github.com/MetaMask/keyring-api/pull/114 ) ).
2341- Update doc for ` eth_signTransaction ` ([ #111 ] ( https://github.com/MetaMask/keyring-api/pull/111 ) ).
2442- Remove un-versioned ` eth_signTypedData ` method ([ #113 ] ( https://github.com/MetaMask/keyring-api/pull/113 ) ).
2543
2644## [ 0.2.4]
45+
2746### Changed
47+
2848- Fix linting and compatibility with older ` tsc ` ([ #108 ] ( https://github.com/MetaMask/keyring-api/pull/108 ) ).
2949
3050## [ 0.2.3]
51+
3152### Added
53+
3254- Add redirection message to snap async response ([ #102 ] ( https://github.com/MetaMask/keyring-api/pull/102 ) ).
3355
3456### Changed
57+
3558- Use ` Omit ` instead of ` OmitUnion ` ([ #106 ] ( https://github.com/MetaMask/keyring-api/pull/106 ) ).
3659- Update ` KeyringResponse ` comment ([ #103 ] ( https://github.com/MetaMask/keyring-api/pull/103 ) ).
3760- Use ` KeyringRpcMethod ` enum instead of string ([ #105 ] ( https://github.com/MetaMask/keyring-api/pull/105 ) ).
@@ -41,28 +64,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4164- Bump @metamask/providers from 11.1.1 to 11.1.2 ([ #98 ] ( https://github.com/MetaMask/keyring-api/pull/98 ) ).
4265
4366## [ 0.2.2]
67+
4468### Added
69+
4570- Add architecture and EVM methods docs ([ #86 ] ( https://github.com/MetaMask/keyring-api/pull/86 ) ).
4671- Add ` lastSelected ` and ` lastActive ` to metadata ([ #92 ] ( https://github.com/MetaMask/keyring-api/pull/92 ) ).
4772
4873### Changed
74+
4975- Make request ` params ` optional ([ #96 ] ( https://github.com/MetaMask/keyring-api/pull/96 ) ).
5076- Remove ` lastActive ` field from internal account model ([ #95 ] ( https://github.com/MetaMask/keyring-api/pull/95 ) ).
5177- Move request ID to outer request ([ #94 ] ( https://github.com/MetaMask/keyring-api/pull/94 ) ).
5278
5379## [ 0.2.1]
80+
5481### Changed
82+
5583- Set ` snap ` object keys to be mandatory and move ` name ` to ` metadata ` ([ #87 ] ( https://github.com/MetaMask/keyring-api/pull/87 ) ).
5684
5785## [ 0.2.0]
86+
5887### Added
88+
5989- Add ` InternalAccount ` type and create submodule ` internal ` ([ #65 ] ( https://github.com/MetaMask/keyring-api/pull/65 ) ).
6090- Add keyring events and helper functions ([ #74 ] ( https://github.com/MetaMask/keyring-api/pull/74 ) ).
6191- Add a ` redirect ` field to asynchronous request responses ([ #75 ] ( https://github.com/MetaMask/keyring-api/pull/75 ) ).
6292- Add ` exportAccount ` method ([ #60 ] ( https://github.com/MetaMask/keyring-api/pull/60 ) ).
6393- Add ` getController ` to client ([ #43 ] ( https://github.com/MetaMask/keyring-api/pull/43 ) ).
6494
6595### Changed
96+
6697- Rename ` erc4337 ` -> ` eip4337 ` ([ #42 ] ( https://github.com/MetaMask/keyring-api/pull/42 ) ).
6798- Make ` options ` a mandatory field of ` KeyringAccount ` ([ #30 ] ( https://github.com/MetaMask/keyring-api/pull/30 ) ).
6899- Make ` approveRequest ` and ` rejectRequest ` optional ([ #63 ] ( https://github.com/MetaMask/keyring-api/pull/63 ) ).
@@ -74,29 +105,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
74105- Rename ` supportedMethods ` to ` methods ` ([ #35 ] ( https://github.com/MetaMask/keyring-api/pull/35 ) ).
75106
76107## [ 0.1.3]
108+
77109### Changed
110+
78111- Downgrade snaps dependencies to ` 0.35.2-flask.1 ` ([ #25 ] ( https://github.com/MetaMask/keyring-api/pull/25 ) ).
79112
80113## [ 0.1.2]
114+
81115### Changed
116+
82117- Update snaps dependencies ([ #21 ] ( https://github.com/MetaMask/keyring-api/pull/21 ) ).
83118
84119## [ 0.1.1]
120+
85121### Added
122+
86123- Validate snap responses for type correctness ([ #15 ] ( https://github.com/MetaMask/keyring-api/pull/15 ) ).
87124
88125### Changed
126+
89127- Rename RPC handling functions ([ #16 ] ( https://github.com/MetaMask/keyring-api/pull/16 ) ).
90128
91129## [ 0.1.0] - 2023-06-20
130+
92131### Added
132+
93133- Usage examples to [ ` README.md ` ] ( ./README.md ) .
94134- Keyring API definition.
95135- JSON-RPC snap keyring client. It is intended to be used by a snap's companion dapp to send requests to the snap.
96136- SnapController keyring client. It is intended to be used by MetaMask to talk to the snap.
97137- Helper functions to create keyring handler in the snap.
98138
99- [ Unreleased ] : https://github.com/MetaMask/keyring-api/compare/v0.2.7...HEAD
139+ [ Unreleased ] : https://github.com/MetaMask/keyring-api/compare/v1.0.0-rc.1...HEAD
140+ [ 1.0.0-rc.1 ] : https://github.com/MetaMask/keyring-api/compare/v0.2.7...v1.0.0-rc.1
100141[ 0.2.7 ] : https://github.com/MetaMask/keyring-api/compare/v0.2.6...v0.2.7
101142[ 0.2.6 ] : https://github.com/MetaMask/keyring-api/compare/v0.2.5...v0.2.6
102143[ 0.2.5 ] : https://github.com/MetaMask/keyring-api/compare/v0.2.4...v0.2.5
0 commit comments