Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit f410a64

Browse files
github-actions[bot]github-actionsdanroc
authored
1.0.0-rc.1 (#148)
* 1.0.0-rc.1 * chore: update changelog --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Daniel Rocha <[email protected]>
1 parent 84695bd commit f410a64

File tree

4 files changed

+47
-6
lines changed

4 files changed

+47
-6
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ jobs:
6161
- run: yarn lint
6262
- name: Validate RC changelog
6363
if: ${{ startsWith(github.head_ref, 'release/') }}
64-
run: yarn auto-changelog validate --rc
64+
run: yarn auto-changelog validate --prettier --rc
6565
- name: Validate changelog
6666
if: ${{ !startsWith(github.head_ref, 'release/') }}
67-
run: yarn auto-changelog validate
67+
run: yarn auto-changelog validate --prettier
6868
- name: Require clean working directory
6969
shell: bash
7070
run: |

CHANGELOG.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,60 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
56
and 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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ The project follows the same release process as the other libraries in the MetaM
224224
- Generally any changes that don't affect consumers of the package (e.g. lockfile changes or development environment changes) are omitted. Exceptions may be made for changes that might be of interest despite not having an effect upon the published package (e.g. major test improvements, security improvements, improved documentation, etc.).
225225
- Try to explain each change in terms that users of the package would understand (e.g. avoid referencing internal variables/concepts).
226226
- Consolidate related changes into one change entry if it makes it easier to explain.
227-
- Run `yarn auto-changelog validate --rc` to check that the changelog is correctly formatted.
227+
- Run `yarn auto-changelog validate --prettier --rc` to check that the changelog is correctly formatted.
228228

229229
5. Review and QA the release.
230230

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/keyring-api",
3-
"version": "0.2.7",
3+
"version": "1.0.0-rc.1",
44
"description": "MetaMask Keyring API",
55
"keywords": [
66
"metamask",
@@ -25,7 +25,7 @@
2525
"build:clean": "rimraf dist && yarn build",
2626
"build:docs": "typedoc",
2727
"lint": "yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog",
28-
"lint:changelog": "auto-changelog validate",
28+
"lint:changelog": "auto-changelog validate --prettier",
2929
"lint:constraints": "yarn constraints",
3030
"lint:dependencies": "depcheck && yarn dedupe",
3131
"lint:eslint": "eslint . --cache --ext js,ts",

0 commit comments

Comments
 (0)