Skip to content

Releases: ihrwein/actiondb

ActionDB 0.6.0

24 Jan 09:31
Compare
Choose a tag to compare

This release mostly contains internal changes and a suffix array Matcher implementation.

  • suffix tree refactoring
  • remove forgotten println! call
  • refacor Parser by removing LengthCheckedParserBase struct
  • add HasLengthConstraint trait
  • remove Factory
  • rename GenericFactory to PatternLoader
  • rename Builder to MatcherBuilder
  • rename drain_into to from_source
  • add FromPatternSource trait
  • add a suffix array based Matcher implementation
  • use travis-cargo in Travis
  • test on stable, beta, previous stable rustc releases
  • update clap to 1.5

ActionDB 0.4.0

28 Oct 09:39
Compare
Choose a tag to compare

Changelog

Actiondb 0.4.0

  • include pattern UUIDs in error messages
  • check the pattern's uuid when testing its test messages
  • make grammar use the ParserFactory to create parsers
  • add MatcherFactory trait
  • do not call pattern().unwrap() on an internal LiteralNode (too short match)
  • add -i parameter to adbtool validate so all error messages will be
    printed out, not just the first one
  • add -d parameter to adbtool to enable debug logs
  • store Nodes directly in ParserNode and LiteralNode
  • add pdb2adb script to convert PatternDB patterns to ActionDB format
  • add MatcherSuite trait
  • count the parsed lines in adbtool
  • other smaller refactors and improvements

Contributors: faxm0dem, ihrwein, lbudai

ActionDB 0.3.0

22 Aug 19:54
Compare
Choose a tag to compare

Actiondb 0.3.0

  • Plain pattern file support is removed
  • CR characters can be used in patterns
  • improved error messages
  • upgrade to serde 0.5
  • parsed messages can be tagged
  • parsed messages can have additional key-value pairs
  • the tests checks only the expected tags and values
  • parser names are optional(like %{GREEDY})

This release would not be possible without the help of Fabien Wernli. Thanks, Fabien!

ActionDB 0.2.1

23 Jul 16:08
Compare
Choose a tag to compare

Changelog:

  • Matcher object is cloneable (via its boxed_clone() method)

ActionDB 0.2.0

23 Jul 14:21
Compare
Choose a tag to compare

User visible changes:

  • support JSON pattern files
  • nicer and more precise error messages

Internal changes:

  • Matcher becomes a trait and ParserTrie implements it
  • the pattern reading and trie building code is extracted into a Builder struct
  • Builder is able to populate any Matcher instance from any type which implements the PatternSource trait
    • BuildResult = Result<Pattern, BuildError>
    • BuildError contains all possible Error types (IO, pattern parse errors, etc.)
    • PatternSource is automatically implemented for every type which implements Iterator<Item=BuildResult>
    • this makes possible to generalize the Matcher building logic:
    • BuildResults are being read from a PatternSource and if they are Ok() then they are added to the Matcher
    • in case of an Err() value the building process stops and the error is returned
  • Factory is introduced to create Matcher instances from files (JSON and plain pattern files)
    • Factory::form_file() is file extension agnostic and creates a Matcher instance from the given file
  • the big modules are split into smaller submodules
  • allow . character in Parser names
  • the JSON files can contain test messages. They are tested when their pattern is added to the Matcher.
  • Coveralls.io checks every modifications
  • new unit tests are added

ActionDB 0.1.0

07 Jul 12:33
Compare
Choose a tag to compare
Merge pull request #18 from ihrwein/f/remove-warnings

lib: export parsers module