Skip to content

Commit f5ea285

Browse files
authored
chore(deps): Update VRL to 0.8.1 (#19011)
* chore(deps): Update VRL to 0.8.1 * :cue: fmt * re-apply doc fix after bad rebase * fix vrl_tests * :cue: fmt * fix cue invalid whitespaces
1 parent 223dd7b commit f5ea285

File tree

14 files changed

+138
-48
lines changed

14 files changed

+138
-48
lines changed

Cargo.lock

+35-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ members = [
119119
]
120120

121121
[workspace.dependencies]
122-
vrl = { version = "0.7.0", features = ["cli"] }
122+
vrl = { version = "0.8.1", features = ["cli"] }
123123

124124
pin-project = { version = "1.1.3", default-features = false }
125125

@@ -269,7 +269,7 @@ http-body = { version = "0.4.5", default-features = false }
269269
hyper = { version = "0.14.27", default-features = false, features = ["client", "runtime", "http1", "http2", "server", "stream"] }
270270
hyper-openssl = { version = "0.9.2", default-features = false }
271271
hyper-proxy = { version = "0.9.1", default-features = false, features = ["openssl-tls"] }
272-
indexmap = { version = "~2.0.2", default-features = false, features = ["serde", "std"] }
272+
indexmap = { version = "2.1.0", default-features = false, features = ["serde", "std"] }
273273
infer = { version = "0.15.0", default-features = false, optional = true}
274274
indoc = { version = "2.0.4", default-features = false }
275275
inventory = { version = "0.3.13", default-features = false }
@@ -362,7 +362,7 @@ tokio = { version = "1.33.0", features = ["test-util"] }
362362
tokio-test = "0.4.3"
363363
tower-test = "0.4.0"
364364
vector-lib = { path = "lib/vector-lib", default-features = false, features = ["vrl", "test"] }
365-
vrl = { version = "0.7.0", features = ["cli", "test", "test_framework", "arbitrary"] }
365+
vrl = { version = "0.8.1", features = ["cli", "test", "test_framework", "arbitrary"] }
366366

367367
wiremock = "0.5.19"
368368
zstd = { version = "0.13.0", default-features = false }

lib/codecs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ futures = { version = "0.3", default-features = false }
3838
indoc = { version = "2", default-features = false }
3939
tokio = { version = "1", features = ["test-util"] }
4040
similar-asserts = "1.5.0"
41-
vrl = { version = "0.7.0", features = ["cli", "test", "test_framework", "arbitrary"] }
41+
vrl = { version = "0.8.1", features = ["cli", "test", "test_framework", "arbitrary"] }
4242
vector-core = { path = "../vector-core", default-features = false, features = ["test"] }
4343

4444
[features]

lib/codecs/tests/data/native_encoding/vector_generate_fixtures.patch

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/file-source/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ default-features = false
3939
features = []
4040

4141
[dependencies.indexmap]
42-
version = "~2.0.2"
42+
version = "2.1.0"
4343
default-features = false
4444
features = ["serde"]
4545

lib/prometheus-parser/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MPL-2.0"
99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12-
indexmap = "~2.0.2"
12+
indexmap = "2.1.0"
1313
nom = "7.1.3"
1414
num_enum = "0.7.1"
1515
prost = "0.12"

lib/vector-common/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ chrono = { version = "0.4", default-features = false, optional = true, features
4848
crossbeam-utils = { version = "0.8.16", default-features = false }
4949
derivative = { version = "2.2.0", default-features = false }
5050
futures = { version = "0.3.29", default-features = false, features = ["std"] }
51-
indexmap = { version = "~2.0.2", default-features = false, features = ["std"] }
51+
indexmap = { version = "2.1.0", default-features = false, features = ["std"] }
5252
metrics = "0.21.1"
5353
nom = { version = "7", optional = true }
5454
ordered-float = { version = "4.1.1", default-features = false }

lib/vector-config/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ path = "tests/integration/lib.rs"
1414
chrono = { version = "0.4.31", default-features = false }
1515
chrono-tz = { version = "0.8.4", default-features = false }
1616
encoding_rs = { version = "0.8", default-features = false, features = ["alloc", "serde"] }
17-
indexmap = { version = "2.0", default-features = false, features = ["std"] }
17+
indexmap = { version = "2.1.0", default-features = false, features = ["std"] }
1818
inventory = { version = "0.3" }
1919
no-proxy = { version = "0.3.4", default-features = false, features = ["serialize"] }
2020
num-traits = { version = "0.2.17", default-features = false }

lib/vector-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ futures-util = { version = "0.3.29", default-features = false, features = ["std"
2222
headers = { version = "0.3.9", default-features = false }
2323
http = { version = "0.2.9", default-features = false }
2424
hyper-proxy = { version = "0.9.1", default-features = false, features = ["openssl-tls"] }
25-
indexmap = { version = "~2.0.2", default-features = false, features = ["serde", "std"] }
25+
indexmap = { version = "2.1.0", default-features = false, features = ["serde", "std"] }
2626
lookup = { package = "vector-lookup", path = "../vector-lookup" }
2727
metrics = "0.21.1"
2828
metrics-tracing-context = { version = "0.14.0", default-features = false }
@@ -91,7 +91,7 @@ rand = "0.8.5"
9191
rand_distr = "0.4.3"
9292
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter", "fmt", "ansi", "registry"] }
9393
vector-common = { path = "../vector-common", default-features = false, features = ["test"] }
94-
vrl = { version = "0.7.0", features = ["cli", "test", "test_framework", "arbitrary"] }
94+
vrl = { version = "0.8.1", features = ["cli", "test", "test_framework", "arbitrary"] }
9595

9696
[features]
9797
api = ["dep:async-graphql"]

lib/vector-vrl/tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77

88
[dependencies]
99
enrichment = { path = "../../enrichment" }
10-
vrl = { version = "0.7.0", features = ["test", "test_framework"] }
10+
vrl = { version = "0.8.1", features = ["test", "test_framework"] }
1111
vector-vrl-functions = { path = "../../vector-vrl/functions" }
1212

1313
ansi_term = "0.12"

website/cue/reference/remap.cue

+2
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,12 @@ remap: #Remap & {
247247
│ │ │
248248
│ │ this expression is fallible
249249
│ │ update the expression to be infallible
250+
│ │ note if an argument type is invalid it can render a function fallible
250251
│ or change this to an infallible assignment:
251252
│ structured, err = parse_key_value(.message)
252253
253254
= see documentation about error handling at https://errors.vrl.dev/#handling
255+
= see functions characteristics documentation at https://vrl.dev/expressions/#function-call-characteristics
254256
= learn more about error code 103 at https://errors.vrl.dev/103
255257
= see language documentation at https://vrl.dev
256258
= try your code in the VRL REPL, learn more at https://vrl.dev/examples

0 commit comments

Comments
 (0)