-
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
Date: Mark getSettings as experimental #10636
Conversation
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.
If we deprecate getSettings()
, we should change all parts where we import and use it.
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.
Code-wise this looks good, but it missed the 4.1.0 release so we'll need to bump back the deprecated version.
version bumped need help on this
|
@ajitbohra Ah, sorry for missing the question. We never need to touch the |
Note added to change log |
Co-Authored-By: ajitbohra <ajit@lubus.in>
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.
LGTM
Co-Authored-By: ajitbohra <ajit@lubus.in>
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.
In some final testing I came across fact that we export moment
as well, which (for different reasons than this) is probably something we don't want to expose on the API. Thoughts?
Not blocking for this pull request.
We should definitely set "moment" as experimental (or get rid of it) as well. This is something I wanted to do but not sure if I'll have the time to do it. |
Yes, I remember the previous discussion around not exposing moment. Will have a look and work on the PR for the same. |
* Date: Mark getSettings as experimental * Update all references to __experimentalGetSettings * Bump deprecated version * Add change to changelog * Remove deprecated from 4.2 Co-Authored-By: ajitbohra <ajit@lubus.in> * Marks as unreleased Co-Authored-By: ajitbohra <ajit@lubus.in>
…rnmobile/merge-blocks-on-backspace * 'master' of https://github.com/WordPress/gutenberg: Do not add isDirty prop to DOM (#11093) Format API (#10209) Remove 4.2 deprecated features (#10952) Update `@wordpress/hooks` README to include namespace mention (#11061) Feature: save lock control via actions (#10649) Fix usage of `preg_quote()` (#10998) Update plugin version to 4.1.1 (#11078) Improve preloading request code (#11007) Fix dynamic blocks not rendering in the frontend (#11050) Media & Text: Fixing vertical alignment of the image (#11025) Date: Mark getSettings as experimental (#10636) Improve handling of centered 1-col galleries with small images (#11040) Use better help text for ALT text input; fixes #8391. (#11052) # Conflicts: # packages/editor/src/components/rich-text/index.native.js
Fixes #10627