MetaMask / MetaMask/snaps

Updating Snaps may cause websites to break

Open
#1,819 1 comment 0 reactions 0 assignees View on GitHub
type-research
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

In a situation where a Snap updates to a new version, but certain websites don't support this version, the website could break.

- We can show a warning when the user updates the Snap.
- We can handle rolling back Snaps to the previous version (and keep state around of older Snaps versions).
- Potentially we just need to have documentation around how to handle breaking changes for Snaps developers.

This needs to be explored and thought about further.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by investigating how Snap updates and older versions are handled, then compare the proposed warning, rollback, and documentation approaches. Done requires choosing and scoping one approach for the compatibility problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.