3 min read
KrakenD 0.7 released
by Albert Lombarte
The most relevant features for the 0.7 release are increased metrics and tracing options, and functionality that has been requested by many, the sequential proxy merger. During this release, we also updated the KrakenD brand with a new logo, and we added more documentation.
On the metrics side, we can now send structured events using GELF to your Graylog Cluster. Opencensus middleware adds new functionality to push metrics to your Google StackDriver account.
The sequential proxy merger is a mechanism that allows you to use cascading calls with your backends to feed endpoints. Meaning that you can call backends, capture the output fields, and use them as the input of subsequent backend queries.
The Krakend Playground and the KrakenDesigner (UI) are also updated.
KrakenD framework
The KrakenD framework continues being stable and complete for the evolution of the gateway. The changes added are:
- Default configuration parser accepts now custom file readers. File formats accepted:
.json
.toml
.yaml
.yml
.properties
.props
.prop
.hcl
- Replace the
http
package bytransport
. Getting ready for gRPC? (oops, spoiler) - Do not close a nil body (on the proxy layer)
- Expose the HTTP server construction
- Delay endpoint method sanitization until required
- Sequential proxy merger
- Add error details into the HTTP response
- Bugfix: HTTP client timeout was set to 15 maximum seconds (no limit now)
- Updated brand, new logo!
Between 0.6 and 0.7, we have published an intermediate release 0.6.1 with:
- Support for HTTP2/HTTPS
- FIX: query string parameters works now with arrays and repeated variables (e.g.:
?a[]=a1&a[]=a2&b=b1&b=b2
) - Added Go 1.11 to the build matrix
Link to 0.7.0 release notes
KrakenD API Gateway
The KrakenD API Gateway binary comes with all the framework updates and bundles more components listed in the krakend-contrib.
The summary of changes is:
- Support for sending structured events in GELF format (Graylog Cluster)
- Added a json schema validator to valid endpoint inputs before reaching the backends
- Added the sequential proxy merger (Use input from a previous backend response)
- Added StackDriver as a new backend for metrics and traces
- Added a usage stats report (can be disabled passing env var
USAGE_DISABLE=1
when starting) - Also, we updated our logo and documentation!
Between 0.6 and 0.7, we have published an intermediate release 0.6.1 with:
- Updated to Go 1.11
- Specific Mac OSX changes to release homebrew with Go 1.11.
- HTTP secure component updated
- Updated bloomfilter to 0.6.1
Link to 0.7.0 release notes
Middleware and other features
New middleware, changes and other components worth mentioning:
- krakend-postman - Create automatic Postman collections from you KrakenD config file
- krakend-jsonschema - Validates the input in endpoints to ensure a valid JSON before reaching the backends.
- Opencensus - Added StackDriver
All the middleware and components are listed in our krakend-contrib repository.
Enjoy KrakenD!