@metamask/snaps-execution-environments 6.7.2 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -6,19 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
 
7
8
  ## [Unreleased]
8
9
 
10
+ ## [6.8.0]
11
+
12
+ ### Added
13
+
14
+ - Add support for `metamask:` schemed URLs ([#2719](https://github.com/MetaMask/snaps/pull/2719))
15
+
9
16
  ## [6.7.2]
17
+
10
18
  ### Fixed
19
+
11
20
  - Fix missing execution environment bundles ([#2734](https://github.com/MetaMask/snaps/pull/2734))
12
21
 
13
22
  ## [6.7.1]
23
+
14
24
  ### Fixed
25
+
15
26
  - Fix invalid types in type declaration in some cases ([#2714](https://github.com/MetaMask/snaps/pull/2714))
16
27
 
17
28
  ## [6.7.0]
29
+
18
30
  ### Changed
31
+
19
32
  - Unblock `wallet_requestSnaps` ([#2661](https://github.com/MetaMask/snaps/pull/2661))
20
33
 
21
34
  ### Fixed
35
+
22
36
  - Fix ESM version of the package ([#2682](https://github.com/MetaMask/snaps/pull/2682))
23
37
  - This fixes the ESM version of the package to be fully compliant with the ESM
24
38
  standard.
@@ -26,110 +40,152 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
40
  - Bump other MetaMask dependencies ([#2703](https://github.com/MetaMask/snaps/pull/2703))
27
41
 
28
42
  ## [6.6.2]
43
+
29
44
  ### Changed
45
+
30
46
  - Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593))
31
47
  - Bump `@metamask/snaps-utils` from `^7.8.0` to `^7.8.1` ([#2595](https://github.com/MetaMask/snaps/pull/2595))
32
48
 
33
49
  ## [6.6.1]
50
+
34
51
  ### Changed
52
+
35
53
  - Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
36
54
  - Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
37
55
 
38
56
  ### Fixed
57
+
39
58
  - Replace `superstruct` with ESM-compatible `@metamask/superstruct` `^3.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
40
59
  - This fixes the issue of this package being unusable by any TypeScript project that uses `Node16` or `NodeNext` as its `moduleResolution` option.
41
60
  - Set `@metamask/providers` from `^17.0.0` to `17.0.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
42
61
  - `17.1.0` and `17.1.1` introduce regressions.
43
62
 
44
63
  ## [6.6.0]
64
+
45
65
  ### Changed
66
+
46
67
  - Inline LavaMoat in WebView bundle ([#2528](https://github.com/MetaMask/snaps/pull/2528), [#2564](https://github.com/MetaMask/snaps/pull/2564))
47
68
 
48
69
  ## [6.5.0]
70
+
49
71
  ### Added
72
+
50
73
  - Add `Checkbox` component ([#2501](https://github.com/MetaMask/snaps/pull/2501))
51
74
  - Add `FileInput` component ([#2469](https://github.com/MetaMask/snaps/pull/2469), [#2504](https://github.com/MetaMask/snaps/pull/2504))
52
75
 
53
76
  ### Fixed
77
+
54
78
  - Support parameters in `setTimeout` and `setInterval` ([#2513](https://github.com/MetaMask/snaps/pull/2513))
55
79
 
56
80
  ## [6.4.0]
81
+
57
82
  ### Changed
83
+
58
84
  - Update `onNameLookup` response to include `domainName` ([#2484](https://github.com/MetaMask/snaps/pull/2484))
59
85
  - Bump MetaMask dependencies ([#2460](https://github.com/MetaMask/snaps/pull/2460))
60
86
 
61
87
  ## [6.3.0]
88
+
62
89
  ### Added
90
+
63
91
  - Add origin to lifecycle hooks ([#2441](https://github.com/MetaMask/snaps/pull/2441))
64
92
  - Lifecycle hooks can now use the `origin` parameter to determine the origin
65
93
  of the installation or update.
66
94
 
67
95
  ### Changed
96
+
68
97
  - Bump `@metamask/providers` from `16.1.0` to `17.0.0` ([#2442](https://github.com/MetaMask/snaps/pull/2442))
69
98
 
70
99
  ## [6.2.0]
100
+
71
101
  ### Added
102
+
72
103
  - Add `context` field to `snap_createInterface` ([#2413](https://github.com/MetaMask/snaps/pull/2413))
73
104
 
74
105
  ## [6.1.0]
106
+
75
107
  ### Changed
108
+
76
109
  - Unblock `eth_sendRawTransaction` ([#2362](https://github.com/MetaMask/snaps/pull/2362))
77
110
  - Bump `@metamask/providers` from `16.0.0` to `16.1.0` ([#2386](https://github.com/MetaMask/snaps/pull/2386))
78
111
 
79
112
  ### Fixed
113
+
80
114
  - Make `onUserInput` export optional ([#2373](https://github.com/MetaMask/snaps/pull/2373))
81
115
  - Snaps will no longer crash when interacting with a user interface when the
82
116
  Snap does not export `onUserInput`.
83
117
 
84
118
  ## [6.0.2]
119
+
85
120
  ### Fixed
121
+
86
122
  - Throw an error if starting Snap has no exports ([#2357](https://github.com/MetaMask/snaps/pull/2357))
87
123
 
88
124
  ## [6.0.1]
125
+
89
126
  ### Fixed
127
+
90
128
  - Allow `null` in `FormSubmitEventStruct` form state ([#2333](https://github.com/MetaMask/snaps/pull/2333))
91
129
 
92
130
  ## [6.0.0]
131
+
93
132
  ### Removed
133
+
94
134
  - **BREAKING:** Remove broken `ethereum` properties ([#2296](https://github.com/MetaMask/snaps/pull/2296))
95
135
  - Snaps can no longer access `on` and `removeListener` on `ethereum`.
96
136
  - This feature was already non-functional.
97
137
 
98
138
  ## [5.0.4]
139
+
99
140
  ### Changed
141
+
100
142
  - Bump MetaMask dependencies ([#2270](https://github.com/MetaMask/snaps/pull/2270))
101
143
 
102
144
  ## [5.0.3]
145
+
103
146
  ### Changed
147
+
104
148
  - Bump `@metamask/providers` to `^15.0.0` ([#2231](https://github.com/MetaMask/snaps/pull/2231))
105
149
  - Bump `@metamask/json-rpc-engine` to `^7.3.3` ([#2247](https://github.com/MetaMask/snaps/pull/2247))
106
150
 
107
151
  ## [5.0.2]
152
+
108
153
  ### Changed
154
+
109
155
  - Bump LavaMoat packages ([#2234](https://github.com/MetaMask/snaps/pull/2234))
110
156
 
111
157
  ## [5.0.1]
158
+
112
159
  ### Fixed
160
+
113
161
  - Fix minor build configuration problems ([#2220](https://github.com/MetaMask/snaps/pull/2220))
114
162
 
115
163
  ## [5.0.0]
164
+
116
165
  ### Changed
166
+
117
167
  - **BREAKING:** Update ESM build to be fully compliant with the ESM standard ([#2210](https://github.com/MetaMask/snaps/pull/2210))
118
168
  - Bump `@metamask/rpc-errors` to `^6.2.1` ([#2209](https://github.com/MetaMask/snaps/pull/2209))
119
169
 
120
170
  ### Fixed
171
+
121
172
  - Enforce JSON-RPC response size limits ([#2201](https://github.com/MetaMask/snaps/pull/2201))
122
173
 
123
174
  ## [4.0.1]
175
+
124
176
  ### Changed
177
+
125
178
  - Update several LavaMoat packages ([#2173](https://github.com/MetaMask/snaps/pull/2173))
126
179
 
127
180
  ## [4.0.0]
181
+
128
182
  ### Added
183
+
129
184
  - Add WebView execution environment ([#2005](https://github.com/MetaMask/snaps/pull/2005))
130
185
  - Add support for dynamic user interfaces ([#1465](https://github.com/MetaMask/snaps/pull/1465))
131
186
 
132
187
  ### Changed
188
+
133
189
  - **BREAKING:** Stop bundling offscreen execution environment ([#2154](https://github.com/MetaMask/snaps/pull/2154))
134
190
  - **BREAKING:** Deploy multiple bundles to AWS ([#2150](https://github.com/MetaMask/snaps/pull/2150))
135
191
  - From now on the bundles will be served at `https://execution.metamask.io/%BUILD_TYPE%/%VERSION%/index.html`.
@@ -138,36 +194,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
138
194
  - Bump MetaMask dependencies ([#2129](https://github.com/MetaMask/snaps/pull/2129), [#2132](https://github.com/MetaMask/snaps/pull/2132))
139
195
 
140
196
  ## [3.5.0]
197
+
141
198
  ### Added
199
+
142
200
  - Add support for signature insights ([#2074](https://github.com/MetaMask/snaps/pull/2074))
143
201
 
144
202
  ### Changed
203
+
145
204
  - Bump SES and LavaMoat ([#2105](https://github.com/MetaMask/snaps/pull/2105))
146
205
  - Bump several MetaMask dependencies ([#2054](https://github.com/MetaMask/snaps/pull/2054), [#2100](https://github.com/MetaMask/snaps/pull/2100))
147
206
 
148
207
  ## [3.4.3]
208
+
149
209
  ### Changed
210
+
150
211
  - Move iframe bundle to HTML body ([#2045](https://github.com/MetaMask/snaps/pull/2045))
151
212
  - Bump `@metamask/json-rpc-engine` from `7.3.0` to `7.3.1` ([#2065](https://github.com/MetaMask/snaps/pull/2065))
152
213
 
153
214
  ## [3.4.2]
215
+
154
216
  ### Changed
217
+
155
218
  - Bump `@metamask/providers` from `14.0.1` to `14.0.2` ([#1992](https://github.com/MetaMask/snaps/pull/1992))
156
219
 
157
220
  ## [3.4.1]
221
+
158
222
  ### Changed
223
+
159
224
  - Block `wallet_revokePermissions` ([#1978](https://github.com/MetaMask/snaps/pull/1978))
160
225
  - Bump several MetaMask dependencies ([#1964](https://github.com/MetaMask/snaps/pull/1964))
161
226
 
162
227
  ### Fixed
228
+
163
229
  - Fix a few issues with passing non-JSON-serializable values ([#1974](https://github.com/MetaMask/snaps/pull/1974))
164
230
 
165
231
  ## [3.4.0]
232
+
166
233
  ### Changed
234
+
167
235
  - Pause request timer when `fetch` is called ([#1756](https://github.com/MetaMask/snaps/pull/1756))
168
236
 
169
237
  ## [3.3.0]
238
+
170
239
  ### Changed
240
+
171
241
  - Use `@metamask/snaps-sdk` package ([#1930](https://github.com/MetaMask/snaps/pull/1930),
172
242
  [#1946](https://github.com/MetaMask/snaps/pull/1946), [#1949](https://github.com/MetaMask/snaps/pull/1949),
173
243
  [#1954](https://github.com/MetaMask/snaps/pull/1954))
@@ -175,91 +245,125 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
175
245
  - `@metamask/snaps-ui` packages.
176
246
 
177
247
  ## [3.2.0]
248
+
178
249
  ### Added
250
+
179
251
  - Add `OnHomePage` export ([#1896](https://github.com/MetaMask/snaps/pull/1896))
180
252
 
181
253
  ### Fixed
254
+
182
255
  - Await stream message delivery ([#1928](https://github.com/MetaMask/snaps/pull/1928))
183
256
 
184
257
  ## [3.1.0]
258
+
185
259
  ### Changed
260
+
186
261
  - Improve error handling ([#1841](https://github.com/MetaMask/snaps/pull/1841))
187
262
  - Snaps can now throw a `SnapError`, without causing the Snap to crash.
188
263
  - Standardise all errors thrown in execution environments ([#1830](https://github.com/MetaMask/snaps/pull/1830))
189
264
 
190
265
  ## [3.0.0]
266
+
191
267
  ### Added
268
+
192
269
  - Add keyring export and endowment ([#1787](https://github.com/MetaMask/snaps/pull/1787))
193
270
 
194
271
  ### Changed
272
+
195
273
  - **BREAKING:** Bump minimum Node.js version to `^18.16.0` ([#1741](https://github.com/MetaMask/snaps/pull/1741))
196
274
 
197
275
  ## [2.0.1]
276
+
198
277
  ### Changed
278
+
199
279
  - Remove unmaintained OpenRPC doc for execution environment ([#1782](https://github.com/MetaMask/snaps/pull/1782))
200
280
  - Update LavaMoat ([#1754](https://github.com/MetaMask/snaps/pull/1754))
201
281
 
202
282
  ### Fixed
283
+
203
284
  - Allow passing `undefined` parameters to `request()` ([#1776](https://github.com/MetaMask/snaps/pull/1776))
204
285
  - Fix an issue where errors would not correctly be returned ([#1772](https://github.com/MetaMask/snaps/pull/1772))
205
286
 
206
287
  ## [2.0.0]
288
+
207
289
  ### Changed
290
+
208
291
  - Initial stable release from main branch ([#1757](https://github.com/MetaMask/snaps/pull/1757))
209
292
 
210
293
  ## [0.39.0-flask.1]
294
+
211
295
  ### Added
296
+
212
297
  - Add `onNameLookup` export ([#1394](https://github.com/MetaMask/snaps/pull/1394))
213
298
 
214
299
  ### Changed
300
+
215
301
  - Remove `pump` ([#1730](https://github.com/MetaMask/snaps/pull/1730))
216
302
  - Bump `metamask/utils` and `metamask/snaps-registry` ([#1738](https://github.com/MetaMask/snaps/pull/1738))
217
303
 
218
304
  ### Fixed
305
+
219
306
  - Sanitize JSON before checking for blocked methods ([#1762](https://github.com/MetaMask/snaps/pull/1762))
220
307
 
221
308
  ## [0.38.3-flask.1]
309
+
222
310
  ### Changed
311
+
223
312
  - Bump `@metamask/post-message-stream` from 6.1.2 to 7.0.0 ([#1707](https://github.com/MetaMask/snaps/pull/1707), [#1724](https://github.com/MetaMask/snaps/pull/1724))
224
313
  - Bump `@metamask/utils` and `@metamask/snaps-registry` ([#1694](https://github.com/MetaMask/snaps/pull/1694))
225
314
 
226
315
  ### Fixed
316
+
227
317
  - Add hardening for `Request`, `Headers`, and `Response` endowments ([#1695](https://github.com/MetaMask/snaps/pull/1695))
228
318
 
229
319
  ## [0.38.2-flask.1]
320
+
230
321
  ### Changed
322
+
231
323
  - Bump `ses` to `0.18.7` ([#1666](https://github.com/MetaMask/snaps/pull/1666))
232
324
 
233
325
  ### Fixed
326
+
234
327
  - Remove unused dependencies ([#1680](https://github.com/MetaMask/snaps/pull/1680))
235
328
 
236
329
  ## [0.38.1-flask.1]
330
+
237
331
  ### Changed
332
+
238
333
  - Update LavaMoat packages to latest versions ([#1657](https://github.com/MetaMask/snaps/pull/1657))
239
334
 
240
335
  ### Removed
336
+
241
337
  - Remove direct dependency on SES ([#1660](https://github.com/MetaMask/snaps/pull/1660))
242
338
  - It's now a dev dependency, as it's only used in development.
243
339
 
244
340
  ### Fixed
341
+
245
342
  - Pass correct scuttle args ([#1654](https://github.com/MetaMask/snaps/pull/1654))
246
343
 
247
344
  ## [0.38.0-flask.1]
345
+
248
346
  ### Added
347
+
249
348
  - Add `onInstall` and `onUpdate` lifecycle hooks ([#1643](https://github.com/MetaMask/snaps/pull/1643))
250
349
  - Unblock `personal_sign` JSON-RPC method ([#1601](https://github.com/MetaMask/snaps/pull/1601))
251
350
 
252
351
  ## [0.37.3-flask.1]
352
+
253
353
  ### Fixed
354
+
254
355
  - Fix deployment of the iframe execution environment ([#1627](https://github.com/MetaMask/snaps/pull/1627))
255
356
 
256
357
  ## [0.37.2-flask.1]
358
+
257
359
  ### Changed
360
+
258
361
  - Release package independently ([#1600](https://github.com/MetaMask/snaps/pull/1600))
259
362
  - The version of the package no longer needs to match the version of all other
260
363
  MetaMask Snaps packages.
261
364
 
262
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.7.2...HEAD
365
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.8.0...HEAD
366
+ [6.8.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.7.2...@metamask/snaps-execution-environments@6.8.0
263
367
  [6.7.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.7.1...@metamask/snaps-execution-environments@6.7.2
264
368
  [6.7.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.7.0...@metamask/snaps-execution-environments@6.7.1
265
369
  [6.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-execution-environments@6.6.2...@metamask/snaps-execution-environments@6.7.0