Blog
Blog entries, ordered by published date
π Gato GraphQL v1.0 is finally out!
After a really long time (spanning several years), development of the Gato GraphQL plugin has finally reached v1.0! Yaaaaaaaaaaay ππΎππ₯³π»ππ₯ππ Alongside the release, we have also launched this current website, gatographql.com. The plugin has been... Read more
π₯³ GraphQL API v0.10 has been released
Version 0.10 of the GraphQL API for WordPress has been released! π This version: Completes the customization of data via the Schema Configuration Adds more documentation Browse the release notes in GitHub. ππΌ Download GraphQL API for WordPress v0.10... Read more
π€ Why did the new GraphQL API take 1.5 years to be released?
Version 0.9 of the GraphQL API for WordPress was just released. It took almost 1.5 years of development, and over 16000 commits, to be ready. That's a long time indeed! Upon sharing the announcement on Hacker News, I got the following question: [...] I'm... Read more
π₯³ GraphQL API v0.9 has been released!
After almost 1.5 years of development, and over 16000 commits, a new version of the GraphQL API for WordPress has been finally released! π₯³ Click here to go to the downloads page Version 0.9 is the biggest release in the history of the plugin. Here is the... Read more
π€ Should GraphQL Be Different for Different Users?
GraphQL is an interface to retrieve data from some origin, with the GraphQL spec defining the requirements for the interface. As long as these requirements are satisfied, GraphQL does not care how it is accomplished. The GraphQL server can then be... Read more
π ββοΈ Why GraphQL should not be in WordPress core
Yep, you read that title correctly. Even though I am myself the creator of a GraphQL server for WordPress, I've changed my mind concerning if WordPress should ship with GraphQL or not. Until not long ago, I believed that GraphQL should be in WordPress... Read more
π Released new version 0.8 of the GraphQL API for WordPress!
Version 0.8 of the GraphQL API for WordPress is now available for download! π This is a huge release, which focuses on three areas: Refactoring the codebase to enable extensions Further satisfying the GraphQL specification Completing the GraphQL schema... Read more
β When to use WPGraphQL, and when the GraphQL API for WordPress?
A few days ago, I published an article on Smashing Magazine: Making GraphQL Work In WordPress. This article answers, from my own point of view (but objectively, I believe), the following questions: β When should we use WPGraphQL, and when the GraphQL API... Read more
πΈ How and Where can GraphQL improve WordPress, complementing the REST API
Last weekend I published blog post π¦ΈπΏββοΈ The GraphQL API for WordPress is now transpiled from PHP 8.0 to 7.1. After sharing the post on Reddit's /r/php, the community started a lively discussion on how worth it is using GraphQL in WordPress, how... Read more
π¦ΈπΏββοΈ The GraphQL API for WordPress is now transpiled from PHP 8.0 to 7.1
Some time ago, I wrote about the art of transpiling PHP code: Transpiling PHP code from 8.0 to 7.x via Rector Coding in PHP 7.4 and deploying to 7.1 via Rector and GitHub Actions Transpiling PHP code enables to use the latest PHP features for development,... Read more
ππ½ββοΈ Why to support CMS-agnosticism, the GraphQL API was split to ~90 packages, and benefits and drawbacks of this approach
Last week I published article ππ»ββοΈ Why the GraphQL API needs a Monorepo, and How it's optimized, explaining how and why the GatoGraphQL/GatoGraphQL monorepo, which hosts the code for the GraphQL API for WordPress, can manage the plugin's codebase... Read more
ππ»ββοΈ Why the GraphQL API needs a Monorepo, and How it's optimized
A few days ago I published article Hosting all your PHP packages together in a monorepo, explaining why we may want to use a monorepo to manage our PHP codebase, and how to do it via the Monorepo Builder. Here I'd like to complement that article,... Read more
π WPMRR Podcast: Growing a Powerful Decoupled WordPress Solution
Joe Howard, host from the WPMRR podcast, interviewed me (Leonardo Losoviz) for his show. We talked about many things, mostly concerning decoupled WordPress (and GraphQL in particular), and the ongoing challenges of the business of building a plugin. I... Read more
π¬ Proposing a new approach for 'Gutenberg and Decoupled Applications'
A few days ago, WPGraphQL's creator Jason Bahl published Gutenberg and Decoupled Applications, analyzing the benefits and shortcomings of 3 approaches to integrating GraphQL with Gutenberg. A week earlier, he had also said on Twitter that the GraphQL API... Read more
π·π½ββοΈ Building the GraphQL API in the Open #1 (March '21)
Welcome to the very first "Building in the Open" newsletter! This is a channel to share news concerning the development of the GraphQL API for WordPress with the community, sent the first week of each month. Through this space, we will learn... Read more
π Should WordPress have a GraphQL API in core?
WordPress 5.7 is coming out soon. As it has been for many releases now, the WP REST API will also be shipping several new features. Among the new features, one caught my attention: "Image Editor Accepts a List of Modifiers". The... Read more
π₯ GraphQL API vs WPGraphQL: the fight!
Ladiessssssssssss, and gentlemen. Welcome to the MGM Grand Garden Arena for the bout of the century! Tonight, we are making history. Two young fighters will face each other out in the ring, clashing for the prize they have worked so hard for: To become... Read more
π¨π»βπ» Demoing the GraphQL API for WordPress
Yesterday I talked about GraphQL on WordPress, for WordCamp India 2021. I explored these topics: ππ½ What is GraphQL? ππ½ How is it different from REST? ππ½ How do we use it with WordPress? Alongside, I did a demo of the GraphQL API for WordPress... Read more
πΆπ» Rejuvenating WordPress through GraphQL
WordPress is a legacy CMS: having been invented over 17 years ago, it's filled with PHP code that, given a new chance, it would be coded in a different way. GraphQL is a modern interface to access data. Please notice the word "interface": it... Read more
πΎ GraphQL API for WordPress is now scoped, thanks to PHP-Scoper!
Plugin GraphQL API for WordPress is now scoped. This means the plugin can be finally uploaded to the WordPress plugin directory. To do it, I'm using the wonderful PHP-Scoper. Using this library with WordPress does not go without its challenges, so I'll... Read more
π Released GraphQL API v0.7, with support for mutations, and nested mutations!
Version 0.7 of the GraphQL API for WordPress, supporting mutations, and nested mutations, has been released! π Here is a tour showing the new additions. 1. Mutations! π GraphQL mutations enable to modify data (i.e. perform side-effect) through the... Read more