Skip to content

Commit

Permalink
Merge pull request #35 from answerbook/darinspivey/LOG-18807
Browse files Browse the repository at this point in the history
feat: Merge from upstream for use in `vector@0.31.0`
  • Loading branch information
darinspivey committed Dec 18, 2023
2 parents 23ae815 + 73716ee commit 34285e3
Show file tree
Hide file tree
Showing 433 changed files with 3,506 additions and 8,398 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ jobs:
- name: Check that all features can compile
run: cargo hack check --feature-powerset --depth 1

check-licenses:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Install the 3rd-party license tool
run: cargo install --git https://github.com/DataDog/rust-license-tool
- name: Check that the 3rd-party license file is up to date
run: rust-license-tool check

wasm32-unknown-unknown:
runs-on: ubuntu-latest
steps:
Expand All @@ -75,5 +85,4 @@ jobs:
run: rustup target add wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: "check"
run: cargo check --target wasm32-unknown-unknown
working-directory: lib/stdlib
run: cargo check --target wasm32-unknown-unknown --no-default-features --features stdlib
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,20 @@

## unreleased

## `0.5.0` (2023-06-28)
- added \0 (null) character literal to lex parser (https://github.com/vectordotdev/vrl/pull/259)
- added the `timezone` argument to the `format_timestamp` vrl function. (https://github.com/vectordotdev/vrl/pull/247)
- removed feature flags for each individual VRL function. (https://github.com/vectordotdev/vrl/pull/251)
- fixed a panic when arithmetic overflows. It now always wraps (only in debug builds). (https://github.com/vectordotdev/vrl/pull/252)
- `ingress_upstreaminfo` log format has been added to `parse_nginx_log` function (https://github.com/vectordotdev/vrl/pull/193)
- fixed type definitions for side-effects inside of queries (https://github.com/vectordotdev/vrl/pull/258)
- replaced `Program::final_type_state` with `Program::final_type_info` to give access to the type definitions of both the target and program result (https://github.com/vectordotdev/vrl/pull/262)
- added `from_unix_timestamp` vrl function (https://github.com/vectordotdev/vrl/pull/277)

## `0.4.0` (2023-05-11)
- consolidated all crates into the root `vrl` crate. The external API stayed the same, with the exception of macros, which are now all exported at the root of the `vrl` crate.
- published VRL to crates.io. Standard crate versioning will now be used instead of git tags.

## `0.3.0` (2023-05-05)
- fixed a type definition bug for assignments where the right-hand side of the assignment expression resolved to the `never` type
- removed the deprecated `FieldBuf` from `Field`
Expand Down
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ provide everything you need to get started.
GitHub account (only applicable to outside contributors).
3. [Create a new Git branch][urls.create_branch].
4. Make your changes.
5. Add a one line summary of changes to the "unreleased" section of `CHANGELOG.md`.
6. [Submit the branch as a pull request][urls.submit_pr] to the repo. A team member should
5. Add and/or update tests to cover your changes.
6. Add a one line summary of changes to the "unreleased" section of `CHANGELOG.md`.
7. [Submit the branch as a pull request][urls.submit_pr] to the repo. A team member should
comment and/or review your pull request.


Expand Down
Loading

0 comments on commit 34285e3

Please sign in to comment.