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

[chore]: merge canary to main #1995

Draft
wants to merge 99 commits into
base: main
Choose a base branch
from
Draft

[chore]: merge canary to main #1995

wants to merge 99 commits into from

Conversation

moonmeister
Copy link
Collaborator

yup, updating main from canary to remove legacy things

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>
theodesp and others added 22 commits September 19, 2024 09:50
* 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
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>
…ows (#1991)

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](dawidd6/action-download-artifact@v3...v6)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
...

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

* Update legacy package documents links

* Update edit path for legacy site

* Revert "Update legacy package documents links"

This reverts commit 4da6edc.

* Revert package updates
* Update legacy docs

* Update legacy package documents links

* Update edit path for legacy site

* Remove legacy code

* Revert "Update legacy package documents links"

This reverts commit 4da6edc.

* Revert package updates

* Revert "Remove legacy code"

This reverts commit d1870f3.

* Remove legacy code

* Create package-lock.json

* Remove legacy lockfile

* Remove orphaned ignore

---------

Co-authored-by: Alex Moon <[email protected]>
@moonmeister moonmeister requested a review from a team as a code owner November 27, 2024 00:10
Copy link

changeset-bot bot commented Nov 27, 2024

🦋 Changeset detected

Latest commit: 28f1f83

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@faustwp/wordpress-plugin Minor
@faustwp/experimental-app-router Minor

Not sure what this means? Click here to learn what changesets are.

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

@moonmeister
Copy link
Collaborator Author

@josephfusco Why does this have all the issues and commits your PR had? should main be basically up to date?

@moonmeister
Copy link
Collaborator Author

@josephfusco I'm wondering if we didn't maintain history and it's causing issues. #1996 seems more like it should be. I'm thinking maybe squash and merge shouldn't be our default? at least not for these big branch changes.

CesarBenavides777 and others added 2 commits December 3, 2024 14:45
…1994)

* fix(experimental-app-router): Resolve onLogin issue on Vercel deployment (#1919)

* fix(experimental-app-router): Resolve onLogin issue on Vercel deployment - adding one more eslint addition (#1919)

* fix(experimental-app-router): Resolve onLogin issue on Vercel deployment - updating example repo (#1919)

* adding changset

* fix(experimental-app-router): Resolve onLogin issue on Vercel deployment - Adding use server on logout action(#1919)

* Testing on example repo

* Testing on example repo

* (@faustwp/experimental-app-router) Updating example next 15 errors related to awaiting params (1919)

* (@faustwp/experimental-app-router) Updating example next 15 errors related to awaiting params (1919)

* (@faustwp/experimental-app-router) Updating changeset (1919)

* [bug-1919-experimental-app-router] Bumping down next version on example
…1985)

* Adding a filter for optional change of public redirect status codes

adding support for users to change the redirect status code from a `302` to another code of their choice, likely `301`.

* Adding Changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.