We like to announce the next version 6.1 of Fusio. This release introduces a new trigger concept and we have implemented the JsonRPC and GraphQL protocol which help to use Fusio in different environments. The great thing about these new protocols is that our users get this JsonRPC or GraphQL support for free, there is no need to change anything, since we expose only the existing operations. We now experience the advantages of our operation based approach from our past decisions. The following list covers all important features of this release:
-
Added new trigger concept to invoke an action through an event #359
It is now possible to define a trigger, a trigger invokes an action in case an event occurs. This allows to decouple logic in your actions, for example you could create an action
fetch-latest-newswhich triggers an event and an actionsend-news-per-mailwhich sends the actual news per mail and through a trigger you could invoke this action. Decoupling this is a really powerful way to build more complex systems. -
Added JsonRPC server #650
We have implemented a JsonRPC server which can be used to invoke every operation through JsonRPC. JsonRPC is a great simple protocol which is widely used i.e. at BitCoin (and crypto in general), LSP or MCP. For most cases we recommend to use REST API endpoints but in some circumstances it could be beneficial to use JsonRPC. At your API the endpoint is available at
/jsonrpc. To use this endpoint you need to enable the JsonRPC server at the configuration.php file s.fusio_jsonrpcby default this is disabled. -
Added GraphQL server #649
We have implemented a GraphQL server which provides a way to invoke an operation through GraphQL. Our GraphQL implementation is readonly this means you can use it only to query data, mutations are not supported. We expose every GET operation as query which can be used at a frontend to create custom views. If your action gets invoked through GraphQL the action receives a GraphQL context which contains also all fields from the query so you could also adjust the actual query. At your API the endpoint is available at
/graphql. To use this endpoint you need to enable the GraphQL server at the configuration.php file s.fusio_graphqlby default this is disabled. -
Added OIDC discovery #648
We have added the
/.well-known/openid-configurationendpoint which helps to automatically discover the OpenID configuration. -
Implemented OpenRPC specification #306
Since we have now JsonRPC support we have also implemented the OpenRPC specification which basically describes all available operations and types.
-
Updated handling of public operations with invalid access token
Previously if you have provided an invalid access token for a public endpoint you would get an error message, now we still allow the access to public endpoints even if the access token is invalid, since the request would work without access token.
-
Possibility to configure SDKgen credentials at settings
At the system setting it is now possible to configure the SDKgen credentials.
-
Add option to resend the user activation code #642
At the user details there is now a new button to resend the activation code.
If you want to provide some feedback take a look at our GitHub discussions or issues page.
Best regards
Christoph