posted by chriskapp on
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:
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-news
which triggers an event
and an action send-news-per-mail
which 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.
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_jsonrpc
by default this is disabled.
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_graphql
by default this is disabled.
We have added the /.well-known/openid-configuration
endpoint which helps to automatically discover the OpenID configuration.
Since we have now JsonRPC support we have also implemented the OpenRPC specification which basically describes all available operations and types.
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.
At the system setting it is now possible to configure the SDKgen credentials.
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