WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.56k stars 4.22k forks source link

DataViews: Preparation for making the API stable. #67274

Open youknowriad opened 4 days ago

youknowriad commented 4 days ago

In order to be able to stabilize the DataViews package and APIs, we need to work on versioning the different configuration objects that live in that package. This doesn't mean we'll be stabilizing the package soon but at least we'll be ready to do so when we decide that it's ready.

These are the properties that need to support apiVersion and migrations:

For each of these we need to:

One thing we should avoid for the initialization stable release is to offer any public selectors or accessors for view, form, fields and actions. This is to avoid third-party developers assuming a certain shape for these objects while the format itself can evolve over time because of the apiVersion key.

youknowriad commented 4 days ago

cc @gigitux @louwie17 @oandregal @ntsekouras