Blog

Blog entries, ordered by published date

  1. πŸŽ‰ 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

  2. πŸ₯³ 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

  3. πŸ€” 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

  4. πŸ₯³ 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

  5. πŸ€” 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

  6. πŸ™…β€β™€οΈ 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

  7. πŸš€ 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

  8. ❓ 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

  9. πŸ•Έ 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

  10. πŸ¦ΈπŸΏβ€β™‚οΈ 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

  11. πŸ’πŸ½β€β™‚οΈ 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

  12. πŸ’πŸ»β€β™€οΈ 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

  13. πŸŽ™ 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

  14. πŸ’¬ 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

  15. πŸ‘·πŸ½β€β™‚οΈ 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

  16. πŸ›  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

  17. πŸ₯Š 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

  18. πŸ‘¨πŸ»β€πŸ’» 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

  19. πŸ‘ΆπŸ» 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

  20. 🍾 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

  21. πŸŽ‰ 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