Skip to content

2.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Oct 13:50
Immutable release. Only release title and notes can be modified.
2.6.0
d053a1f

Release notes

Clio, an XRP Ledger API server optimized for HTTP and WebSocket API calls, is under active development.

This release adds new features and bug fixes.

Proxy Support

Clio now supports extracting the client's original IP address from the Forwarded HTTP header. This behavior is enabled only if the request meets one of the following conditions:

  • The request originates from an IP address defined in the server.proxy.ips configuration list.
  • The request includes an X-Proxy-Token header, and its value matches a token specified in the server.proxy.tokens configuration list.

Logger changes

In this release, there are significant changes to the logging system and log configuration.

Clio has been migrated from Boost.Log to spdlog, which offers better performance and maintainability. Additionally, the configuration schema has been restructured to group all logging-related settings under a single log object.

Some additional resources:

Configuration Migration Required:

  • log_formatlog.format, also changed from Boost.Log format to spdlog format patterns, please see the documentation
  • log.is_async was added; controls whether logging is asynchronous (default: true)
  • log_directory_max_size was removed; replaced by log.directory_max_files
  • log_rotation_hour_interval was removed; time-based rotation is no longer supported
  • log_levellog.level
  • log_to_consolelog.enable_console
  • log_directorylog.directory
  • log_rotation_sizelog.rotation_size
  • log_directory_max_fileslog.directory_max_files
  • log_tag_stylelog.tag_style
  • log_channelslog.channels
  • log_channels.[].log_levellog.channels.[].level

Config validation

Now, Clio will fail to start, if a field is present in configuration file, while Clio's config schema doesn't support it.

Whats's changed

🚀 Features

🐛 Bug Fixes

🚜 Refactor

📚 Documentation

⚡ Performance

🎨 Styling

🧪 Testing

⚙️ Miscellaneous Tasks