posted by chriskapp on
We like to announce version 0.1.7 of Fusio. This release contains some really great changes which we will cover in this post.
The adapter system provides a way to extend and configure Fusio. So there are two usecases for an adapter. The first is to extend the system by providing new connection and action classes. The second is to provide an easy way to configure an API for a 3rd party system. Take a look at the definition reference to get a first impression of the adapter format.
With this release we have introduced a lock manager which locks all schemas and actions which are used by a production route. This ensures that it is not possible to change the behaviour of an API endpoint once it in the status production.
We have added the following actions to the system:
Fusio\Impl\Action\HttpProxy
This action is similar to the HttpRequest
action
except that it parses and redirects the response of the request.
Fusio\Impl\Action\MongoDelete
Fusio\Impl\Action\MongoFetchAll
Fusio\Impl\Action\MongoFetchRow
Fusio\Impl\Action\MongoInsert
Fusio\Impl\Action\MongoUpdate
Actions to create, receive, update or delete data from a MongoDB
Fusio\Impl\Action\Processor
Provides a simple way to configure and execute multiple actions through a YAML syntax.
Fusio\Impl\Action\Transform
The transform action applies JSON patch operations an the request data.
Fusio\Impl\Action\Validator
Through this action it is possible to apply custom validators for specific fields.
We use now a RandomLib to generate better access tokens.
Previously the available action and connection classes were defined in the
configuration.php
. With this release we have moved the list in to
a database table so that adapter can easily extend the list with 3rd party
implementations.
In order to upgrade from a 0.1.6 installation you have to replace all
existing files with the new ones. After this you can run php bin/fusio install
to upgrade your database schema to the 0.1.7 version.
Have fun with this release!