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>
12 KiB
12 KiB
Unreleased
21.41.0 (2024-05-16)
21.40.0 (2024-05-02)
21.39.0 (2024-04-19)
21.38.0 (2024-04-03)
21.37.0 (2024-03-21)
21.36.0 (2024-03-06)
21.35.0 (2024-02-21)
21.34.0 (2024-02-09)
21.33.0 (2024-01-24)
21.32.0 (2024-01-10)
21.31.0 (2023-12-13)
21.30.0 (2023-11-29)
21.29.0 (2023-11-16)
21.28.0 (2023-11-02)
21.27.0 (2023-10-18)
21.26.0 (2023-10-05)
21.25.0 (2023-09-20)
21.24.0 (2023-08-31)
21.23.0 (2023-08-16)
21.22.0 (2023-08-10)
21.21.0 (2023-07-20)
21.20.0 (2023-07-05)
21.19.0 (2023-06-23)
21.18.0 (2023-06-07)
21.17.0 (2023-05-24)
21.16.0 (2023-05-10)
21.15.0 (2023-04-26)
21.14.0 (2023-04-12)
21.13.0 (2023-03-29)
21.12.0 (2023-03-15)
21.11.0 (2023-03-01)
21.10.0 (2023-02-15)
21.9.0 (2023-02-01)
21.8.0 (2023-01-11)
21.7.0 (2023-01-02)
21.6.0 (2022-12-14)
21.5.0 (2022-11-16)
21.4.0 (2022-11-02)
21.3.0 (2022-10-19)
21.2.0 (2022-10-05)
21.1.0 (2022-09-21)
21.0.0 (2022-08-24)
Breaking Change
- Increase the minimum Node.js version to 14 (#43141).
20.0.0 (2022-01-27)
Breaking Change
- Increased minimum peer dependency of
stylelintto14.2.0(#38091). See official migration guide to v14 for details.
19.0.0 (2021-01-21)
Breaking Change
- Increase the minimum Node.js version to 12 (#27934).
- Increased minimum peer dependency of
stylelintto13.7.0.
Bug Fixes
- Fixed deprecation warning for
declaration-property-unit-whitelist.
18.0.0 (2021-01-05)
Breaking Change
- Increase the minimum Node.js version to 12 (#27934).
Internal
- Imported from
WordPress-Coding-Standards/stylelint-config-wordpressrepository toWordPress/gutenberg(#22777)
17.0.0 (2020-05-31)
- Updated:
stylelint-scssto3.17.2. - Updated:
stylelintto13.0.0.
16.0.0 (2019-12-31)
- Fixed:
selector-class-patternrule regex to account for numerals, case detection, and ensure kebab-case over snake_case. - Fixed:
selector-id-patternrule regex to account for numerals, case detection, and ensure kebab-case over snake_case. - Updated:
stylelint-config-recommended-scssto4.1.0. - Updated:
stylelint-find-rulesto2.2.0. - Updated:
stylelint-scssto3.13.0. - Updated:
stylelintto11.0.0.
15.0.0 (2019-10-05)
- Added: NodeJS 12.x.x support.
- Updated:
stylelintto11.0.0. - Removed:
stylelint < 10.1.0compatibility. - Updated:
stylelint-config-recommendedto3.0.0. - Updated:
stylelint-config-recommended-scssto4.0.0. - Updated: Bump minimum Node.js required version to
10.0.0.
14.0.0 (2019-04-18)
- Updated:
stylelintto10.0.0. - Updated:
stylelint-scssto3.6.0. - Updated:
stylelint-config-recommendedto2.2.0.
13.1.0 (2018-08-19)
- Added: Added SCSS shared config
extendstests. - Changed:
stylelint-config-wordpress/scssnow extendsstylelint-config-recommended-scss(the net result of this change results in no rule changes for this SCSS config). - Updated:
stylelint-scssto3.3.0. - Updated:
stylelintto9.5.0.
13.0.0 (2018-03-19)
- Added: stylelint
9.1.3support. - Changed: Updated
stylelintpeer dependency version to^9.1.3. - Changed: Improved
no-duplicate-selectorstests. - Removed: Jest snapshots.
- Removed:
stylelint < 9.1.3compatibility. - Updated:
selector-pseudo-element-colon-notationto usedouble - Updated:
stylelint-config-recommendedto2.1.0. - Updated:
stylelint-scssto2.1.0. - Updated: Bump minimum Node.js required version to
8.9.3.
12.0.0 (2017-07-18)
- Changed:
stylelint-config-wordpressnow extendsstylelint-config-recommended, which turns on theat-rule-no-unknown,block-no-empty,comment-no-empty,declaration-block-no-ignored-properties,declaration-block-no-redundant-longhand-properties,font-family-no-duplicate-names,media-feature-name-no-unknown,no-empty-sourcerule. These rules are part of stylelint's possible errors rules. - Removed:
stylelint-scss < 1.5.1compatibility. - Removed: Removed style guide docs.
- Removed:
at-rule-no-unknowncustomignoreAtRulesoptions instylelint-config-wordpress/scssshared config. - Added:
scss/at-rule-no-unknownrule instylelint-config-wordpress/scssshared config. - Added: NodeJS 8.x.x support.
- Added: npm 5.x.x support.
- Added: Jest snapshots to help detect and prevent regressions.
11.0.0 (2017-05-16)
- Added:
declaration-property-unit-whitelistrule to allowpxand exclude%andemunits inline-heightvalues. - Changed: Relocated repo to https://github.com/WordPress-Coding-Standards.
- Fixed: Include CSS config
at-rule-empty-line-beforerules in SCSS config.
10.0.2 (2017-04-29)
- Added: Added
importtoignoreAtRulesoption inat-rule-empty-line-beforerule for SCSS config.
10.0.1 (2017-04-21)
- Removed:
rule-non-nested-empty-line-beforerule from SCSS config. This rule is deprecated in stylelint v8, the newrule-empty-line-beforerule already exists in the primary config.
10.0.0 (2017-04-21)
- Added:
scss/selector-no-redundant-nesting-selectorrule instylelint-config-wordpress/scssshared config. - Added:
selector-no-emptyrule. - Added: NodeJS 7.x.x support
- Fixed: Added
stylelint-scssplugin @if/@else placement rules. - Fixed: Ignore
relativekeyword names infont-weight-notationrule. - Fixed: Ignore proprietary
DXImageTransform.MicrosoftMS filters - Fixed: Removed
@debugfromignoreAtRulesarray ofat-rule-no-unknownrule instylelint-config-wordpress/scsschared config. - Deprecated
blockless-groupoption forat-rule-empty-line-beforerule. Use the newblockless-after-blocklessoption instead. - Deprecated
media-feature-no-missing-punctuationrule. - Deprecated
rule-nested-empty-line-beforeandrule-non-nested-empty-line-beforerules. Use the newrule-empty-line-beforerule instead. - Deprecated
selector-no-emptyrule. - Refactor: Switch from AVA to Jest for tests.
- Refactor: Switch from eslint-plugin-ava to eslint-plugin-jest.
- Removed:
stylelint < 7.10.1compatibility. - Removed:
stylelint-scss < 1.4.4compatibility. - Removed: NodeJS 4.x support,
stylelintandstylelint-config-wordpressnow require NodeJS > 6.9.1 LTS or greater
9.1.1 (2016-09-30)
- Fixed: Re-releasing failed npmjs.com 9.1.0 release as 9.1.1.
9.1.0 (2016-09-30)
- Added:
stylelint-config-wordpress/scsspreset.
9.0.0 (2016-09-10)
- Removed:
stylelint < 7.2.0compatibility. - Removed: NodeJS 0.12.x support,
stylelintandstylelint-config-wordpressnow require NodeJS > 4.2.1 LTS or greater - Added:
at-rule-no-unknownrule. - Added:
selector-attribute-quotesrule. - Added:
font-weight-notationrule. - Added:
max-line-lengthrule. - Added:
property-no-unknownrule. - Added:
selector-class-patternrule. - Added:
selector-id-patternrule. - Deprecated
no-missing-eof-newlinerule. Use the newno-missing-end-of-source-newlinerule instead. - Fixed
font-family-name-quotestest warning message invalues.js.
8.0.0 (2016-06-14)
- Removed:
stylelint < 6.6.0compatibility. - Removed:
number-zero-length-no-unitrule. - Added:
length-zero-no-unitrule. - Added:
value-keyword-caserule.
7.1.1 (2016-05-30)
- Fixed: Re-releasing failed npmjs.com 7.0.0 release as 7.1.1.
7.1.0 (2016-05-30)
- Fixed:
font-family-name-quotesrule deprecated optiondouble-where-recommendedto newalways-where-recommendedoption. - Fixed:
function-url-quotesrule deprecated optionnoneto newneveroption. - Removed:
stylelint < 6.5.1compatibility. - Changed: Improved tests and documentation.
- Added:
comment-empty-line-beforerule.
7.0.0 (2016-05-20)
- Added:
keyframe-declaration-no-importantrule. - Added:
selector-pseudo-class-no-unknownrule. - Added:
selector-pseudo-element-no-unknownrule. - Added:
selector-type-no-unknownrule.
6.0.0 (2016-05-17)
- Added:
at-rule-name-space-afterrule. - Added:
no-extra-semicolonsrule. - Added:
selector-attribute-operator-space-afterrule. - Added:
selector-attribute-operator-space-beforerule. - Added:
selector-max-empty-linessrule.
5.0.0 (2016-04-24)
- Added:
at-rule-name-caserule. - Added:
declaration-block-no-duplicate-propertiesrule. - Added:
function-max-empty-linesrule. - Added:
function-name-caserule. - Added:
property-caserule. - Added:
selector-attribute-brackets-space-insiderule. - Added:
selector-pseudo-class-caserule. - Added:
selector-pseudo-class-parentheses-space-insiderule. - Added:
selector-pseudo-element-caserule. - Added:
shorthand-property-no-redundant-valuesrule. - Added:
unit-caserule. - Added:
unit-no-unknownrule.
4.0.0 (2016-03-25)
- Removed:
stylelint < 5.2.0compatibility. - Added:
at-rule-semicolon-newline-afterrule. - Added:
selector-type-caserule.
3.0.1 (2016-03-10)
- Added:
stylelintversion^4.5.0as a peer dependency topeerDependenciesinpackage.json
3.0.0 (2016-03-08)
- Removed:
stylelint < 4.5.0compatibility. - Deprecated:
rule-no-shorthand-property-overridesrule. Use the newdeclaration-block-no-shorthand-property-overridesrule instead. - Deprecated:
rule-trailing-semicolonrule. Use the newdeclaration-block-trailing-semicolonrule instead. - Added:
color-namedrule. - Added:
declaration-block-no-shorthand-property-overridesrule. - Added:
declaration-block-trailing-semicolonrule. - Added:
string-no-newlinerule.
2.1.0 (2016-03-03)
- Added:
max-empty-linesrule, limits the number of adjacent empty lines to 2. - Changed:
rule-nested-empty-line-beforerule optionignore: ["after-comment"]. - Removed all vendor prefixes, lets autoprefixer handle vendor prefixes:
- Removed:
at-rule-no-vendor-prefix - Removed:
media-feature-name-no-vendor-prefix - Removed:
property-no-vendor-prefix - Removed:
selector-no-vendor-prefix - Removed:
value-no-vendor-prefix
- Removed:
2.0.2 (2016-02-17)
- Fixed another npmjs.com release issue
2.0.1 (2016-02-17)
- Fixed npmjs.com release
2.0.0 (2016-02-17)
- Removed:
media-query-parentheses-space-insiderule. - Removed:
stylelint < 4.3.4compatibility. - Added:
font-family-name-quotesrule with double quotes where recommended option. - Added:
media-feature-no-missing-punctuationrule. - Added:
no-invalid-double-slash-commentsrule.
1.1.1 (2016-01-19)
- Changed:
rule-non-nested-empty-line-beforewith optionignore: ["after-comment"],.
1.1.0 (2016-01-18)
- Added:
selector-pseudo-element-colon-notationwith optionsingle
1.0.1 (2015-12-11)
- Changed: config syntax.
1.0.0 (2015-12-11)
- Removed:
stylelint < 3.0.0compatibility. - Changed: renamed the
function-space-afterrule tofunction-whitespace-after. - Changed:
at-rule-empty-line-beforewith optionignore: ["after-comment"],. - Changed:
declaration-colon-space-afterwith optionalways-single-line. - Added:
declaration-colon-newline-afterwith optionalways-multi-line. - Added:
function-linear-gradient-no-nonstandard-direction.
0.2.0 (2015-09-04)
- Fixed: No quotes for URLs ->
"function-url-quotes": [ 2, "none" ].
0.1.0 (2015-08-01)
Initial release.