Skip to content

Releases: loki4j/loki-logback-appender

v1.6.0-m1

02 Jul 22:56
4b2154d
Compare
Choose a tag to compare
v1.6.0-m1 Pre-release
Pre-release

This is a feature preview for Loki4j v1.6.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker.

New features

#233 Key-value pairs support in JSON layout
#236 Upgrade proto file from the upstream
#237 Drop Java 8 support
#238 Upgrade Logback to 1.4.x
#239 Report time to Loki with nanosecond precision

Bug fixes

#243 Loki appender didn't retry on HttpConnectTimeoutException

Misc

#229 Switch integration test from Loki 2.9.1 to Loki 3.0.0
#234 Upgrade Github actions
#235 Fix Grafana Cloud test
#248 Performance tests for JsonLayout fix options

Compatibility

There are a breaking changes, you can track the progress on docs update here.

v1.5.2

02 Jul 21:16
e689fe2
Compare
Choose a tag to compare

Bug fixes

#232 JSON layout shouldn't fail to render nullable strings
#245 Corrupted JSON logs on concurrent write (by @knittl)

v1.5.1

09 Mar 20:30
4bef8bc
Compare
Choose a tag to compare

Bug fixes

#222 Memory issue when labels change quite often (on every log request)

v1.5.0

24 Feb 23:55
308bc56
Compare
Choose a tag to compare

This release brings you JSON message layout and several enhancements in retry functionality. It also contains a few breaking changes, the most notable one is an upgrade to Logback v1.3.x. Please check the Migration guide before upgrading.

New features

#193 Add support for retries on 429 rate limited requests (by @acm19)
#197 Upgrade Logback to 1.3.x
#204 Add exponential backoff and jitter for retries (by @acm19)
#206 JSON message layout support

Bug fixes

#211 Appender shouldn't fail on label parsing error
#218 JsonLayout: Message parameters are missing

Refactoring

#213 DummyHttpClient interface improvement
#214 Polishing retry functionality

Misc

#198 GrafanaCloud URL updated for integration tests
#208 Switch compatibility test from Java 20 to Java 21
#210 Add performance test for JsonLayer
#212 Dependencies upgraded

v1.5.0-rc1

13 Feb 21:29
35f54eb
Compare
Choose a tag to compare
v1.5.0-rc1 Pre-release
Pre-release

This is a first release candidate for Loki4j v1.5.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker. Below is the list of changes since 1.5.0-m1.

New features

#206 JSON message layout support
#204 Add exponential backoff and jitter for retries (by @acm19)

Bug fixes

#211 Appender shouldn't fail on label parsing error

Refactoring

#213 DummyHttpClient interface improvement
#214 Polishing retry functionality

Misc

#208 Switch compatibility test from Java 20 to Java 21
#210 Add performance test for JsonLayer
#212 Dependencies upgraded

Compatibility

There are a breaking changes related to Logback v1.3.x upgrade and retry functionality. You can track the progress on docs update here.

v1.5.0-m1

12 Dec 13:03
10080de
Compare
Choose a tag to compare
v1.5.0-m1 Pre-release
Pre-release

This is a feature preview for Loki4j v1.5.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker.

New features

#193 Add support for retries on 429 rate limited requests (by @acm19)
#197 Upgrade Logback to 1.3.x

Misc

#198 GrafanaCloud URL updated for integration tests

v1.4.2

24 Sep 17:21
95e6ea1
Compare
Choose a tag to compare

Bug fixes

#188 Test fails with 'CodedOutputStream was writing to a flat byte array and ran out of space'

Misc

#185 Switch integration test from Loki 2.8.1 to Loki 2.9.1
#186 Dependencies upgraded

v1.4.1

24 May 22:12
fe13942
Compare
Choose a tag to compare

Bug fixes

#177 Metric for unsent events added
#180 Decrement unsent events count on encoding error

Misc

#181 Switch integration test from Loki 2.7.3 to Loki 2.8.1
#182 Switch compatibility test from Java 19 to Java 20
#183 Non-final Loki4jAppender

v1.4.0

26 Feb 18:09
aa65ecc
Compare
Choose a tag to compare

Version 1.4.0 contains several new features and improvements. There are some breaking changes for these who use Protobuf format. Please check the Migration guide for the details.

New features

#136 RegEx support for label.pairSeparator
#137 Add support for SLF4J Marker
#139 Error types for send metrics
#141 Configurable stream cache
#142 Separate protobuf jar
#147 Make internal queues check timeout configurable
#150 Add retry functionality for failed batch send
#172 Batch payload is printed out in tracing mode

Bug fixes

#162 Fix endless loop on encoding exception
#170 Fix double logging for retry and send errors

Refactoring

#138 LabelMarker moved into dedicated slf4j package
#140 Deprecated batchSize setting is removed
#144 Gradle deprecations fixed
#148 Dependencies upgraded

Misc

#134 Switch integration test from Loki 2.4.2 to Loki 2.5.0
#135 Java 18 added to compatibility test
#143 Switch integration test from Loki 2.5.0 to Loki 2.6.1
#152 Github actions update
#153 Workflow for publishing logback-appender
#157 Switch compatibility test from Java 18 to Java 19
#160 Workflow for publishing logback-protobuf
#163 Switch integration test from Loki 2.6.1 to Loki 2.7.0
#165 Switch integration test from Loki 2.7.0 to Loki 2.7.1
#169 Switch integration test from Loki 2.7.1 to Loki 2.7.3
#173 Docs covering Loki4j tracing mode

v1.4.0-rc2

16 Jan 00:48
5bfdb12
Compare
Choose a tag to compare
v1.4.0-rc2 Pre-release
Pre-release

This is a second release candidate for Loki4j v1.4.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker. Below is the list of changes since 1.4.0-rc1.

Bug fixes

#162 Fix endless loop on encoding exception

Misc

#152 Github actions update
#153 Workflow for publishing logback-appender
#157 Switch compatibility test from Java 18 to Java 19
#160 Workflow for publishing logback-protobuf
#163 Switch integration test from Loki 2.6.1 to Loki 2.7.0
#165 Switch integration test from Loki 2.7.0 to Loki 2.7.1

Compatibility

There is a breaking change for Protobuf-format users. You can track the progress on docs update here.