8000 [Quarkus 4] Adapt configuration handling to SmallRye Config 4 by Pepo48 · Pull Request #54827 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

[Quarkus 4] Adapt configuration handling to SmallRye Config 4 - #54827

Merged
vmuzikar merged 1 commit into
keycloak:quarkus-nextfrom
Pepo48:issue-54735
Nov 16, 2026
Merged

vmuzikar merged 1 commit into
keycloak:quarkus-nextfrom
Pepo48:issue-54735

Conversation

@Pepo48
@Pepo48 Pepo48 commented Nov 6, 2026
Copy link
Copy Markdown
Contributor

Closes: #54735

@Pepo48
Pepo48 requested review from a team as code owners November 6, 2026 20:17
@Pepo48 Pepo48 mentioned this pull request Nov 6, 2026
17 of 29 tasks
@shawkins shawkins left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes make sense, but I'm a little surprised at the new backslash handling being conditional on whether there is an expression.

If I'm understanding correctly the change note may need to call out more strongly that any usage of backslash needs reviewed - if the user were for example relying on \n becoming a newline, that will no longer happen unless the value contains an expression.

@Pepo48
Pepo48 commented Nov 10, 2026
Copy link
Copy Markdown
Contributor Author

if the user were for example relying on \n becoming a newline, that will no longer happen unless the value contains an expression.

@shawkins I checked again the \n example with SmallRye Config 3 and 4 and just for the clarification, it goes the other way. Without an expression, \n stays literal in both versions. With an expression, it was literal in Config 3 and now becomes a newline in Config 4.

the change note may need to call out more strongly that any usage of backslash needs reviewed

Anyway, I totally agree, I added a bullet point to call this out and show how to preserve a literal backslash.

@shawkins shawkins left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shawkins I checked again the \n example with SmallRye Config 3 and 4 and just for the clarification, it goes the other way. Without an expression, \n stays literal in both versions. With an expression, it was literal in Config 3 and now becomes a newline in Config 4.

Ugh, so even different than what I had recalled. Thanks for the changes, LGTM

Comment thread docs/guides/server/configuration.adoc Resolved
Closes: keycloak#54735

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
@vmuzikar vmuzikar left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@vmuzikar
vmuzikar merged commit b70b23f into keycloak:quarkus-next Nov 16, 2026
56 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0