Skip to content

feat(stdlib)!: Add required usage method to all functions#1608

Merged
thomasqueirozb merged 10 commits intomainfrom
vrl-stdlib-usage
Jan 15, 2026
Merged

feat(stdlib)!: Add required usage method to all functions#1608
thomasqueirozb merged 10 commits intomainfrom
vrl-stdlib-usage

Conversation

@thomasqueirozb
Copy link
Contributor

@thomasqueirozb thomasqueirozb commented Jan 14, 2026

Summary

Added usage() method implementations to all VRL stdlib functions. The usage() method is now required on the Function trait.

The descriptions were copied over from the Vector repo from website/cue/reference/remap/functions/*.cue

Part of the automatic documentation generation RFC (#280)

Change Type

  • New feature
  • Bug fix
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

Verified all functions compile with cargo check.

Does this PR include user facing changes?

  • Yes. Changelog fragment added.
  • No. A maintainer will apply the "no-changelog" label to this PR.

References

NA

@thomasqueirozb thomasqueirozb marked this pull request as ready for review January 14, 2026 22:54
@thomasqueirozb thomasqueirozb requested a review from a team as a code owner January 14, 2026 22:54
Copy link

@bfung bfung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for "it works" technically, not going to scrutinize all the content as that can be improved over time.

@thomasqueirozb thomasqueirozb added this pull request to the merge queue Jan 15, 2026
Merged via the queue into main with commit 7ab2c55 Jan 15, 2026
16 of 17 checks passed
@thomasqueirozb thomasqueirozb deleted the vrl-stdlib-usage branch January 15, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants