Release notes published October 2019.
GraphQL is a flexible and performant API that allows you to build custom front-ends, including headless storefronts, Progressive Web Apps (PWA), and mobile apps for Magento.
The Magento GraphQL project is a Magento Community Engineering special project open to contributors. To take part and contribute, see the Magento GraphQL repository and wiki to get started. Join us in our Slack channel (or self signup) to discuss the project.
These release notes can include:
- New features
- Fixes and improvements
Magento Commerce and Magento Open Source 2.3.3
GraphQL supports PayPal, Braintree, and Authorize.Net payment methods. You can use mutations to set the payment method, retrieve payment method-specific tokens, and place an order. For details, see the following topics:
- Added support for gift cards: (Magento Commerce only)
- Added the ability to manage store credit: (Magento Commerce only)
- Added the addConfigurableProductsToCart mutation.
Magento Open Source 2.3.2
Added mutations to support the following cart operations and checkout for logged-in and guest customers:
- Add simple products to a cart.
- Add virtual products to a cart.
- Set the shipping address. Address books are supported.
- Set the billing address. Address books are supported.
- Set the shipping method. Supported methods include DHL, FedEx, Flat Rate, Free Shipping, Table Rate, UPS, and USPS.
- Set the payment method. Supported methods include Bank Transfer, Cash on Delivery, Check/Money Order, Purchase Order, and Zero Subtotal Checkout.
- Apply or remove cart coupons.
- Assign an email to a guest cart.
- Place an order.
Added new queries and extended the functionality of others.
isEmailAvailablequery checks whether the specified email address has already been used to create an account.
cartquery can now return information set by mutations that perform cart operations, including product information, shipping and billing addresses, shipping and payment methods, and applied coupons. The query also returns calculated totals.
customerPaymentTokensquery returns the signed-in customer’s payment tokens.
Queries can now be performed as HTTP GET or POST operations.
Magento can use Varnish or full-page caching to cache pages rendered from the results of the following GraphQL queries:
You must send these queries as HTTP GET operations to cache the results.
Magento Open Source 2.3.1
- Added mutations and queries that allow customers to manage My Account information. Specific capabilities include:
- Added functionality to support complex Catalog features. This version supports:
- Specifying absolute image paths for products and including extended image information
- Rendering fields that use WYSIWYG text
- URL rewrites for products
- GraphQL framework enhancements, including:
- Mutations that generate and revoke customer tokens
- Page Builder and WYSIWYG fields support complex structures for PWA scenarios
- Magento now calculates the complexity of queries and mutations and returns an error message if a query or mutation is deemed too complex
- Variable support in queries and mutations
- A query that returns information about a store’s theme and CMS configuration
- GraphQL tests are integrated with Travis CI
- GraphQL browsers now display fields and objects alphabetically