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

Bump wp-graphql/wp-graphql from 1.12.0 to 1.24.0 #4166

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2024

Bumps wp-graphql/wp-graphql from 1.12.0 to 1.24.0.

Release notes

Sourced from wp-graphql/wp-graphql's releases.

v1.24.0

Release Notes

Upgrade Notice

The AbstractConnectionResolver has undergone some refactoring. Some methods using snakeCase have been deprecated in favor of their camel_case equivalent. While we've preserved the deprecated methods to prevent breaking changes, you might begin seeing PHP notices about the deprecations. Any codebase that extends the AbstractConnectionResolver class should update the following methods:

  • getSource -> get_source
  • getContext -> get_context
  • getInfo -> get_info
  • getShouldExecute -> get_should_execute
  • getLoader -> get_loader

New Features

  • #3084: perf: refactor PluginConnectionResolver to only fetch plugins once. Thanks @​justlevine!
  • #3088: refactor: improve loader handling in AbstractConnectionResolver. Thanks @​justlevine!
  • #3087: feat: improve query amount handling in AbstractConnectionResolver. Thanks @​justlevine!
  • #3086: refactor: add AbstractConnectionResolver::get_unfiltered_args() public getter. Thanks @​justlevine!
  • #3085: refactor: add AbstractConnectionResolver::prepare_page_info()and only instantiate once. Thanks @​justlevine!
  • #3083: refactor: deprecate camelCase methods in AbstractConnectionResolver for snake_case equivalents. Thanks @​justlevine!

Chores / Bugfixes

  • #3095: chore: lint for superfluous whitespace. Thanks @​justlevine!
  • #3100: fix: recursion issues with interfaces
  • #3082: chore: prepare ConnectionResolver classes for v2 backport

v1.23.0

Release Notes

New Features

  • #3073: feat: expose hasPassword and password fields on Post objects. Thanks @​justlevine!
  • #3091: feat: introduce actions and filters for GraphQL Admin Notices

Chores / Bugfixes

  • #3079: fix: GraphiQL IDE test failures
  • #3084: perf: refactor PluginConnectionResolver to only fetch plugins once. Thanks @​justlevine! (edit: This was not included in this release and was improperly documented. Will be part of a future release).
  • #3092: ci: test against wp 6.5
  • #3093: ci: Update actions in GitHub workflows and cleanup. Thanks @​justlevine!
  • #3093: chore: update Composer dev-deps and lint. Thanks @​justlevine!

Full Changelog: wp-graphql/wp-graphql@v1.22.1...v1.23.0

v1.22.1

... (truncated)

Changelog

Sourced from wp-graphql/wp-graphql's changelog.

1.24.0

Upgrade Notice

The AbstractConnectionResolver has undergone some refactoring. Some methods using snakeCase have been deprecated in favor of their camel_case equivalent. While we've preserved the deprecated methods to prevent breaking changes, you might begin seeing PHP notices about the deprecations. Any plugin that extends the AbstractConnectionResolver should update the following methods:

  • getSource -> get_source
  • getContext -> get_context
  • getInfo -> get_info
  • getShouldExecute -> get_should_execute
  • getLoader -> getLoader

New Features

  • #3084: perf: refactor PluginConnectionResolver to only fetch plugins once. Thanks @​justlevine!
  • #3088: refactor: improve loader handling in AbstractConnectionResolver. Thanks @​justlevine!
  • #3087: feat: improve query amount handling in AbstractConnectionResolver. Thanks @​justlevine!
  • #3086: refactor: add AbstractConnectionResolver::get_unfiltered_args() public getter. Thanks @​justlevine!
  • #3085: refactor: add AbstractConnectionResolver::prepare_page_info()and only instantiate once. Thanks @​justlevine!
  • #3083: refactor: deprecate camelCase methods in AbstractConnectionResolver for snake_case equivalents. Thanks @​justlevine!

Chores / Bugfixes

  • #3095: chore: lint for superfluous whitespace. Thanks @​justlevine!
  • #3100: fix: recursion issues with interfaces
  • #3082: chore: prepare ConnectionResolver classes for v2 backport

