Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mezmo/vrl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: mezmo/vrl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Choose a head ref
Loading
Showing with 3,373 additions and 866 deletions.
  1. +5 −0 .github/dependabot.yml
  2. +1 −1 .github/workflows/gardener_open_issue.yml
  3. +2 −2 .github/workflows/gardener_open_pr.yml
  4. +18 −2 .github/workflows/test.yml
  5. +170 −5 CHANGELOG.md
  6. +314 −266 Cargo.lock
  7. +15 −9 Cargo.toml
  8. +1 −1 Dockerfile
  9. +9 −6 LICENSE-3rdparty.csv
  10. +147 −0 benches/stdlib.rs
  11. +23 −8 deny.toml
  12. +1 −1 lib/cli/Cargo.toml
  13. +1 −1 lib/fuzz/Cargo.toml
  14. +2 −2 lib/tests/Cargo.toml
  15. +4 −0 lib/tests/tests/functions/flatten/from_unflatten.vrl
  16. +4 −0 lib/tests/tests/functions/flatten/simple.vrl
  17. +4 −0 lib/tests/tests/functions/unflatten/from_flatten.vrl
  18. +4 −0 lib/tests/tests/functions/unflatten/simple.vrl
  19. +1 −1 rust-toolchain.toml
  20. +9 −0 scripts/check_deny.sh
  21. +2 −3 src/cli/cmd.rs
  22. +3 −3 src/cli/repl.rs
  23. +20 −1 src/compiler/compile_config.rs
  24. +5 −1 src/compiler/expression/assignment.rs
  25. +12 −8 src/compiler/mod.rs
  26. +1 −2 src/datadog/filter/matcher.rs
  27. +2 −0 src/datadog/filter/mod.rs
  28. +1 −1 src/datadog/filter/resolver.rs
  29. +3 −3 src/datadog/grok/filters/keyvalue.rs
  30. +4 −1 src/datadog/grok/grok_filter.rs
  31. +168 −109 src/datadog/grok/matchers/date.rs
  32. +132 −16 src/datadog/grok/parse_grok.rs
  33. +16 −6 src/datadog/search/field.rs
  34. +2 −2 src/datadog/search/grammar.pest
  35. +1 −0 src/datadog/search/grammar.rs
  36. +1 −1 src/datadog/search/mod.rs
  37. +55 −5 src/datadog/search/node.rs
  38. +65 −48 src/datadog/search/parser.rs
  39. +0 −4 src/lib.rs
  40. +17 −8 src/parsing/query_string.rs
  41. +20 −6 src/path/mod.rs
  42. +103 −0 src/stdlib/casing/camelcase.rs
  43. +103 −0 src/stdlib/casing/kebabcase.rs
  44. +70 −0 src/stdlib/casing/mod.rs
  45. +103 −0 src/stdlib/casing/pascalcase.rs
  46. +103 −0 src/stdlib/casing/screamingsnakecase.rs
  47. +103 −0 src/stdlib/casing/snakecase.rs
  48. +1 −1 src/stdlib/community_id.rs
  49. +10 −4 src/stdlib/decode_base64.rs
  50. +317 −167 src/stdlib/dns_lookup.rs
  51. +57 −1 src/stdlib/encode_key_value.rs
  52. +54 −47 src/stdlib/log.rs
  53. +77 −77 src/stdlib/match_datadog_query.rs
  54. +17 −0 src/stdlib/mod.rs
  55. +0 −1 src/stdlib/parse_groks.rs
  56. +431 −0 src/stdlib/parse_influxdb.rs
  57. +64 −8 src/stdlib/parse_json.rs
  58. +69 −21 src/stdlib/parse_key_value.rs
  59. +1 −1 src/stdlib/parse_query_string.rs
  60. +416 −0 src/stdlib/unflatten.rs
  61. +2 −2 src/test/mod.rs
  62. +5 −1 src/test/test.rs
  63. +1 −1 src/value/kind/collection.rs
  64. +1 −1 src/value/secrets.rs
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,11 @@ updates:
commit-message:
prefix: "chore(deps)"
open-pull-requests-limit: 10
groups:
prost:
patterns:
- "prost"
- "prost-*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
2 changes: 1 addition & 1 deletion .github/workflows/gardener_open_issue.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ jobs:
name: Add issue to Gardener project board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.1
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/vectordotdev/projects/49
github-token: ${{ secrets.GH_PROJECT_PAT }}
4 changes: 2 additions & 2 deletions .github/workflows/gardener_open_pr.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ jobs:
username: ${{ github.actor }}
team: vector
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- uses: actions/add-to-project@v1.0.1
- uses: actions/add-to-project@v1.0.2
if: ${{ steps.checkVectorMember.outputs.isTeamMember == 'false' }}
with:
project-url: https://github.com/orgs/vectordotdev/projects/49
@@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/add-to-project@v1.0.1
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/vectordotdev/projects/49
github-token: ${{ secrets.GH_PROJECT_PAT }}
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -41,15 +41,23 @@ jobs:
run: ./scripts/format_check.sh

test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: "Tests"
run: ./scripts/tests.sh

vrl:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
@@ -80,6 +88,14 @@ jobs:
- name: "Check that the MSRV is up to date"
run: ./scripts/check_msrv.sh

check-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: "Check that the 3rd-party license file is up to date"
run: ./scripts/check_deny.sh

wasm32-unknown-unknown:
runs-on: ubuntu-latest
steps:
Loading