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

Update main to use the latest canary branch #1989

Merged
merged 93 commits into from
Nov 25, 2024
Merged

Update main to use the latest canary branch #1989

merged 93 commits into from
Nov 25, 2024

Conversation

josephfusco
Copy link
Member

@josephfusco josephfusco commented Nov 20, 2024

This PR syncs main with the latest canary updates.

blakewilson and others added 30 commits January 30, 2024 14:20
…tors (#1770)

* Add `continue-on-error` for next bundle workflow for outside contributors

* Don't run bundle analysis on `main`
* fix: (#1729) Make attributes field optional

* Update .changeset/spicy-doors-lie.md

---------

Co-authored-by: Blake Wilson <[email protected]>
Co-authored-by: Blake Wilson <[email protected]>
* Test CI/CD

* Update package.json

* Chore: Update package.json

* Update client.ts

* Added experimental app router to script build

---------

Co-authored-by: Teresa (Terri) Gobble <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add issues contact links

* Create new bug report

* Delete old bug report

* Remove security section

* Capitalize fields

* This example is no longer experimental

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: John Parris <[email protected]>

* Update .github/ISSUE_TEMPLATE/config.yml

Co-authored-by: John Parris <[email protected]>

---------

Co-authored-by: John Parris <[email protected]>
* ci: remove audit-dependencies workflow

* ci: e2e-next-example: upgrade action versions.

Upgrades actions/checkout from v3 to v4.

Upgrades actions/setup-node from v3 to v4.

* ci: e2e-next-example: Pin Ubuntu to ubuntu-22.04

* ci: e2e-next-faustwp-example: pin ubuntu-22.04.

Upgrade checkout and setup-node actions to v4.

* ci: e2e-nightly-build: pin ubuntu-22.04.

Upgrade checkout and setup-node actions to v4.

* ci: e2e-test-plugin: Update actions and pin Ubuntu version

* ci: experimental-app-router: Update actions and pin Ubuntu version

* ci: lint-packages: Update actions and pin Ubuntu version

* ci: lint-plugin: Update actions and pin Ubuntu version

* ci: nextjs-bundle-analysis: Update actions and pin Ubuntu version

* ci: nightly-releases: Update actions and pin Ubuntu version

Pins setup-node to v4 instead of master.

* ci: notify-discord: Update actions and pin Ubuntu version

* ci: release-packages: Update actions and pin Ubuntu version

* ci: release-plugin: Update actions and pin Ubuntu version

* ci: sonarqube-scan: Update checkout action to v4

* ci: test-packages: Update actions and pin Ubuntu version

* ci: test-plugin: Update actions and pin Ubuntu version
* updated SameSite to use 'lax' to allow urls from wordpress

* Create healthy-mayflies-end.md

* Removed breaking change status

* Update .changeset/healthy-mayflies-end.md

Co-authored-by: Blake Wilson <[email protected]>

---------

Co-authored-by: Blake Wilson <[email protected]>
… using wpenginepowered.com TLD (#1801)

* Detect wpengine.com TLD

* Create unit tests

* Update messaging

* Add changeset

* Update packages/faustwp-cli/tests/healthCheck/validateFaustEnvVars.test.ts

Co-authored-by: John Parris <[email protected]>

* Simplify regex test return statement

* Update info message

---------

Co-authored-by: John Parris <[email protected]>
* Added validation check for disparate FAUST_SECRET_KEYs
* Refactored getWpSecret to const secretWp
* Added unit testing
---------
Co-authored-by: Blake Wilson <[email protected]>
Co-authored-by: John Parris <[email protected]>
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](indutny/node-ip@v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* init commit

* updated config to support experimentalPlugins and new plugins

* warning added around experimentalPlugins deprecation and plugins usage

* updated experimentalPlugins to plugins

* changeset

* Update mighty-geese-cover.md

* updated per PR for console logging consistency

* Update .changeset/mighty-geese-cover.md

Co-authored-by: John Parris <[email protected]>

---------

Co-authored-by: John Parris <[email protected]>
Updates the value from v18.0.0 to v18, to allow the use of the latest 18.x version.
* chore: fix syntax error in GitHub workflows
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… if there is an authenticated user (#1740)

* Create readable client side cookie to determine login state

* Fix cookie being set when it shouldn't and fix reset cookie

* Rename has token key

* Update cookie name in toolbar

* Update variable names

* mergeCookies function and properly set expires and maxage

* Remove `removeCookie` in favor of `setCookie`

* Add `getHeader` to mocked test responses

* Add unit tests

* Add changeset

* Update .changeset/brave-cougars-lie.md

Co-authored-by: Matthew Wright <[email protected]>

---------

Co-authored-by: Matthew Wright <[email protected]>
* Add next-secure-headers in example projects

* Update next.config.js paths

* FeatI: set xssProtection: false
…RL (#1809)

* Feature: Error when NEXT_PUBLIC_WORDPRESS_URL pointing to headless site

* Update packages/faustwp-cli/src/healthCheck/validateNextWordPressUrl.ts

Co-authored-by: John Parris <[email protected]>

* Chore: Fix PHP Lint issues

* Chore: PHP Lint issues

* Feature: handle older versions of FaustWP Plugin

* Tests: Add unit tests for domains_match

* PHPCS: Fix

* PHPCS: Lint issues

* Chore: Remove WP_Rest_Response messages.

* Feat: Only perform the check on valid secret key

---------

Co-authored-by: John Parris <[email protected]>
* Feat: Added Error Logging Apollo Link

* Update errorLoggingLink.test.ts

* Update errorLoggingLink.test.ts

* Update errorLoggingLink.test.ts
* update @experimental-app-router for handle trailing slash config

* changeset

* Update changeset

* Update changeset

---------

Co-authored-by: John Parris <[email protected]>
…perimental-app-router (#1836)

* Bug Fix: Fix wierd issue with import in experimental-app-router

* Update Deps

* Tests: Fix unit tests in app router

* Update test in TokenHandler
* init commit and test

* Update useLogout.tsx

* Update useLogout.tsx

* updated per PR

* added test to cover use case

* Update useLogout.test.ts

* changeset

* updated per PR
* Added conditional for avatar value of null to toolbar

* Added optional chaining to ViewerType in useAuth

* Added optional chaining to both instances of img in MyAccount

* Updated additional useAuth test to include changes to Viewer

* Update .changeset/smooth-dogs-cough.md

Co-authored-by: John Parris <[email protected]>

---------

Co-authored-by: John Parris <[email protected]>
…pe (#1840)

* Do not require plugins in Faust Config

* Create changeset
* Added `queries` property to FaustTemplate interface, which fixes an error when using multiple queries with TypeScript.

Co-authored-by: John Parris <[email protected]>

---------

Co-authored-by: John Parris <[email protected]>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1851)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions bot and others added 18 commits September 4, 2024 12:50
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* security: fix path-to-regexp=8.1.0

* security: fix vulnerabilities
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](expressjs/body-parser@1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](expressjs/serve-static@v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1957)

Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](pillarjs/send@0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.89.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

* Add plugin updater

* Update package name

* Add changeset

* Add plugin updater

* Ignore error_log case

* Update plugins/faustwp/faustwp.php

* Apply suggestions from code review

- update the docblock to account for possible null values

* Update plugins/faustwp/includes/updates/class-plugin-updater.php

* Apply suggestions from code review

---------

Co-authored-by: Jason Bahl <[email protected]>
Bumps [cookie](https://github.com/jshttp/cookie) from 0.4.2 to 0.7.0.
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.4.2...v0.7.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1970)

Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](expressjs/express@4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* deps: update path-to-regexp=6.3.0

* Update package.json overrides
* - update query fragment on CoreQuote to be compatible with WordPress 6.6

* - update query string

* fix: add legacyBehavior in <Link/>

* chore: update changeset

---------

Co-authored-by: Theo <[email protected]>
* chore: wip cleanup

* chore: install and build step

* chore: add sass

* chore: update deps

* chore: add deps

* chore: cleanup

* chore: include packages/experimental-app-router

* chore: update changesets

* chore: update gettting-started postcss dependency

* chore: update dev npm command
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Providing a clear security policy ensures that the community will know how to report a vulnerability should they find one, which also signals trust in our codebase and standards.

https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository
@josephfusco josephfusco requested a review from a team as a code owner November 20, 2024 17:46
Copy link

changeset-bot bot commented Nov 20, 2024

⚠️ No Changeset found

Latest commit: 8d9eaa4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@josephfusco josephfusco requested a review from a team November 20, 2024 17:46
@moonmeister
Copy link
Member

Should we wait to merge this till after we delete the legacy stuff? Or are we just getting a jump and we can follow up with those changes later on main? Or maybe on main now and later on canary?

@josephfusco
Copy link
Member Author

@moonmeister My intent with this PR was to first get it synced and then begin the work.

My thought was that main now & canary later allows work on main without disrupting canary.

moonmeister
moonmeister previously approved these changes Nov 22, 2024
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@josephfusco
Copy link
Member Author

Thanks for the approval @moonmeister! 🙌🏼 Unfortunately it was dismissed when merging #1990 and will need reapproval

@josephfusco josephfusco merged commit 8816d4f into main Nov 25, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.