Skip to content

Releases: dm-drogeriemarkt/log-capture

4.0.0 - new key-value matcher and some breaking changes

27 Nov 08:16
09bbe0d
Compare
Choose a tag to compare
  • breaking change: log-capture now requires Java 17
  • breaking change: all deprecated parts have been removed
  • added a new log event matcher for key-value content
  • lots of dependency updates

3.6.2 - fix assertion message

24 Nov 13:01
17724cd
Compare
Choose a tag to compare

Fixes an assertion message concerning captured Exceptions.

Correct message of assertion

03 Feb 14:28
4683ddf
Compare
Choose a tag to compare
  • BUGFIX Fixed a misleading and wrong assertion message. The assertion itself was correct, but the message always said all matchers did not match when only a subset did not match.

Remove ExpectedKeyValue

26 Sep 13:47
01eebbe
Compare
Choose a tag to compare

Removed ExpectedKeyValue again due to an API change in Logstash without a workaround

Assertions for StructuredArguments.keyValue

04 Apr 10:22
1f18f62
Compare
Choose a tag to compare
  • Added new Log Event Matcher: ExpectedKeyValue.keyValue(...) to assert StructuredArguments.keyValue(...) from Logstash
  • Improved readability for assertion errors when using assertNotLogged(...)
  • Updated dependencies

3.4.1 - Improved Javadoc for deprecated methods

28 Feb 11:33
68c7e42
Compare
Choose a tag to compare

Improved Javadoc for deprecated methods

3.4.0 - assertNotLogged() and other conveniences

25 Feb 15:23
Compare
Choose a tag to compare
  • Added assertNotLogged(...) for asserting that no matching log message has been logged
  • Added more factory methods for warn(...), error(...) as a shortcut to ignore the message when matching
  • Added any(...) factory method for matching any log message regardless of level

3.3.0 with new fluent API and more assertions

14 Feb 13:16
Compare
Choose a tag to compare
  • Introduced a new fluent API with
    • better readability
    • extensible log message assertions (to assert attached Exceptions, Markers and LoggerName beyond MDC content)
  • Deprecated the old API (will be removed in 4.0)

3.3.0 release candidate

24 Sep 15:16
Compare
Choose a tag to compare
Pre-release
  • Introduced a new fluent API with
    • better readability
    • extensible log message assertions (to assert attached Exceptions, Markers and LoggerName beyond MDC content)
  • Deprecated the old API (will be removed in 4.0)

Revert accidental breaking change from 3.2.0

19 Apr 11:03
21b1335
Compare
Choose a tag to compare

Added addAppenderAndSetLogLevelToDebug() as a deprecated method.