wp-graphql

GraphQL API for WordPress

GPL-3.0 License

Downloads
304.7K
Stars
3.6K
Committers
154

Bot releases are visible (Hide)

wp-graphql - Release v1.1.8

Published by github-actions[bot] over 3 years ago

Release Notes

Bugfixes / Chores

  • Fix release asset url in Github action.
wp-graphql - Release v1.1.7

Published by github-actions[bot] over 3 years ago

Release Notes

Bugfixes / Chores

  • (#1723) Fix release upload url in Github action.
wp-graphql - v1.1.6

Published by github-actions[bot] over 3 years ago

Release Notes

Bugfixes / Chores

  • (#1723) Fix CI Schema Linter action. Thanks @szepeviktor!
  • (#1722) Update PR Template message. Thanks @szepeviktor!
  • (#1730) Updates redundant test configuration in Github workflow. Thanks @szepeviktor!
wp-graphql - v1.1.5

Published by jasonbahl over 3 years ago

Release Notes

Bugfixes / Chores

  • (#1718) Simplify the main plugin file to adhere to more modern WP plugin standards. Move the WPGraphQL class to it's own file under the src directory. Thanks @szepeviktor!
  • (#1704) Fix end tags for inputs on the WPGraphQL Settings page to adhere to the w3 spec for inputs. Thanks @therealgilles!
  • (#1706) Show all content types in the ContentTypeEnum, not just public ones. Thanks @ljanecek!
  • (#1699) Set default value for 2nd paramater on Tracker->get_info() method. Thanks @SpartakusMd!
wp-graphql - v1.1.4

Published by jasonbahl over 3 years ago

Release Notes

Bugfixes

  • (#1715) Updates WPGraphQL\Type\Object namespace to be WPGraphQL\Type\ObjectType to play nice with newer versions of PHP where Object is a reserved namespace.
  • (#1711) Updates regex in phpstan.neon.dist. Thanks @szepeviktor!
  • (#1719) Update to backtrace that is output with graphql_debug messages to ensure it includes a file key in the returned array, before returning the trace. Thanks @kidunot89!
wp-graphql - v1.1.3

Published by jasonbahl over 3 years ago

Release Notes

Bugfix

  • (#1693) Clear global user in the Router in case plugins have attempted to set the user before API authentication has been executed. Thanks @therealgilles!
  • (#1691) Fix link to Contributing.md in the README. Thanks @therealgilles!

New

  • (#972) graphql_pre_model_data_is_private filter was added to the Abstract Model.php allowing Model's is_private() check to be bypassed. Thanks for your work on this @CodeProKid @zacscott!
wp-graphql - v1.1.2

Published by jasonbahl almost 4 years ago

Release Notes

Bugfixes

  • (#1676) MenuItems are stored in the post table and should use the post loader. To use the post loader properly, the menu item IDs should be encoded as post:$id but were encoded as nav_menu_item:$id which breaks the principles of the Relay spec. This fixes that. MenuItems now output ids encoded as post:$id
wp-graphql - v1.1.1

Published by jasonbahl almost 4 years ago

Release Notes

Bugfix

  • (#1670) Fixes a bug with querying pages that are set as to be the posts page
wp-graphql - v1.1.0

Published by jasonbahl almost 4 years ago

Release Notes

This release is centered around updating code quality by implementing PHPStan checks. PHPStan is a tool that statically analyzes PHP codebases to detect bugs. This release centers around updating Docblocks and overall code quality, and implements automated tests to check code quality on every pull request.

New

  • Update PHPStan (Code Quality checker) to v0.12.64
  • Increases PHPStan code quality checks to Level 8 (highest level).

Bugfixes

  • (#1653) Fixes bug where WPGraphQL was explicitly setting has_published_posts on WP_Query but WP_Query does this under the hood already. Thanks @jmartinhoj!
  • Fixes issue with Comment Model returning comments that are not associated with a Post object. Comments with no associated Post object are not public entities.
  • Update dockblocks to be compatible with PHPStan Level 8.
  • Removed some uncalled code
  • Added early returns in some places to prevent unnecessary added execution
wp-graphql - v1.0.5

Published by jasonbahl almost 4 years ago

Release Notes

New

  • Updates GraphQL-PHP from v14.3.0 to v14.4.0
  • Updates GraphQL-Relay-PHP from v0.3.1 to v0.5.0

Bugfixes

  • Fixes a bug where CI Tests were not passing when code coverage is enabled
  • (#1633) Fixes bug where Introspection Queries were showing fields with no deprecationReason as deprecated because it was outputting an empty string instead of a null value.
  • (#1627) Fixes bug where fields on the Model called multiple times might weren't being set properly
  • Updates Theme tests to be more resilient for WP Core updates where new themes are introduced
wp-graphql - v1.0.4

Published by jasonbahl almost 4 years ago

Release Notes

Bugfixes

  • Fixes a regression to previews introduced by v1.0.3
wp-graphql - v1.0.3

Published by jasonbahl almost 4 years ago

Release Notes

Bugfixes

  • (#1623): Queries for single posts will only return posts of that post_type
  • (#1624): Passes Menu Item Labels through html_entity_decode
wp-graphql - v1.0.2

Published by jasonbahl almost 4 years ago

Release Notes

Bugfixes

  • fix issue with using the count() function on potentially not-countable value
  • fix bug where post_status was being checked instead of comment_status
  • fix error message when restoring a comment doesn't work
  • (#1610) fix check to see if current user has permission to update another Author's post. Thanks @maximilianschmidt!

New Features

  • (#1608) move connections from each post type->contentType to be ContentNode->ContentType. Thanks @jeanfredrik!
  • pass status code through as a param of the graphql_process_http_request_response action
  • add test for mutating other authors posts
wp-graphql - v1.0.1

Published by jasonbahl almost 4 years ago

Release Notes

Breaking Changes

  • n/a

Bugfixes

  • (#1589) Fixes a php type bug in TypeRegistry.php. Thanks @szepeviktor!
  • Fixes bug with how GraphQL PHP Debug flags are set.
  • (#1598) Fixes bug where Post Types registered with the same graphql_single_name and graphql_plural_name are the same value.
  • (#1615) Fixes bug where fields added to the Schema that that were using get_post_meta() for Previews weren't always resolving properly.

New Features

  • Adds a setting to allow users to opt-in to tracking active installs of WPGraphQL.
  • Removed old docs that used to be in this repo as markdown. Docs are now written in WordPress and the wpgraphql.com is a Gatsby site built from the content in WordPress and the code in this repo. Looking to contribute content to the docs? Open an issue on this repo or the wpgraphql.com repo and we'll work with you to get content updated. We have future plans to allow the community to contribute by writing content in the WordPress install, but for now, Github issues will do.
wp-graphql - v1.0

Published by jasonbahl almost 4 years ago

WPGraphQL v1.0 🥳 🎉 🍰 🎈 🍾

excited

This release contains no technical changes.

Read the announcement: https://www.wpgraphql.com/2020/11/16/announcing-wpgraphql-v1/

Closes #1357

wp-graphql - v0.15.5

Published by jasonbahl almost 4 years ago

Release Notes

New Features

  • (#1582) Add parentId and parentDatabaseId to Comment Type and Model to better support working with hierarchical data
  • (#1580) Adds automated docker tests to test with WordPress 5.5.3
wp-graphql - v0.15.4

Published by jasonbahl almost 4 years ago

Release Notes

This release updates the README.md and README.txt to prepare the plugin for deploying to the WordPress.org plugin repo.

There is no change in functionality to the GraphQL API in this release.

wp-graphql - v0.15.3

Published by jasonbahl almost 4 years ago

Release Notes

New Features

  • (#1577) adds deploy workflow to deploy WPGraphQL to WordPress.org repo when new releases are tagged

Bugfixes

  • (#1576) Fixes some escaping/sanitization issues reported by WordPress.com VIP. Thanks for the work on these fixes @henrikwirth and @oriooctopus!
wp-graphql - v0.15.2

Published by jasonbahl almost 4 years ago

Release notes

New Features

  • (#1573) fixes #1123 by making the clientMutationId optional for mutations.
  • (#1564) fallback added for TypeRegistry->get_connection_name(). Thanks @kidunot89!
wp-graphql - v0.15.1

Published by jasonbahl almost 4 years ago

Release Notes

New Features

  • (#1546) adds new graphql_cursor_ordering_field filter for customizing cursor ordering. Thanks @jacobarriola!

Bugfixes

  • (#1570): Fixes #1532, where menu items were returning full paths for sites using a different front-end url
  • (#1570): Fixes #1565 where tracing timestamp occasionally returned an integer and caused php warnings
  • (#1558, #1562, #1560, #1559): Adds PHPStan code quality checks, and various updates to composer config and CI updates. Thanks @szepeviktor!
Package Rankings
Top 0.97% on Packagist.org
Top 6.68% on Proxy.golang.org
Badges
Extracted from project README
Total Downloads Monthly Downloads Daily Downloads Latest Stable Version License Actions Status Actions Status Coverage Status Backers on Open Collective Sponsors on Open Collective
Related Projects