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

[MOOSE-130]: Misc Moose updates for WordPress 6.6 compatibility WIP #146

Merged
merged 34 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a54fd42
[MOOSE-130]: [MOOSE-130]: Theme.json version update and related chang…
dpellenwood Jun 21, 2024
0a8b5db
Merge branch 'main' into feature/MOOSE-130/wp-6.6-compat-updates
dpellenwood Jun 21, 2024
5ca305f
[MOOSE-130]: Remove a few old commented-out changes as they're no lon…
dpellenwood Jun 21, 2024
1e7bb78
[MOOSE-130]: [MOOSE-130]: Move variable partials to `:root{}` as Word…
dpellenwood Jun 21, 2024
e0d0f06
[MOOSE-130]: Remove the inject changes option from Browser sync. CSS …
dpellenwood Jun 21, 2024
9437cf8
[MOOSE-130]: Update `dist` npm script to minify compiled css, etc. Ad…
dpellenwood Jun 21, 2024
10d9754
[MOOSE-131]: initial style updates for 6.6
GeoffDusome Jun 21, 2024
710cfb7
[MOOSE-130]: linting fix.
dpellenwood Jun 21, 2024
818123b
Merge branch 'main' into feature/MOOSE-131/theme-json-settings-styles…
GeoffDusome Jun 21, 2024
5f0ebf9
[MOOSE-130]: change log.
dpellenwood Jun 21, 2024
6117f76
[MOOSE-130]: Merge branch 'feature/MOOSE-131/theme-json-settings-styl…
GeoffDusome Jun 24, 2024
dd1915b
[MOOSE-130]: revert composer change; changelog
GeoffDusome Jun 24, 2024
1a47693
[MOOSE-130]: move heading & paragraph block style variations to theme…
GeoffDusome Jun 24, 2024
8ddfb54
[MOOSE-130]: move spacer styles to theme.json; re-order style variations
GeoffDusome Jun 24, 2024
438e7d4
[MOOSE-130]: supported block features documentation; readme
GeoffDusome Jun 24, 2024
14dd287
[MOOSE-130]: Bump WP Core to RC1.
dpellenwood Jun 25, 2024
d56f79f
[MOOSE-130]: Update npm packages to latest versions:
dpellenwood Jun 25, 2024
031584a
[MOOSE-130]: Merge branch 'main' into feature/MOOSE-130/wp-6.6-compat…
dpellenwood Jun 25, 2024
ef382fd
[MOOSE-130]: Linting fix.
dpellenwood Jun 25, 2024
4cfd342
[MOOSE-130]: Merge branch 'main' into feature/MOOSE-130/wp-6.6-compat…
dpellenwood Jun 26, 2024
35f121a
[MOOSE-130]: Remove class name filters for List & Paragraph blocks.
dpellenwood Jun 26, 2024
af3edfc
[MOOSE-130]: changelog clean up.
dpellenwood Jun 26, 2024
7b24082
[MOOSE-130]: changelog clean up take 2.
dpellenwood Jun 26, 2024
ff7399c
[MOOSE-130]: wp 6.6-rc2
GeoffDusome Jul 3, 2024
b1dd297
[MOOSE-130]: remove layout overrides
GeoffDusome Jul 9, 2024
16829e6
[MOOSE-130]: wp 6.6-rc3
GeoffDusome Jul 14, 2024
c719e62
[MOOSE-130]: changelog update
GeoffDusome Jul 14, 2024
de88aa1
[MOOSE-130]: wp 6.6 release
GeoffDusome Jul 17, 2024
e047a77
[MOOSE-130]: Update composer deps, including plugins. Update npm pack…
dpellenwood Jul 19, 2024
856b2e6
[MOOSE-130]: changelog entry.
dpellenwood Jul 19, 2024
8fc55a7
[MOOSE-130]: Bump WP to latest version.
dpellenwood Jul 25, 2024
0f0a651
[MOOSE-130]: Add links to docs from README.md
dpellenwood Jul 25, 2024
1c12d2a
[MOOSE-130]: Bump npm & package versions.
dpellenwood Jul 25, 2024
dd4247e
[MOOSE-130]: Composer package & plugin updates. COmposer platform upd…
dpellenwood Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ recipe: wordpress
config:
php: '8.2'
database: mariadb
composer_version: 2
composer_version: 2-latest
via: nginx
xdebug: true
memcached: true
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
20.16.0
23 changes: 21 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,33 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). Each changelog entry gets prefixed with the category of the item (Added, Changed, Depreciated, Removed, Fixed, Security).

## [2024.07]
- Chore: WP version to 6.6.1
- Chore: Package updates for composer & NPM, including plugins: limit-login-attempts-reloaded (2.26.11 => 2.26.12), seo-by-rank-math (1.0.221 => 1.0.224), advanced-custom-fields-pro (6.3.2.1 => 6.3.4), user-switching (1.7.3 => 1.8.0).
- Removed: We were previously using some overrides to handle nested Group block layouts. With some updates in WP 6.6 these classes are no longer necessary as WP handles this use case in core now.
- Updated: Composer PHP platform to PHP 8.2.
- Updated: Lando composer config to use 2-latest.

