Vector v0.40.0 release notes

The Vector team is pleased to announce version 0.40.0!

Be sure to check out the upgrade guide for breaking changes in this release.

This release contains a mix of enhancements and bug fixes. See the changelog below.

Upgrading Vector
When upgrading, we recommend stepping through minor versions as these can each contain breaking changes while Vector is pre-1.0. These breaking changes are noted in their respective upgrade guides.

Highlights

Known issues

  • A regression in the reduce transform caused it to not group top level objects correctly (see #21065). This is fixed in v0.40.1.
  • A regression in the reduce transform caused it to not reduce events containing keys with special characters correctly (see #21165). This is fixed in v0.40.2.

Changelog

8 enhancements

  • VRL was updated to v0.17.0. This includes the following changes:

    Breaking Changes & Upgrade Guide

    • parse_logfmt now processes 3 escape sequences when parsing: , " and \. This means that for example, in the input will be replaced with an actual newline character in parsed keys or values. (https://github.com/vectordotdev/vrl/pull/777)
  • Improves GcpAuthenticator token regeneration to avoid encountering 401 responses when a tick is missed. Thanks to garethpelly for contributing this change!
  • Introduced support for decoding InfluxDB line protocol messages, allowing these messages to be deserialized into the Vector metric format. Thanks to MichaHoffmann sebinsunny for contributing this change!
  • The AWS S3 source can now be configured with the optional timeout settings: sqs.read_timeout_seconds, sqs.connect_timeout_seconds, and sqs.operation_timeout_seconds. Thanks to andjhop for contributing this change!
  • The statsd source now has a configuration option to disable key sanitization: sanitize. The default is true to maintain backwards compatibility. Thanks to to-m for contributing this change!
  • Allow the datadog_agent source to accept payloads that have been compressed with zstd.
  • The demo_logs source now adds host (or the configured log_schema.host_key) with the value of localhost to emitted logs.
  • The vector tap command now has an optional duration_ms flag that allows you to specify the duration of the tap. By default, the tap will run indefinitely, but if a duration is specified (in milliseconds) the tap will automatically stop after that duration has elapsed. Thanks to ArunPiduguDD for contributing this change!

1 new features

  • Add possibility to use NATS JetStream in NATS sink. Can be turned on/off via jetstream option (default is false). Thanks to whatcouldbepizza for contributing this change!

7 bug fixes

  • Proxy configuration now supports URL-encoded values.
  • Batching records for AWS Kinesis Data Streams and AWS Firehose became independent of the partition key, improving efficiency significantly. Thanks to steven-aerts for contributing this change!
  • The kafka source does not deadlock or cause consumer group rebalancing during vector validate. Thanks to jches for contributing this change!
  • Loki sink now drops events with non-parsable timestamps. Thanks to suikammd for contributing this change!
  • Fixes sink retry parameter validation to prevent panic at runtime. Thanks to dhable for contributing this change!
  • Templates using strftime format specifiers now correctly use the semantic timestamp rather than always looking for the log_schema timestamp. This is required when log_namespacing is enabled.
  • The set_secret and remove_secret VRL functions no longer complain about their return value not being consumed. These functions don’t return any value.

Download Version 0.40.0

macOS
tar.gz
Windows
zip
Windows (MSI)
msi