-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interface: Add deprecation logic for leftSidebar prop #26826
Conversation
444a83a
to
6fa03f3
Compare
@@ -2,280 +2,285 @@ | |||
|
|||
For features included in the Gutenberg plugin, the deprecation policy is intended to support backward compatibility for two minor plugin releases, when possible. Features and code included in a stable release of WordPress are not included in this deprecation timeline, and are instead subject to the [versioning policies of the WordPress project](https://make.wordpress.org/core/handbook/about/release-cycle/version-numbering/). The current deprecations are listed below and are grouped by _the version at which they will be removed completely_. If your plugin depends on these behaviors, you must update to the recommended alternative before the noted version. | |||
|
|||
## 9.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretttier triggered the update to many existing lines 😅
Ignoring whitespace should help:
https://github.com/WordPress/gutenberg/pull/26826/files?diff=unified&w=1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering though why the whitespace changes triggered now and not sooner...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never executed Prettier on .md
files, but I wouldn't mind personally doing so.
@mkaz, how do you feel about this idea?
Size Change: +288 B (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecation looks good!
Description
There was a change introduced to the
InterfaceSkeleton
page in #26517. While it shouldn't have any impact on Gutenberg itself, I thought it would be good to start with a deprecation for those who consume@wordpress/interface
package from npm. I proposed a deprecation that would get removed from the plugin (and the package) in a few weeks.