1.23.0

New Features

  • #3073: feat: expose hasPassword and password fields on Post objects. Thanks @​justlevine!
  • #3091: feat: introduce actions and filters for GraphQL Admin Notices

Chores / Bugfixes

1.22.1

Chores / Bugfixes

  • #3067: fix: respect show avatar setting
  • #3063: fix: fixes a bug in cursor stability filters that could lead to empty order
  • #3070: test(3063): Adds test for #3063

... (truncated)

Commits
  • 88af688 Merge pull request #3102 from wp-graphql/release/v1.24.0
  • 545cc52 Merge commit 'a6173b658dea998bf4735c4f418eada25a481615' into release/v1.24.0
  • b3d6d23 - update versions, changelog, upgrade notice for release
  • a6173b6 Merge pull request #3095 from justlevine/chore/superfluous-whitespace
  • 4032c4c - composer fix-cs
  • 36b9475 Merge commit '2d5c97efcbb1e679bd83c5b743810fbf0f87432d' into chore/superfluou...
  • 2d5c97e Merge pull request #3101 from wp-graphql/chore/connection-resolvers-cleanup
  • f7309af Merge pull request #3083 from wp-graphql/dev/cr2-backport/deprecate-camelcased
  • 89491b6 Merge commit '0504a22b5ff0f6fb7dc960cf669b03873543f572' into dev/cr2-backport...
  • 0504a22 Merge pull request #3085 from wp-graphql/dev/prepare_page_info
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
wp-graphql/wp-graphql [>= 1.14.a, < 1.15]
wp-graphql/wp-graphql [>= 1.13.a, < 1.14]
wp-graphql/wp-graphql [>= 1.16.a, < 1.17]
wp-graphql/wp-graphql [>= 1.20.a, < 1.21]
wp-graphql/wp-graphql [>= 1.21.a, < 1.22]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wp-graphql/wp-graphql](https://github.com/wp-graphql/wp-graphql) from 1.12.0 to 1.24.0.
- [Release notes](https://github.com/wp-graphql/wp-graphql/releases)
- [Changelog](https://github.com/wp-graphql/wp-graphql/blob/develop/CHANGELOG.md)
- [Commits](wp-graphql/wp-graphql@v1.12.0...v1.24.0)

---
updated-dependencies:
- dependency-name: wp-graphql/wp-graphql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@alexkuc
Copy link

alexkuc commented May 2, 2024

@tn3rb If possible… let's action this.

The current version of wpgraph is 1.12:

https://github.com/eventespresso/cafe/blob/9f86cc4fb649a4192852aa09be90ddc806e8729e/plugins/event-espresso-core/composer.json#L38

https://github.com/eventespresso/cafe/blob/9f86cc4fb649a4192852aa09be90ddc806e8729e/plugins/event-espresso-core/composer.lock#L749-L750

created in Oct 10, 2022.

There is one possible breaking change which I can investigate. If we proceed, it would nicely tie in with Barista's issue for reviewing GraphQL types.

Additionally, there is minor updating required for the PHP. I can do _both.

Why both? Since the backend (PHP) feeds the frontend (TS/React), it would allow me to become more familiar with how GraphQL is configured since, after all, we do use custom types on it.

I won't proceed with anything for now, I'll wait for your decision.

@tn3rb
Copy link
Member

tn3rb commented May 2, 2024

we'll need to update the WP GQL version in the Cafe monorepo. This is the legacy core repo and is only used now for public access to core. All development and updates happen in Cafe now, so we can create a branch there for updating WP GQL.

@alexkuc
Copy link

alexkuc commented May 2, 2024

Yeah, I can do that. Is it okay for me to proceed with PR for updating GraphQL in cafe monorepo?

@tn3rb
Copy link
Member

tn3rb commented May 2, 2024

absolutely dude

@alexkuc
Copy link

alexkuc commented May 30, 2024

Will be implemented in https://github.com/eventespresso/cafe/issues/1281 hence closing this issue

@alexkuc alexkuc closed this May 30, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 30, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/wp-graphql/wp-graphql-1.24.0 branch May 30, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants