Skip to content

Commit

Permalink
chore(releasing): Prepare VRL v0.20.0 (#1150)
Browse files Browse the repository at this point in the history
* chore(releasing): Prepare VRL v0.20.0

* move one PR to enhancements
  • Loading branch information
pront authored Nov 27, 2024
1 parent d14bcb8 commit b240904
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 12 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,33 @@

<!-- changelog start -->

## [0.20.0 (2024-11-27)]


### Breaking Changes & Upgrade Guide

- Fixes the `to_float` function to return an error instead of `f64::INFINITY` when parsing [non-normal](https://doc.rust-lang.org/std/primitive.f64.html#method.is_normal) numbers. (https://github.com/vectordotdev/vrl/pull/1107)

### New Features

- The `decrypt` and `encrypt` VRL functions now support aes-siv (RFC 5297) encryption and decryption. (https://github.com/vectordotdev/vrl/pull/1100)

### Enhancements

- `decode_punycode` and `encode_punycode` with `validate` flag set to false should be faster now, in cases when input data needs no encoding or decoding. (https://github.com/vectordotdev/vrl/pull/1104)
- `vrl::value::Value` now implements `PartialCmp` that first checks whether the enum discriminants
(that both are floats for example), and if they are calls `partial_cmp` on the inner values.
Otherwise, it will return `None`. (https://github.com/vectordotdev/vrl/pull/1117)
- The `encode_proto` function was enhanced to automatically convert valid string fields to numeric proto
fields. (https://github.com/vectordotdev/vrl/pull/1114)

### Fixes

- The `parse_groks` VRL function and Datadog grok parsing now catch the panic coming from `rust-onig` on too many regex match retries, and handles it as a custom error. (https://github.com/vectordotdev/vrl/pull/1079)
- `encode_punycode` with `validate` flag set to false should be more consistent with `validate` set to true, turning all uppercase character to lowercase besides doing punycode encoding (https://github.com/vectordotdev/vrl/pull/1115)
- Removed false warning when using `set_semantic_meaning`. (https://github.com/vectordotdev/vrl/pull/1148)


## [0.19.0 (2024-09-30)]


Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vrl"
version = "0.19.0"
version = "0.20.0"
authors = ["Vector Contributors <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
Expand Down
1 change: 0 additions & 1 deletion changelog.d/1079.fix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1100.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1104.enhancement.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1107.breaking.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1114.fix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1115.fix.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/1117.enhancement.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1148.fix.md

This file was deleted.

0 comments on commit b240904

Please sign in to comment.