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
Parser
by removingLengthCheckedParserBase
struct - add
HasLengthConstraint
trait - remove
Factory
- rename
GenericFactory
toPatternLoader
- rename
Builder
toMatcherBuilder
- rename
drain_into
tofrom_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
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 toadbtool validate
so all error messages will be
printed out, not just the first one - add
-d
parameter toadbtool
to enable debug logs - store
Node
s directly inParserNode
andLiteralNode
- add
pdb2adb
script to convertPatternDB
patterns toActionDB
format - add
MatcherSuite
trait - 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:
Matcher
object 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:
Matcher
becomes a trait andParserTrie
implements it- the pattern reading and trie building code is extracted into a
Builder
struct Builder
is able to populate anyMatcher
instance from any type which implements thePatternSource
traitBuildResult = Result<Pattern, BuildError>
BuildError
contains all possibleError
types (IO, pattern parse errors, etc.)PatternSource
is automatically implemented for every type which implementsIterator<Item=BuildResult>
- this makes possible to generalize the
Matcher
building logic: BuildResult
s are being read from aPatternSource
and if they areOk()
then they are added to theMatcher
- in case of an
Err()
value the building process stops and the error is returned
Factory
is introduced to createMatcher
instances from files (JSON and plain pattern files)Factory::form_file()
is file extension agnostic and creates aMatcher
instance from the given file
- the big modules are split into smaller submodules
- allow
.
character inParser
names - the
JSON
files can contain test messages. They are tested when their pattern is added to theMatcher
. Coveralls.io
checks every modifications- new unit tests are added
ActionDB 0.1.0
Merge pull request #18 from ihrwein/f/remove-warnings lib: export parsers module