Releases: MetaMask/snaps
Releases · MetaMask/snaps
0.27.0
examples
Changed
- BREAKING: Use custom UI in
snap_dialog
(#1051) - BREAKING: Use custom UI in transaction insights (#1047)
- BREAKING: Move all internal types from
snaps-types
tosnaps-utils
(#1060)
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Changed
- BREAKING: Use custom UI in
snap_dialog
(#1051) - BREAKING: Use SIP-6 algorithm for state encryption (#1055)
- This breaks all existing snaps that use
snap_manageState
- This breaks all existing snaps that use
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snaps-controllers
Changed
- BREAKING: Use SIP-6 algorithm for state encryption (#1055)
- This breaks all existing snaps that use
snap_manageState
- This breaks all existing snaps that use
@metamask/snaps-execution-environments
Changed
- BREAKING: Move all internal types from
snaps-types
tosnaps-utils
(#1060)
@metamask/snaps-rollup-plugin
Changed
- No changes this release.
@metamask/snaps-types
Changed
- BREAKING: Move all internal types from
snaps-types
tosnaps-utils
(#1060)
@metamask/snaps-ui
Changed
- No changes this release.
@metamask/snaps-utils
Changed
- BREAKING: Use SIP-6 algorithm for state encryption (#1055)
- This breaks all existing snaps that use
snap_manageState
- This breaks all existing snaps that use
- BREAKING: Use custom UI in transaction insights (#1047)
- BREAKING: Move all internal types from
snaps-types
tosnaps-utils
(#1060)
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
0.26.2
examples
Changed
- No changes this release.
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Changed
- No changes this release.
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snaps-controllers
Changed
- No changes this release.
@metamask/snaps-execution-environments
Fixed
- Fix usage of wrong
ethereum
global forethereum
endowment (#1064)
@metamask/snaps-rollup-plugin
Changed
- No changes this release.
@metamask/snaps-types
Changed
- No changes this release.
@metamask/snaps-ui
Changed
- No changes this release.
@metamask/snaps-utils
Changed
- No changes this release.
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
0.26.1
examples
Changed
- No changes this release.
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Changed
- No changes this release.
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snaps-controllers
Fixed
@metamask/snaps-execution-environments
Changed
- No changes this release.
@metamask/snaps-rollup-plugin
Changed
- No changes this release.
@metamask/snaps-types
Changed
- No changes this release.
@metamask/snaps-ui
Changed
- No changes this release.
@metamask/snaps-utils
Fixed
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
0.26.0
examples
Changed
- No changes this release.
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Changed
- No changes this release.
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/snaps-cli
Fixed
- Fix post processing issue with
object.eval
(#1040)
@metamask/snaps-controllers
Changed
- BREAKING: Snap installation refactor (#1023)
wallet_requestSnaps
will now throw an error and roll back any changes made if installation of any snap fails
Fixed
- Fix an issue processing non-snap permissions (#1044)
@metamask/snaps-execution-environments
Changed
- No changes this release.
@metamask/snaps-rollup-plugin
Changed
- No changes this release.
@metamask/snaps-types
Changed
- No changes this release.
@metamask/snaps-ui
Removed
- BREAKING: Remove spacer component (#1031)
@metamask/snaps-utils
Fixed
- Fix post processing issue with
object.eval
(#1040)
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
0.25.0
examples
Changed
- No changes this release.
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Added
- Add placeholder parameter for prompt dialog (#1007)
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snaps-controllers
Added
- BREAKING: Add JSON-RPC handler permission (#905)
- Snaps are now required to request
endowment:rpc
to receive RPC requests.
- Snaps are now required to request
- Add transaction origin caveat export (#1010)
@metamask/snaps-execution-environments
Changed
- No changes this release.
@metamask/snaps-rollup-plugin
Changed
- No changes this release.
@metamask/snaps-types
Changed
- No changes this release.
@metamask/snaps-ui
Added
@metamask/snaps-utils
Added
- BREAKING: Add JSON-RPC handler permission (#905)
- Snaps are now required to request
endowment:rpc
to receive RPC requests.
- Snaps are now required to request
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
0.24.1
examples
Changed
- No changes this release.
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Fixed
- Fix
snap_getBip32PublicKey
manifest validation (#970)
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snaps-controllers
Changed
- No changes this release.
@metamask/snaps-execution-environments
Changed
- No changes this release.
@metamask/snaps-rollup-plugin
Changed
- No changes this release.
@metamask/snaps-types
Changed
- No changes this release.
@metamask/snaps-utils
Fixed
- Fix
snap_getBip32PublicKey
manifest validation (#970)
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
0.24.0
examples
Added
- Add
snap_getEntropy
JSON-RPC method (#940)
Changed
- BREAKING: Remove
wallet
global in favor ofsnap
andethereum
(#939, #964) - Remove
wallet_enable
from examples (#949)
@metamask/multichain-provider
Added
- Add permission validation to
snap.manifest.json
(#910)
@metamask/rpc-methods
Added
Changed
- BREAKING: Remove
wallet_enable
andwallet_installSnaps
in favor ofwallet_requestSnaps
(#909) - BREAKING: Refactor RPC method params and add tests (#922)
Removed
- BREAKING: Remove
snap_getAppKey
(#867)
@metamask/snaps-browserify-plugin
Added
- Add compile-time warning when using
Math.random
(#950)
@metamask/snaps-cli
Added
- Add permission validation to SnapManifest (#910)
Fixed
- Remove double logging in CLI (#958)
@metamask/snaps-controllers
Added
- Add transaction insight caveat for accessing transaction origin (#902)
Changed
- BREAKING: Rename package to start with
snaps-
(#937) - BREAKING: Remove
wallet
global in favor ofsnap
andethereum
(#939) - Add permission validation to
snap.manifest.json
(#910)
@metamask/snaps-execution-environments
Added
- Add transaction insight caveat for accessing transaction origin (#902)
- Add permission validation to
snap.manifest.json
(#910) - Add
Math
endowment factory (#888)
Changed
- BREAKING: Rename package to start with
snaps-
(#937) - BREAKING: Remove
wallet
global in favor ofsnap
andethereum
(#939, #964)
@metamask/snaps-rollup-plugin
Added
- Add compile-time warning when using
Math.random
(#950)
Changed
- BREAKING: Rename package to start with
snaps-
(#937)
@metamask/snaps-types
Added
- Add transaction insight caveat for accessing transaction origin (#902)
- Add permission validation to
snap.manifest.json
(#910)
Changed
- BREAKING: Remove
wallet
global in favor ofsnap
andethereum
(#939, #964) - BREAKING: Rename package to start with
snaps-
(#937)
@metamask/snaps-utils
Added
- Add transaction insight caveat for accessing transaction origin (#902)
- Add
snap_getEntropy
JSON-RPC method (#940) - Add permission validation to
snap.manifest.json
(#910) - Add compile-time warning when using
Math.random
(#950)
Changed
- BREAKING: Rename package to start with
snaps-
(#937) - BREAKING: Remove
wallet
global in favor ofsnap
andethereum
(#939, #964)
@metamask/snaps-webpack-plugin
Added
- Add compile-time warning when using
Math.random
(#950)
0.23.0
@metamask/snaps-cli
Changed
- BREAKING: Refactor
mm-snap init
command (#866)mm-snap init
only takes one optional argument now, a directory for the snap to be initialized in.- It uses a new snap monorepo template.
- Replace auto type guard with struct (#911)
- Replace JSON schema validation with structs (#862)
@metamask/snap-controllers
Added
Changed
- BREAKING: Make
SnapController.add()
private (#883) - BREAKING: Stop including snap state in SnapController state (#876)
- BREAKING: Stop including source code in SnapController state (#861)
- Improve keyring endowment error messaging (#884)
- Replace JSON schema validation with structs (#862)
examples
Changed
- No changes this release.
@metamask/execution-environments
Added
- Add snap cronjobs (#651)
Changed
- BREAKING: Replace Buffer with Typed Arrays (#878)
- Improve execution environment type validation (#844)
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/rollup-plugin-snaps
Changed
- No changes this release.
@metamask/snaps-webpack-plugin
Fixed
- Fix Webpack plugin issue with existing files (#858)
@metamask/multichain-provider
Added
- Export
MultiChainProvider
types (#857)
@metamask/rpc-methods
Changed
- BREAKING: Bump
@metamask/key-tree
to 6.0.0 (#918)- All hexadecimal values are now prefixed with
0x
- The package no longer uses
Buffer
. Because of that some fields have been renamed.
- All hexadecimal values are now prefixed with
@metamask/snap-types
Added
- Add snap cronjobs (#651)
@metamask/snap-utils
Added
- Add snap cronjobs (#651)
Changed
- BREAKING: Replace Buffer with Typed Arrays (#878)
- Improve keyring endowment error messaging (#884)
- Replace JSON schema validation with structs (#862)
Removed
- BREAKING: Stop including source code in SnapController state (#861)
0.22.3
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snap-controllers
Changed
- No changes this release.
examples
Added
- Add transaction insights example snap (#838)
@metamask/execution-environments
Fixed
- Fix missing properties on WebSocket MessageEvent (#845)
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/rollup-plugin-snaps
Changed
- No changes this release.
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
@metamask/multichain-provider
Fixed
- Stop assuming wrapped responses from MetaMask provider (#854)
@metamask/rpc-methods
Changed
- No changes this release.
@metamask/snap-types
Changed
- No changes this release.
@metamask/snap-utils
Fixed
- Make @babel/types a regular dependency (#852)
0.22.2
@metamask/snaps-cli
Changed
- No changes this release.
@metamask/snap-controllers
Fixed
- Fix an issue with installing snaps that request the
eth_accounts
permission (#839)
examples
Changed
- No changes this release.
@metamask/execution-environments
Fixed
- Throw an error when response is unserializable (#840)
@metamask/snaps-browserify-plugin
Changed
- No changes this release.
@metamask/rollup-plugin-snaps
Changed
- No changes this release.
@metamask/snaps-webpack-plugin
Changed
- No changes this release.
@metamask/multichain-provider
Changed
- No changes this release.
@metamask/rpc-methods
Added
- Add JSON-RPC validation for Snap RPC requests (#833)
@metamask/snap-types
Changed
- No changes this release.
@metamask/snap-utils
Changed
- No changes this release.