Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
6.7 KiB
6.7 KiB
Unreleased
5.35.0 (2024-05-16)
5.34.0 (2024-05-02)
5.33.0 (2024-04-19)
5.32.0 (2024-04-03)
5.31.0 (2024-03-21)
5.30.0 (2024-03-06)
5.29.0 (2024-02-21)
5.28.0 (2024-02-09)
5.27.0 (2024-01-24)
- Started exporting the
PureComponentReact API (#58076).
5.26.0 (2024-01-10)
5.25.0 (2023-12-13)
5.24.0 (2023-11-29)
5.23.0 (2023-11-16)
5.22.0 (2023-11-02)
5.21.0 (2023-10-18)
5.20.0 (2023-10-05)
Breaking Changes
- Remove the WPElement, WPComponent, and WPSyntheticEvent types.
5.19.0 (2023-09-20)
5.18.0 (2023-08-31)
5.17.0 (2023-08-16)
5.16.0 (2023-08-10)
5.15.0 (2023-07-20)
5.14.0 (2023-07-05)
5.13.0 (2023-06-23)
5.12.0 (2023-06-07)
5.11.0 (2023-05-24)
5.10.0 (2023-05-10)
5.9.0 (2023-04-26)
5.8.0 (2023-04-12)
5.7.0 (2023-03-29)
5.6.0 (2023-03-15)
5.5.0 (2023-03-01)
New Features
- Started exporting the
flushSyncfunction fromreact-dom
5.4.0 (2023-02-15)
5.3.0 (2023-02-01)
5.2.0 (2023-01-11)
5.1.0 (2023-01-02)
5.0.0 (2022-12-14)
Breaking Changes
- Updated dependencies to require React 18 (45235)
New Features
- Started exporting new React 18 APIs (46610)
4.20.0 (2022-11-16)
4.19.0 (2022-11-02)
4.18.0 (2022-10-19)
4.17.0 (2022-10-05)
4.16.0 (2022-09-21)
4.15.0 (2022-09-13)
4.14.0 (2022-08-24)
Bug Fix
- Packages: Replace
is-plain-objwithis-plain-object(#43511).
4.13.0 (2022-08-10)
4.12.0 (2022-07-27)
4.11.0 (2022-07-13)
4.10.0 (2022-06-29)
4.9.0 (2022-06-15)
4.8.0 (2022-06-01)
4.7.0 (2022-05-18)
4.6.0 (2022-05-04)
4.5.0 (2022-04-21)
4.4.0 (2022-04-08)
4.3.0 (2022-03-23)
4.2.0 (2022-03-11)
Bug Fix
- Serialize will now keep correct casing for SVG attributes (#38936).
4.1.0 (2022-01-27)
Bug Fix
- Ensure that the package uses the latest version of React types (#37365).
4.0.3 (2021-10-22)
Bug Fix
- Update
rawHtmlto correctly concatenate multiple strings passed as children (see 35532)
4.0.0 (2021-07-29)
Breaking Change
- Upgraded React components to work with v17.0 (#29118). There are no new features in React v17.0 as explained in the blog post.
3.2.0 (2021-07-21)
3.1.0 (2021-05-20)
3.0.0 (2021-05-14)
Breaking Changes
- Drop support for Internet Explorer 11 (#31110). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
- Increase the minimum Node.js version to v12 matching Long Term Support releases (#31270). Learn more at https://nodejs.org/en/about/releases/.
2.20.0 (2021-03-17)
2.17.1 (2020-09-17)
Bug fix
- Declare @types/react and @types/react-dom dependencies which could cause type errors when using this package with TypeScript (#25086)
2.14.0 (2020-05-14)
New Feature
- Include TypeScript type declarations (#21781)
2.13.1 (2020-04-15)
Bug Fix
- Hide TypeScript type declarations (#21613) after they were found to conflict with DefinitelyTyped provided declarations.
2.13.0 (2020-04-15)
New Features
- Include TypeScript type declarations (#21248)
- Graduated
__experimentalCreateInterpolateElementfunction to stable api:createInterpolateElement(see 20699)
2.10.0 (2019-12-19)
New Features
- Added
__experimentalCreateInterpolateElementfunction (see 17376)
2.8.0 (2019-09-16)
New Features
- The bundled
reactdependency has been updated from requiring^16.8.4to requiring^16.9.0(#16982). It contains new deprecations as well. - The bundled
react-domdependency has been updated from requiring^16.8.4to requiring^16.9.0(#16982).
2.4.0 (2019-05-21)
New Features
- Added
lazyfeautre (see: https://reactjs.org/docs/react-api.html#reactlazy). - Added
Suspensecomponent (see: https://reactjs.org/docs/react-api.html#reactsuspense).
2.3.0 (2019-03-06)
New Features
- Added
useCallbackhook (see: https://reactjs.org/docs/hooks-reference.html#usecallback). - Added
useContexthook (see: https://reactjs.org/docs/hooks-reference.html#usecontext). - Added
useDebugValuehook (see: https://reactjs.org/docs/hooks-reference.html#usedebugvalue). - Added
useEffecthook (see: https://reactjs.org/docs/hooks-reference.html#useeffect). - Added
useImperativeHandlehook (see: https://reactjs.org/docs/hooks-reference.html#useimperativehandle). - Added
useLayoutEffecthook (see: https://reactjs.org/docs/hooks-reference.html#uselayouteffect). - Added
useMemohook (see: https://reactjs.org/docs/hooks-reference.html#usememo). - Added
useReducerhook (see: https://reactjs.org/docs/hooks-reference.html#usereducer). - Added
useRefhook (see: https://reactjs.org/docs/hooks-reference.html#useref). - Added
useStatehook (see: https://reactjs.org/docs/hooks-reference.html#usestate).
2.1.8 (2018-11-15)
2.1.7 (2018-11-09)
2.1.6 (2018-11-09)
2.1.5 (2018-10-29)
2.1.4 (2018-10-20)
2.1.3 (2018-10-18)
2.1.0 (2018-09-30)
- New API method
isEmptyElementwas introduced (9861).
2.0.0 (2018-09-05)
Breaking Change
- Change how required built-ins are polyfilled with Babel 7 (#9171). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using core-js or @babel/polyfill will add support for these methods.