v2.1.0 focuses on upgrading dependencies and project infrastructure, as well as replacing end-of-life components. The most notable breaking changes: Loki4j now requires Java 17 or later (previously Java 11), and Logback has been upgraded to 1.6.x. Please check the Migration guide before upgrading.
Loki4j now accepts sponsorships. If your company runs it in production and wants it to stay well maintained (or you simply find it useful), you can support the project on the Support Us page.
New features
#338 Switch project to Java 17
#346 Apache HttpClient5 support (thanks to @zablotskaya)
#351 Upgrade Logback to 1.6.x
#356 New "Support Us" page on microsite
Misc
#335 Upgrade protobuf dependency to 4.33
#336 Upgrade JUnit from 4.13 to 6.0 (by @zablotskaya)
#337 Upgrade Gradle wrapper to 9.3.1
#340 Switch compatibility test from Java 24 to Java 25
#341 Recover tests after upgrading to JUnit6
#342 Upgrade protobuf dependency to 4.34 (by @herodotus-ecosystem)
#344 Switch integration test from Loki 3.6.4 to Loki 3.7.3
#345 Switch compatibility test from Java 21 to Java 26
#348 Dependencies upgraded
#349 Upgrade protobuf dependency to 4.35
#355 Devcontainers configuration for all-in-one testing
#357 Upgrade logback-classic to 1.6.1