For installation instructions check out the getting started guide.
Added
- The
-e/--env-file
cli flag can now be specified multiple times. - New
studio pull
cli subcommand for running Benthos Studio session deployments. - Metadata field
kafka_tombstone_message
added to thekafka
andkafka_franz
inputs. - Method
SetEnvVarLookupFunc
added to the stream builder API. - The
discord
input and output now use the official chat client API and no longer rely on poll-based HTTP requests, this should result in more efficient and less erroneous behaviour. - New bloblang timestamp methods
ts_add_iso8601
andts_sub_iso8601
. - All SQL components now support the
trino
driver. - New input codec
csv-safe
. - Added
base64rawurl
scheme to both theencode
anddecode
Bloblang methods. - New
find_by
andfind_all_by
Bloblang methods. - New
skipbom
input codec. - New
javascript
processor.
Fixed
- The
find_all
bloblang method no longer produces results that are of anunknown
type. - The
find_all
andfind
Bloblang methods no longer fail when the value argument is a field reference. - Endpoints specified by HTTP server components using both the general
http
server block or their own custom server addresses should now be treated as path prefixes. This corrects a behavioural change that was introduced when both respective server options were updated to support path parameters. - Prevented a panic caused when using the
encrypt_aes
anddecrypt_aes
Bloblang methods with a mismatched key/iv lengths. - The
snowpipe
field of thesnowflake_put
output can now be omitted from the config without raising an error. - Batch-aware processors such as
mapping
andmutation
should now report correct error metrics. - Running
benthos blobl server
should no longer panic when a mapping with variable read/writes is executed in parallel. - Speculative fix for the
cloudwatch
metrics exporter rejecting metrics due tominimum field size of 1, PutMetricDataInput.MetricData[0].Dimensions[0].Value
. - The
snowflake_put
output now prevents silent failures under certain conditions. Details here. - Reduced the amount of pre-compilation of Bloblang based linting rules for documentation fields, this should dramatically improve the start up time of Benthos (~1s down to ~200ms).
- Environment variable interpolations with an empty fallback (
${FOO:}
) are now valid. - Fixed an issue where the
mongodb
output wasn't using bulk send requests according to batching policies. - The
amqp_1
input now falls back to accessingMessage.Value
when the data is empty.
Changed
- When a config contains environment variable interpolations without a default value (i.e.
${FOO}
), if that environment variable is not defined a linting error will be emitted. Shutting down due to linting errors can be disabled with the--chilled
cli flag, and variables can be specified with an empty default value (${FOO:}
) in order to make the previous behaviour explicit and prevent the new linting error. - The
find
andfind_all
Bloblang methods no longer support query arguments as they were incompatible with supporting value arguments. For query based arguments use the newfind_by
andfind_all_by
methods.
The full change log can be found here.