Hi all, I am glad to announce that ktlint `0.49.0...
# ktlint
p
Hi all, I am glad to announce that ktlint
0.49.0
has been released. See release notes. A new code style
ktlint_official
is introduced. This code style is work in progress but will become the default code style in the
1.0
release. Please try out the new code style and provide your feedback via the issue tracker. The
0.49
release is intended to be the last minor release before the
1.0
which is to be expected in September.
🎉 14
👍 1
e
@Paul Dingemans for issues like this is it better to create a new issue, or comment like I did here?
p
I prefer issues. Communication via slack gets messy quite soon. But simple questions can just be asked on slack.
e
To clarify, I was asking if I should leave a comment on the closed issue, or if I should create a new one.
p
Lol, didn’t get that. Just comment in the issue. I will see it anyways.
r
hello, I've just upgraded to but now I can't find anymore these imports:
Copy code
import com.pinterest.ktlint.core.Code
import com.pinterest.ktlint.core.KtLintRuleEngine
import com.pinterest.ktlint.core.RuleSetProviderV2
import com.pinterest.ktlint.core.api.EditorConfigDefaults
is there a migration guide somewhere?
OK, I figured out that I need to import this 2 new artifacts:
Copy code
ktlint-cli-ruleset-core = { module = "com.pinterest.ktlint:ktlint-cli-ruleset-core", version.ref = "ktlint" }
ktlint-rule-engine = { module = "com.pinterest.ktlint:ktlint-rule-engine", version.ref = "ktlint" }
but if I do this, now the SLF4J issue is back...
I think I found the issue and I suggested a possible fix: https://github.com/pinterest/ktlint/issues/1875#issuecomment-1527996492