## [2024.06]
- Changed: Renamed and added a finish job to the Dokku Deploy App workflow so that it doesn't fail when all 3 app jobs are skipped.
- Changed: Renamed the code quality workflow from "Workflow" to "Code Quality Checks" and renamed the file accordingly.
- Updated: Updated GitHub default & 3rd-party action versions to eliminate (node version warnings)[https://github.com/moderntribe/moose/actions/runs/9617664104].
- Updated: Updated GitHub default & 3rd-party action versions to eliminate [node version warnings](https://github.com/moderntribe/moose/actions/runs/9617664104).
- Chore: WP version to 6.5.5
- Chore: Composer updates including plugins: limit-login-attempts-reloaded (2.26.8 => 2.26.11), seo-by-rank-math (1.0.218 => 1.0.221), social-sharing-block (1.1.0 => 1.2.0), advanced-custom-fields-pro (6.2.9 => 6.3.2.1)
- Added: Create WP Controls script & documentation.
- Changed: Column block now uses the Create WP Controls script to create the "stacking order" controls.
- Changed: Column block now uses the Create WP Controls script to create the "stacking order" controls.
- Updated: theme.json version and related adjustments for WP v6.6. [Reference](https://make.wordpress.org/core/2024/06/19/theme-json-version-3/)
- Updated: Remove some old, commented out css from our reset that is no longer causing issues.
- Updated: root style selector updates per [Core's specificity updates](https://make.wordpress.org/core/2024/06/21/wordpress-6-6-css-specificity/).
- Changed: Remove the injectChanges parameter from BrowserSync config as css injection doesn't work.
- Changed: Update the `dist` npm script to use the `production` ENV value so that assets are minified.
- Added: A `build` npm task to build non-minified assets on demand.
- Updated: `theme.json` objects should now be ordered alphabetically in order to more easily find properties.
- Updated: `theme.json` now allows you to style block style variations using the `variations` property - so some styling has been moved out of `.scss` files and into `theme.json` to reflect this.
- Changed: Query Pagination styles were somewhat confusing, it should now be properly nested so the hierarchy makes sense.
- Added: [Documentation](./docs/supported-block-features.md) surrounding what features of Gutenberg Moose disables by default.
- Removed: Block content filters that add the block class name to the Core List and Paragraph blocks. [List blocks now have their class name added via Core](https://make.wordpress.org/core/2024/06/24/miscellaneous-editor-changes-in-wordpress-6-6/#Added-wp-block-list-class-to-the-list-block) and Paragraphs are targeted via their element.


## [2024.05]
- Updated: Pattern definition consistency for usage of `Inserter:`
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ Once Slic is installed, you can go to the project root and enter `slic here` tel

We use GitHub Action as a CI for deployments, testing and many other features. To learn more about each action, checkout the [./docs/actions.md](./docs/actions.md) for details.

## Additional Documentation
Specific features and functionality may have additional documentation in the [./docs](./docs) folder.
* [GitHub Actions](./docs/actions.md)
* [Create Block Script Templates](./docs/block-templates.md)
* [Create WP Controls Script](./docs/wp-controls-templates.md)
* [Supported Block Features](./docs/block-features.md)

## Modern Tribe

[![Modern Tribe](https://moderntribe-common.s3.us-west-2.amazonaws.com/marketing/ModernTribe-Banner.png)](https://tri.be/contact/)
1 change: 0 additions & 1 deletion browsersync.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module.exports = {
`${ pkg.config.corePluginDir }/**/*.php`,
],
host: localConfig.host,
injectChanges: true,
logConnections: true,
notify: true,
open: 'external',
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"phpstan/extension-installer": true
},
"platform": {
"php": "8.1"
"php": "8.2"
},
"platform-check": false
},
Expand All @@ -29,7 +29,7 @@
"@php -r \"file_exists('local-config.php') || copy('local-config-sample.php', 'local-config.php');\"",
"@php -r \"file_exists('local-config.json') || copy('local-config-sample.json', 'local-config.json');\""
],
"setup-wordpress": "./vendor/bin/wp core download --version=6.5.5 --skip-content --force",
"setup-wordpress": "./vendor/bin/wp core download --version=6.6.1 --skip-content --force",
"update-db": "./vendor/bin/wp core update-db",
"post-root-package-install": [
"@setup-repo"
Expand Down Expand Up @@ -96,7 +96,7 @@
"wpackagist-plugin/debug-bar": "^1.1"
},
"require": {
"php": "^8.0|^8.1",
"php": "^8.0|^8.1|^8.2",
"block-editor-custom-alignments/block-editor-custom-alignments": "^1.0",
"composer/installers": "^2.2",
"humanmade/s3-uploads": "^3.0",
Expand All @@ -112,13 +112,13 @@
"wp-cli/wp-cli-bundle": "^2.8",
"wpackagist-plugin/disable-emojis": "1.7.6",
"wpackagist-plugin/duracelltomi-google-tag-manager": "1.20.2",
"wpackagist-plugin/limit-login-attempts-reloaded": "2.26.11",
"wpackagist-plugin/safe-svg": "2.2.4",
"wpackagist-plugin/seo-by-rank-math": "1.0.221",
"wpackagist-plugin/limit-login-attempts-reloaded": "2.26.12",
"wpackagist-plugin/safe-svg": "2.2.5",
"wpackagist-plugin/seo-by-rank-math": "1.0.224",
"wpackagist-plugin/social-sharing-block": "^1.0",
"wpackagist-plugin/user-switching": "1.7.3",
"wpackagist-plugin/user-switching": "1.8.0",
"wpackagist-plugin/wp-tota11y": "^1.2",
"wpengine/advanced-custom-fields-pro": "6.3.2.1"
"wpengine/advanced-custom-fields-pro": "6.3.4"
},
"extra": {
"installer-paths": {
Expand Down
Loading
Loading