NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #3442 most downloaded on crates.io
A Rust implementation of the popular Java & Ruby grok library which allows easy text and log file processing with composable patterns.
Last release 6 months ago
19 Mar 2026
Release timing varies
gaps range from 8 days to 3.0 years
Nearly every release is documented
notes for 18 of 19 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
19 releases · first in 2017
* Update EMAILLOCALPART
Fix a bug where pattern definition ranges were off-by-one.
. was included rather than \., causing
the pattern to match any character.One column per quarter.
* Add Clone to Grok.
Clone to Grok.Nothing published for this version
Remove display() call in build.rs that would require MSRV 1.88.
display() call in build.rs that would require MSRV 1.88.Add support for extract in pattern definitions, allowing the extract in %{nameextract} to be retrieved from the pattern.
extract in pattern definitions, allowing the extract in
%{name:alias:extract} to be retrieved from the pattern.Pattern::pattern() to Matches to get the pattern that was used to
match this Matches instance.Grok::compile() is now &self instead of &mut self.Grok::with_default_patterns() now uses Cow for the built-in patterns and
allocates significantly less per Grok instance (as well as being much
faster).patterns module.Rewrote the pattern parsing to avoid using regular expressions, making all regular expression engine features optional (though at least one is still r
NAME, NAME[1], NAME[2], etc.Matches::len() was removed as it was previously reporting the
pattern name count. Use Matches::iter().count() instead.Matches::is_empty() was removed. Use Matches::iter().count() == 0 instead.Add support for pcre2 feature which is significantly faster than onig.
pcre2 feature which is significantly faster than onig.regex and fancy_regex features which allow for pure Rust
operation.Minimum Rust version is 1.56, Rust Edition switched to 2021.
1.56, Rust Edition switched to 2021.Grok::with_patterns() to Grok::with_default_patterns().Grok::insert_definition to Grok::add_pattern to stop mixing "definition" with "pattern".Matches::iter() is now only returning the matches and not also the other patters with an empty string as the value.IntoIter for &Matches for more convenient match iteration (i.e. for loop).Pattern::capture_names which returns the names the compiled pattern captures.onig to 6.3.master branch is now called main.Allow to inspect the default built patterns. Thanks @magodo!
onig to 6.1.Error as suggested by clippy.Use Regex::foreach_names instead of Regex::capture_names to work on 32 bit platforms. Thanks @a-rodin!
onig to 5.0.Regex::foreach_names instead of Regex::capture_names to work on 32 bit platforms. Thanks @a-rodin!Use Regex::foreach_names instead of Regex::capture_names to work on 32 bit platforms. Thanks @a-rodin!
Regex::foreach_names instead of Regex::capture_names to work on 32 bit platforms. Thanks @a-rodin!* Updated onig to 4.3.
onig to 4.3.This is the sixth release of grok, with the following changes:
==========
This is the sixth release of grok, with the following changes:
onig to 3.1, which itself brings enhancements andThis is the fifth release of grok, which brings a bugfix:
==========
This is the fifth release of grok, which brings a bugfix:
This is the fourth release of grok, which brings an enhancement and makes sure we run on appveyor.
==========
This is the fourth release of grok, which brings an enhancement and
makes sure we run on appveyor.
This is the third release of grok, which brings enhancement and compatibility improvements.
==========
This is the third release of grok, which brings enhancement
and compatibility improvements.
regex has been switched to onig so we have full compatibility with all the other grok patterns.Grok::with_patterns() which loads all the default patterns. Grok::defalt() also uses that now.iter() is available on Matches which yields a (&str, &str) kv pair of match/result.This is the second release of grok, mainly adding more methods to the match API as well as removing all unwraps, expects and panics from the code.
==========
This is the second release of grok, mainly adding
more methods to the match API as well as removing
all unwraps, expects and panics from the code.
This is a very early release, and while the API surface isn't huge expect some breaking changes!
==========
This is the initial release of the grok rust library. It features
basic support for custom pattern definitions, compiling into a pattern
and then matching on the pattern accordingly.
This is a very early release, and while the API surface isn't huge
expect some breaking changes!
Your coding agent can read these notes before it upgrades. Set up the MCP server →