News KrakenD EE v2.8 released: Configurable logging, Redis-backed rate limits, Lua, YAML encoding and more

Product Updates

3 min read

KrakenD 2.1 released!

by Albert Lombarte

The KrakenD team is pleased to announce the release of KrakenD 2.1. You can get it packaged from the download page.

KrakenD 2.1 brings a new ready-to-use Kibana dashboard, an updated Grafana Dashboard for InfluxDB v2 and more features and bugfixes described below:

🚀 Summary of changes for CEv2.1

KrakenD 2.1 brings a new ready-to-use Kibana dashboard, an updated Grafana Dashboard for InfluxDB v2 and more features and bugfixes

  • New repository Telemetry Dashboards, including Kibana, Grafana, Logstash, and Influx v2
  • Added a krakend version command that outputs the KrakenD, Go, and Glibc versions.
  • Added allow_insecure_connections flag to ease development stages that use self-signed certificates.
  • Customizable response body for 404 and 405 errors
  • Added context propagation between Handler plugins and KrakenD Client plugins
  • Added capacity and client_capacity (token bucket size) to router rate limit, previously only on backend rate limit.
  • Added capacity and client_capacity (token bucket size) to router rate limit, previously only on backend rate limit.
  • Easier logging to disk or remote server logging via the configurable syslog facility
  • More logging consistency (Bot detector, Bloom filter, Gologging)
  • Better control of errors when GELF is failing
  • Influx client not initialized during startup randomly (namespace collision being the cause)
  • The check-plugin command could panic when analyzing malformed files.

Upgrading to the latest version is always advised.

The new git repository Telemetry Dashboards includes:

Youtube channel!

We have started to create video content on our KrakenD API Gateway channel on youtube, subscribe!

Changelog

List of all changes in KrakenD Community Edition and its krakend packages in use between v2.0.6 and v2.1.0

Changes in KrakenD-CE

  • colons should be allowed in the error body
  • Upgrade alpine version. Go mod tidy.
  • Add labeler bot
  • remove colliding alias
  • Be able to configure through the router extra config the NoRoute and NoMethod handlers to return a custom json as body.
  • Log the start of the improved logging only if no errors are present.
  • Set the gelfWriter to nil if there’s an error in gelf since if you return an interface that have an underlying pointer it’s never nil.
  • Gologging should not log an error if the configuration is not present. Log the succesful start of the component.
  • Add rsyslog and logrotate configuration files and as depencencies of the deb and rpm packages.
  • Systemd: remove invalid reload command and add a graceful shutdown

Changes in krakend-botdetector

  • Avoid aborting with an error. Pass the logger and log the error like in the mux implementation.

Changes in krakend-cobra

  • Skip line if it’s empty to avoid panic.
  • Update descriptions of commands
  • Dump Go and Glib versions also.
  • Remove unused versionFunc args
  • Add a command that shows only the KrakenD version number

Changes in krakend-gologging

  • Add syslog severity from the level
  • Add the syslog facility instead of using the default (KERN). Add a FormatterSelector for syslog with custom format. Default facility set to LOCAL3

Changes in krakend-influx

  • logs normalized
  • Consistent log prefix across executor and components

Changes in krakend-ratelimit

  • fix regression if no capacity is defined
  • capacity added to the router and service config levels
Categories: Product Updates
Scarf

Stay up to date with KrakenD releases and important updates