From 2a92aa7922798f666ec06d0109b1d629efc6919f Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Mon, 30 Sep 2024 15:54:07 -0400 Subject: [PATCH 1/2] chore(releasing): Prepare VRL v0.19.0 --- CHANGELOG.md | 20 ++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- changelog.d/1015.enhancement.md | 1 - changelog.d/1022.breaking.md | 2 -- changelog.d/1025.fix.md | 1 - changelog.d/1031.fix.md | 1 - changelog.d/1050.fix.md | 1 - changelog.d/849.fix.md | 1 - 9 files changed, 22 insertions(+), 9 deletions(-) delete mode 100644 changelog.d/1015.enhancement.md delete mode 100644 changelog.d/1022.breaking.md delete mode 100644 changelog.d/1025.fix.md delete mode 100644 changelog.d/1031.fix.md delete mode 100644 changelog.d/1050.fix.md delete mode 100644 changelog.d/849.fix.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 462b789e2c..f4a310e182 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ +## [0.19.0 (2024-09-30)] + + +### Breaking Changes & Upgrade Guide + +- The multi-line mode of the `parse_groks` VRL function is now enabled by default. + Use the `(?-m)` modifier to disable this behaviour. (https://github.com/vectordotdev/vrl/pull/1022) + +### Enhancements + +- The `keyvalue` grok filter is extended to match Datadog implementation. (https://github.com/vectordotdev/vrl/pull/1015) + +### Fixes + +- The `parse_xml` function now doesn't add an unnecessary `text` key when processing single nodes. (https://github.com/vectordotdev/vrl/pull/849) +- Adds support for hyphens in the JIT path parser (https://github.com/vectordotdev/vrl/pull/1025) +- The function `match_datadog_query` doesn't panic if an invalid path is passed, instead it returns an error. (https://github.com/vectordotdev/vrl/pull/1031) +- The `parse_ruby_hash` parser is extended to match Datadog implementation. Previously it would parse the key in `{:key => "value"}` as `:key`, now it will parse it as `key`. (https://github.com/vectordotdev/vrl/pull/1050) + + ## [0.18.0 (2024-09-05)] diff --git a/Cargo.lock b/Cargo.lock index a82e86f5f8..465c1eb9aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3476,7 +3476,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "vrl" -version = "0.18.0" +version = "0.19.0" dependencies = [ "aes", "ansi_term", diff --git a/Cargo.toml b/Cargo.toml index e6f5a6fad7..ff4a331af4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrl" -version = "0.18.0" +version = "0.19.0" authors = ["Vector Contributors "] edition = "2021" license = "MPL-2.0" diff --git a/changelog.d/1015.enhancement.md b/changelog.d/1015.enhancement.md deleted file mode 100644 index fdc79b50b6..0000000000 --- a/changelog.d/1015.enhancement.md +++ /dev/null @@ -1 +0,0 @@ -The `keyvalue` grok filter is extended to match Datadog implementation. \ No newline at end of file diff --git a/changelog.d/1022.breaking.md b/changelog.d/1022.breaking.md deleted file mode 100644 index c696601ace..0000000000 --- a/changelog.d/1022.breaking.md +++ /dev/null @@ -1,2 +0,0 @@ -The multi-line mode of the `parse_groks` VRL function is now enabled by default. -Use the `(?-m)` modifier to disable this behaviour. \ No newline at end of file diff --git a/changelog.d/1025.fix.md b/changelog.d/1025.fix.md deleted file mode 100644 index c10a269f0c..0000000000 --- a/changelog.d/1025.fix.md +++ /dev/null @@ -1 +0,0 @@ -Adds support for hyphens in the JIT path parser \ No newline at end of file diff --git a/changelog.d/1031.fix.md b/changelog.d/1031.fix.md deleted file mode 100644 index f401173f30..0000000000 --- a/changelog.d/1031.fix.md +++ /dev/null @@ -1 +0,0 @@ -The function `match_datadog_query` doesn't panic if an invalid path is passed, instead it returns an error. diff --git a/changelog.d/1050.fix.md b/changelog.d/1050.fix.md deleted file mode 100644 index 80d51dd64a..0000000000 --- a/changelog.d/1050.fix.md +++ /dev/null @@ -1 +0,0 @@ -The `parse_ruby_hash` parser is extended to match Datadog implementation. Previously it would parse the key in `{:key => "value"}` as `:key`, now it will parse it as `key`. diff --git a/changelog.d/849.fix.md b/changelog.d/849.fix.md deleted file mode 100644 index baa1599fb9..0000000000 --- a/changelog.d/849.fix.md +++ /dev/null @@ -1 +0,0 @@ -The `parse_xml` function now doesn't add an unnecessary `text` key when processing single nodes. From 049373461cb33840034695ca83c24da8e260a539 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Tue, 1 Oct 2024 09:10:39 -0400 Subject: [PATCH 2/2] improve changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a310e182..5de762a57d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ ### Fixes - The `parse_xml` function now doesn't add an unnecessary `text` key when processing single nodes. (https://github.com/vectordotdev/vrl/pull/849) -- Adds support for hyphens in the JIT path parser (https://github.com/vectordotdev/vrl/pull/1025) +- `parse_grok` and `parse_groks` no longer require field names containing a hyphen (e.g. `@a-b`) to be quoted. - The function `match_datadog_query` doesn't panic if an invalid path is passed, instead it returns an error. (https://github.com/vectordotdev/vrl/pull/1031) - The `parse_ruby_hash` parser is extended to match Datadog implementation. Previously it would parse the key in `{:key => "value"}` as `:key`, now it will parse it as `key`. (https://github.com/vectordotdev/vrl/pull/1050)