fix(deps): update dependency com.github.loki4j:loki-logback-appender to v2 #26

Open
renovatebot wants to merge 1 commit from renovate/com.github.loki4j-loki-logback-appender-2.x into main
Member

This PR contains the following updates:

Package Type Update Change
com.github.loki4j:loki-logback-appender compile major 1.6.0 -> 2.0.0

Release Notes

loki4j/loki-logback-appender (com.github.loki4j:loki-logback-appender)

v2.0.0

Compare Source

This release is concentrated on bringing first-class support for MDC and KVP in labels and structured metadata. It took a significant re-design of how label patterns are specified in the config and, thus, required a major version to be incremented. Also, we used this major release as an opportunity to revisit some old decisions regarding the overall configuration structure, and some defaults as well. We tried to put first things first and reduce the noise. Although, the amount of breaking changes in this release is quite significant, following our Migration guide should help you to upgrade smoothly.

New features

#​283 Upgrade Logback to 1.5.x
#​295 New structure for Loki4j configuration
#​300 Improve MDC and Key-Value handling for labels/metadata
#​303 Better defaults for labels/metadata/message
#​308 MDC and KVP added to structured metadata by default

Fixed bugs

#​299 Added '\r' as pair separator
#​302 More robust implementation of waitPipelineIsEmpty()
#​307 Fix extracting multiple bulk patterns

Refactoring

#​292 Encoder: switch KVs from arrays to maps
#​293 LogRecord: switch KVs from arrays to maps
#​294 Encoder decoupled from Writer
#​297 HTTP configuration refactoring

Misc

#​290 Switch integration test from Loki 3.3.1 to Loki 3.4.3
#​291 Switch compatibility test from Java 23 to Java 24
#​296 Upgrade setup-gradle action to v4
#​298 Upgrade Gradle wrapper to 8.14
#​304 Dependencies upgraded
#​306 Upgrade protobuf dependency to 4.31


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.github.loki4j:loki-logback-appender](https://github.com/loki4j/loki-logback-appender) | compile | major | `1.6.0` -> `2.0.0` | --- ### Release Notes <details> <summary>loki4j/loki-logback-appender (com.github.loki4j:loki-logback-appender)</summary> ### [`v2.0.0`](https://github.com/loki4j/loki-logback-appender/releases/tag/v2.0.0) [Compare Source](https://github.com/loki4j/loki-logback-appender/compare/v1.6.0...v2.0.0) This release is concentrated on bringing first-class support for MDC and KVP in labels and structured metadata. It took a significant re-design of how label patterns are specified in the config and, thus, required a major version to be incremented. Also, we used this major release as an opportunity to revisit some old decisions regarding the overall configuration structure, and some defaults as well. We tried to put first things first and reduce the noise. Although, the amount of breaking changes in this release is quite significant, following our [Migration guide](https://loki4j.github.io/loki-logback-appender/docs/migration#upgrading-from-16x-to-20x) should help you to upgrade smoothly. #### New features [#&#8203;283](https://github.com/loki4j/loki-logback-appender/issues/283) Upgrade Logback to 1.5.x [#&#8203;295](https://github.com/loki4j/loki-logback-appender/issues/295) New structure for Loki4j configuration [#&#8203;300](https://github.com/loki4j/loki-logback-appender/issues/300) Improve MDC and Key-Value handling for labels/metadata [#&#8203;303](https://github.com/loki4j/loki-logback-appender/issues/303) Better defaults for labels/metadata/message [#&#8203;308](https://github.com/loki4j/loki-logback-appender/issues/308) MDC and KVP added to structured metadata by default #### Fixed bugs [#&#8203;299](https://github.com/loki4j/loki-logback-appender/issues/299) Added '\r' as pair separator [#&#8203;302](https://github.com/loki4j/loki-logback-appender/issues/302) More robust implementation of waitPipelineIsEmpty() [#&#8203;307](https://github.com/loki4j/loki-logback-appender/issues/307) Fix extracting multiple bulk patterns #### Refactoring [#&#8203;292](https://github.com/loki4j/loki-logback-appender/issues/292) Encoder: switch KVs from arrays to maps [#&#8203;293](https://github.com/loki4j/loki-logback-appender/issues/293) LogRecord: switch KVs from arrays to maps [#&#8203;294](https://github.com/loki4j/loki-logback-appender/issues/294) Encoder decoupled from Writer [#&#8203;297](https://github.com/loki4j/loki-logback-appender/issues/297) HTTP configuration refactoring #### Misc [#&#8203;290](https://github.com/loki4j/loki-logback-appender/issues/290) Switch integration test from Loki 3.3.1 to Loki 3.4.3 [#&#8203;291](https://github.com/loki4j/loki-logback-appender/issues/291) Switch compatibility test from Java 23 to Java 24 [#&#8203;296](https://github.com/loki4j/loki-logback-appender/issues/296) Upgrade setup-gradle action to v4 [#&#8203;298](https://github.com/loki4j/loki-logback-appender/issues/298) Upgrade Gradle wrapper to 8.14 [#&#8203;304](https://github.com/loki4j/loki-logback-appender/issues/304) Dependencies upgraded [#&#8203;306](https://github.com/loki4j/loki-logback-appender/issues/306) Upgrade protobuf dependency to 4.31 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC43IiwidXBkYXRlZEluVmVyIjoiNDEuMTE1LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19-->
Owner

This PR contains the following updates:

Package Type Update Change com.github.loki4j:loki-logback-appender ( https://github.com/loki4j/loki-logback-appender ) compile major 1.6.0 -> 2.0.0

Release Notes

This PR contains the following updates: Package Type Update Change com.github.loki4j:loki-logback-appender ( https://github.com/loki4j/loki-logback-appender ) compile major 1.6.0 -> 2.0.0 Release Notes
renovatebot force-pushed renovate/com.github.loki4j-loki-logback-appender-2.x from 1414eb8b7b
Some checks failed
SonarQube Scan / SonarQube Trigger (pull_request) Failing after 1m15s
to 14277c2e95
Some checks failed
SonarQube Scan / SonarQube Trigger (pull_request) Failing after 40s
2025-09-09 14:14:48 +02:00
Compare
Some checks failed
SonarQube Scan / SonarQube Trigger (pull_request) Failing after 40s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/com.github.loki4j-loki-logback-appender-2.x:renovate/com.github.loki4j-loki-logback-appender-2.x
git switch renovate/com.github.loki4j-loki-logback-appender-2.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/com.github.loki4j-loki-logback-appender-2.x
git switch renovate/com.github.loki4j-loki-logback-appender-2.x
git rebase main
git switch main
git merge --ff-only renovate/com.github.loki4j-loki-logback-appender-2.x
git switch renovate/com.github.loki4j-loki-logback-appender-2.x
git rebase main
git switch main
git merge --no-ff renovate/com.github.loki4j-loki-logback-appender-2.x
git switch main
git merge --squash renovate/com.github.loki4j-loki-logback-appender-2.x
git switch main
git merge --ff-only renovate/com.github.loki4j-loki-logback-appender-2.x
git switch main
git merge renovate/com.github.loki4j-loki-logback-appender-2.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
released
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pom/spring-boot-starter!26
No description provided.