mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
1.27k stars 282 forks source link

Toolpad App DOM versioning and migrations #741

Closed Janpot closed 2 years ago

Janpot commented 2 years ago

As we evolve our application format, we sometimes need to make breaking changes. As users upgrade their Toolpad instance their apps shouldn't break.

When we can't add changes to the app definition in a backwards compatible way, we will have to migrate it.

I propose:

This provides us a good basis to keep working, we can add UI and scripts for migration workflows as the need arises.

bytasv commented 2 years ago

@Janpot wondering if it makes sense to convert this to RFC? Seems like we might have more than one option how it can be done 🤔

Janpot commented 2 years ago

I've reduced the scope to the minimum requirement to keep us moving forward. None of this is user facing. We can introduce migration scripts and UI as the need arises, for which I propose that we open RFCs when needed.