---
title: "vrl 0.40.0 Breaking Changes on crates.io | Since.dev"
description: "What each vrl release removed, renamed or changed: 9 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/vrl
last_updated: 2026-12-04
---

# vrl breaking changes

vrl 0.40.0 (November 30, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed encode_zstd. Every breaking API change we have recorded in vrl on crates.io: 9 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.40.0`, released November 30, 2026. [Source repository](https://github.com/vectordotdev/vrl)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.39.0](#v-0-39-0) to [0.40.0](#v-0-40-0): 2 breaking changes in 1 version.

## vrl 0.40.0 breaking changes

vrl 0.40.0, released November 30, 2026: 2 breaking changes.

- **Behavior changed** `encode_zstd`  

For inputs under 128 KiB, the compressed bytes and their hashes change. Decoders still work, but any stored or compared hashes of encoded output will need to be regenerated. [github.com](https://github.com/vectordotdev/vrl/blob/v0.40.0/CHANGELOG.md)
- **Behavior changed** `ProgramInfo.target_queries`  

get no longer records a query for the whole event, and unnest now records the root of its target. Hosts whose targets prepare only queried fields should call record_target_query in custom functions that read the target directly, or those... [github.com](https://github.com/vectordotdev/vrl/blob/v0.40.0/CHANGELOG.md)

## vrl 0.39.0 breaking changes

vrl 0.39.0, released November 16, 2026: 7 breaking changes.

- **Behavior changed**  

Array indices outside the isize range used to silently wrap to a different index; VRL now returns an error for them, so code relying on the wrapped index must be changed. [github.com](https://github.com/vectordotdev/vrl/blob/v0.39.0/CHANGELOG.md)
- **Signature changed** `vrl::compiler::prelude::ObjectMap`  

Was type ObjectMap = BTreeMap\<KeyString, Value>; now struct ObjectMap. [crates.io](https://crates.io/crates/vrl/0.39.0)
- **Signature changed** `vrl::compiler::value::ObjectMap`  

Was type ObjectMap = BTreeMap\<KeyString, Value>; now struct ObjectMap. [crates.io](https://crates.io/crates/vrl/0.39.0)
- **Signature changed** `vrl::core::encode_key_value::to_string`  

Was fn to_string\<V: Serialize>(input: &BTreeMap\<KeyString, V>, fields_order: &\[KeyString\], key_value_delimiter: &str, field_delimiter: &str, flatten_boolean: bool) -> Result\<String, EncodingError>; now fn to_string<'a, V: Serialize +... [crates.io](https://crates.io/crates/vrl/0.39.0)
- **Signature changed** `vrl::core::encode_logfmt::encode_map`  

Was fn encode_map\<V: Serialize>(input: &BTreeMap\<KeyString, V>) -> Result\<String, EncodingError>; now fn encode_map<'a, V: Serialize + 'a>(input: impl IntoIterator\<Item = (&'a KeyString, &'a V)> + 'a) -> Result\<String, EncodingError>. [crates.io](https://crates.io/crates/vrl/0.39.0)
- **Signature changed** `vrl::value::ObjectMap`  

Was type ObjectMap = BTreeMap\<KeyString, Value>; now struct ObjectMap. [crates.io](https://crates.io/crates/vrl/0.39.0)
- **Signature changed** `vrl::value::value::ObjectMap`  

Was type ObjectMap = BTreeMap\<KeyString, Value>; now struct ObjectMap. [crates.io](https://crates.io/crates/vrl/0.39.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
