Releases: ihrwein/actiondb
Releases · ihrwein/actiondb
ActionDB 0.6.0
This release mostly contains internal changes and a suffix array Matcher implementation.
- suffix tree refactoring
- remove forgotten println! call
- refacor
Parserby removingLengthCheckedParserBasestruct - add
HasLengthConstrainttrait - remove
Factory - rename
GenericFactorytoPatternLoader - rename
BuildertoMatcherBuilder - rename
drain_intotofrom_source - add
FromPatternSourcetrait - add a suffix array based
Matcherimplementation - use
travis-cargoin Travis - test on stable, beta, previous stable rustc releases
- update clap to 1.5
ActionDB 0.4.0
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
-iparameter toadbtool validateso all error messages will be
printed out, not just the first one - add
-dparameter toadbtoolto enable debug logs - store
Nodes directly inParserNodeandLiteralNode - add
pdb2adbscript to convertPatternDBpatterns toActionDBformat - add
MatcherSuitetrait - count the parsed lines in
adbtool - other smaller refactors and improvements
Contributors: faxm0dem, ihrwein, lbudai
ActionDB 0.3.0
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
Changelog:
Matcherobject is cloneable (via itsboxed_clone()method)
ActionDB 0.2.0
User visible changes:
- support JSON pattern files
- nicer and more precise error messages
Internal changes:
Matcherbecomes a trait andParserTrieimplements it- the pattern reading and trie building code is extracted into a
Builderstruct Builderis able to populate anyMatcherinstance from any type which implements thePatternSourcetraitBuildResult = Result<Pattern, BuildError>BuildErrorcontains all possibleErrortypes (IO, pattern parse errors, etc.)PatternSourceis automatically implemented for every type which implementsIterator<Item=BuildResult>- this makes possible to generalize the
Matcherbuilding logic: BuildResults are being read from aPatternSourceand if they areOk()then they are added to theMatcher- in case of an
Err()value the building process stops and the error is returned
Factoryis introduced to createMatcherinstances from files (JSON and plain pattern files)Factory::form_file()is file extension agnostic and creates aMatcherinstance from the given file
- the big modules are split into smaller submodules
- allow
.character inParsernames - the
JSONfiles can contain test messages. They are tested when their pattern is added to theMatcher. Coveralls.iochecks every modifications- new unit tests are added
ActionDB 0.1.0
Merge pull request #18 from ihrwein/f/remove-warnings lib: export parsers module