Install

Works with Drupal: ^10.2 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 39.84 KB
MD5: 299fe4b67c5a38afce6a50102445d539
SHA-1: 0323437757ad4411724251cda21dbc84ca1b7a4c
SHA-256: b25063ca80ca963e9d987c693364ee05e9a1eb266ff96ce6337cd47bbde9ebee
Download zip 87.61 KB
MD5: c02d5079a98ddb35e1e3d557c4448a1c
SHA-1: 713d97371e5bd33c740ecdee0a3cf728bc08dfe7
SHA-256: 627b8cf07f68239057e3cbe8d372e643f8d8ced11c70b06bebcb9bf5ff6d64cc

Release notes

Adds support for PHP attributes and configurable authentication (cookie auth is now possible).

Contributors (6)

bradjones1, cspitzlay, e0ipso, fadonascimento, frob, ptmkenny

Changelog

Issues: 19 issues resolved.

Changes since 2.1.2 (compare):

Bug

  • #3473362 by ptmkenny, cspitzlay: Crash when method with optional description specified for a parameter is called
  • #3473531 by ptmkenny, cspitzlay: Crash on jsonrpc/methods route
  • #3474318 by ptmkenny: Drupal 11: No supported normalizer found
  • #3475910 by ptmkenny: Handler doExecution return type should include bool and float

Feature

  • #3284838 by ptmkenny, frob, cspitzlay: User-configurable authentication (add cookie + jwt_auth)
  • #3471306 by ptmkenny, frob: Add Drush generator to create JSON-RPC plugins

Task

  • #3471349 by ptmkenny: Add types for properties and arguments
  • #3471922 by ptmkenny: Add types for return functions
  • #3216615 by ptmkenny, e0ipso, fadonascimento: [PP] 'object' is a reserved keyword as of PHP version 7.2 and should not be used in namespaces
  • #3472101 by ptmkenny, bradjones1: Remove 2.x deprecations from 3.x
  • #3473712 by ptmkenny: Add a test for jsonrpc_discovery that verifies the methods returned
  • #3476351 by ptmkenny: Coding standards update (use statements and nullables)
  • #3481911 by ptmkenny: Update GitLab CI tests now that Drupal 11 is the default
  • #3481908 by ptmkenny: Use constructor property promotion
  • #3483666 by ptmkenny: Require PHP 8.3 and apply Drupal rector fixes
  • #3484262 by ptmkenny: Miscellanous type fixes
  • #3537061 by ptmkenny: GitLab CI changes are causing phpunit tests to be reported as risky
  • #3537063 by ptmkenny: phpcs: Drupal.NamingConventions.ValidEnumCase.NoUpperAcronyms
  • #3471347 by ptmkenny: Add support for PHP attributes
Created by: ptmkenny
Created on: 21 Jul 2025 at 10:58 UTC
Last updated: 21 Jul 2025 at 11:01 UTC
Bug fixes
New features

Other releases