Skip to content

Releases: dm-drogeriemarkt/structured-logging

3.0.0 - Java 17 and new convenience methods

06 Dec 15:37
Compare
Choose a tag to compare

configurable ObjectMapper

26 Sep 14:11
2851f97
Compare
Choose a tag to compare
  • New Feature: Made the used ObjectMapper configurable
  • updated dependencies

Serialization of remaining java.time classes

17 Apr 18:26
c95674b
Compare
Choose a tag to compare

added proper serialization for remaining java.time types (MonthDay, YearMonth and Year)

Serialization of Duration

14 Apr 13:11
7fac66e
Compare
Choose a tag to compare
Merge pull request #11 from abadurczyk/add_duration

add duration to object mapper

Fix: Correctly reset child thread's Context

23 Feb 12:24
995d1b9
Compare
Choose a tag to compare
Merge pull request #9 from dm-drogeriemarkt/finally

make MdcTaskDecorator more readable (hopefully) and fix finally()

add OverwriteStrategy to (Spring)MdcTaskDecorator

23 Feb 10:49
8dfdf61
Compare
Choose a tag to compare
Merge pull request #8 from dm-drogeriemarkt/allow_overwrite

add OverwriteMode to Task Decorator

LocalTime serialization

19 Feb 16:58
28b0106
Compare
Choose a tag to compare

Added proper serialization for missing JSR310 type LocalTime

more convenience, context updates

19 Feb 15:31
54410c2
Compare
Choose a tag to compare
  • Breaking Changes
    • Renamed MdcContextId to MdcKeySupplier to make its purpose clear
      • migration: change your code references from MdcContextId to MdcKeySupplier
    • Removed generic type information from MdcContext because it is not necessary anymore
      • migration: Change every use of MdcContext<Foo, Bar> to only MdcContext
  • New Features
    • Added convenience methods for creating MdcContexts without having an MdcKeySupplier.
    • MdcContext can now be updated
    • Runnables can now directly be decorated via MdcTaskDecorator to retain MDC information even when not using Spring.
  • Fixes
    • Do not create ObjectMapper every time an MdcContext is created.
    • Do not overwrite MDC information in threads that already have a context in MdcTaskDecorator - a WARNing is logged instead because this indicates incorrect usage

Proper serialization for further JSR310 types

07 Aug 11:13
Compare
Choose a tag to compare

Now properly serializes

  • Instant (new)
  • LocalDate (new)
  • LocalDateTime
  • OffsetDateTime
  • OffsetTime (new)
  • Period (new)
  • ZonedDateTime (new)

1.0.2

17 Sep 11:57
Compare
Choose a tag to compare
update version for next development iteration