Skip to content
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

Deprecate YGConfigSetUseLegacyStretchBehaviour #1265

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary: This deprecates YGConfigSetUseLegacyStretchBehaviour and YGConfigGetUseLegacyStretchBehaviourand points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with -Werror, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Differential Revision: D45337198

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Differential Revision: D45337198

fbshipit-source-id: 2c961242963f48c20cdc79e5bbefd81516078587
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Differential Revision: D45337198

fbshipit-source-id: 5f59e047126f2c8d3b3f31b7b5a157a4891835f8
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Differential Revision: D45337198

fbshipit-source-id: 54fbe67e0ec8b81300c953b9ee1a2a1ac23baff4
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 27, 2023
Summary:
X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Differential Revision: D45337198

fbshipit-source-id: 8762d7f213c223605ade288febcaaa51e129cfa5
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Differential Revision: D45337198

fbshipit-source-id: 50cb6a562c65cead4dd6197a6545a7a127e1a688
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: eb7453e3b5b50c8f774204d695d08aadd2e8a075
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 27, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 2ad47ecd8b9dc6dde2a9f4772e30815e5ef7508a
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: ac6d251e43475444e68fec91e14dd6aea46e9e0e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 27, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 19715d6826ac59f04aacb4cf0fa72fb287e38573
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 27, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: e39b4bd115c204c2b811f26a1a49a412d84256b1
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: db3ed9bdb1bbd8890be917a39df66c4f59373c6b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 27, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: a1e119be7ea592bc504c75c55195fd14e24ea141
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 29, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 8df4f73ee8bb0b7a58874f0e6b706d2e80220ba8
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 29, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 7e2ea9b144dec5a3dff415ed479dee5df71b7fbe
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 29, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 89b1636aaa6e4fdc33767e6a3a4bb4b6826a1467
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 29, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 4ff2a9aa080af792c026216073cdcfb1d41c1937
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 29, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 12aac7db3550bd644d5deabe65d9693ab8a00e77
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 30, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: aacf3ae6984859a75cf86ff72f60d27cf03e2a8c
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 30, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 186e7e90232b254ffb0bd347309c3f29efd5ef07
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 30, 2023
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 3faa7dbdfa5197b69070d938b26b1cef0602ae03
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 30, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 33017a407bed0251196fa9adf93f4d31fcfe10be
Summary:
X-link: facebook/react-native#37117

Pull Request resolved: facebook#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 3339923e998a88fe0f7f12b875896706b2f40a1a
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45337198

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 30, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: fd1b817bdcaefff52d1fc5e9bfa4b5856e9c4d0c
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Apr 30, 2023
Summary:
X-link: facebook/react-native#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 7f069623e38834171f5702382bbf47c37a556a22
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f32d37a.

facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Apr 30, 2023
Summary:
Pull Request resolved: #37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 7f069623e38834171f5702382bbf47c37a556a22
jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
Summary:
Pull Request resolved: facebook#37117

X-link: facebook/yoga#1265

This deprecates `YGConfigSetUseLegacyStretchBehaviour` and `YGConfigGetUseLegacyStretchBehaviour`and points users to errata APIs instead. Using the C API will fire deprecation warnings, which should create errors in builds with `-Werror`, though they can be ignored if truly needed (like we do with the language bindings which need to expose their own deprecated interface).

Reviewed By: rshest

Differential Revision: D45337198

fbshipit-source-id: 7f069623e38834171f5702382bbf47c37a556a22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants