Skip to content

Commit

Permalink
Update dependency com.facebook:ktfmt to v0.49 (#830)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com.facebook:ktfmt](https://togithub.com/facebookincubator/ktfmt) |
dependencies | minor | `0.47` -> `0.49` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>facebookincubator/ktfmt (com.facebook:ktfmt)</summary>

### [`v0.49`](https://togithub.com/facebook/ktfmt/releases/tag/v0.49)

#### Changelog

- Stop emitting multiple trailing commas in enum entry lists with
multiline items
([facebook/ktfmt#458)
– [@&#8203;nreid260](https://togithub.com/nreid260)

**Full Changelog**:
facebook/ktfmt@v0.48...v0.49

### [`v0.48`](https://togithub.com/facebook/ktfmt/releases/tag/v0.48):
0.48

Changelog:

- Migrated to Google Java Format 1.22.0
([facebook/ktfmt#440,
[facebook/ktfmt#452)
– [@&#8203;j-bahr](https://togithub.com/j-bahr),
[@&#8203;nreid260](https://togithub.com/nreid260)
- Added support for RangUntil (`..<`) operator
([facebook/ktfmt#433)
– [@&#8203;ArchdukeTim](https://togithub.com/ArchdukeTim)
- Trailing space issue on lambda blocks
([facebook/ktfmt#426)
– [@&#8203;fredyw](https://togithub.com/fredyw),
[@&#8203;hick209](https://togithub.com/hick209)
- Fix empty enum parse error
([facebook/ktfmt#425)
– [@&#8203;fredyw](https://togithub.com/fredyw)
- Preserving empty enums semicolons
([facebook/ktfmt#434)
– [@&#8203;nreid260](https://togithub.com/nreid260)
- Always use UTF8
([facebook/ktfmt#437)
– [@&#8203;nreid260](https://togithub.com/nreid260)
- IntelliJI DEA plugin update
([facebook/ktfmt#420)
– [@&#8203;greyhairredbear](https://togithub.com/greyhairredbear)
- Managing trailing commas in enums
([facebook/ktfmt#449)
– [@&#8203;nreid260](https://togithub.com/nreid260)
- Badges on README
([facebook/ktfmt#448,
[facebook/ktfmt#453)
–
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba),
[@&#8203;hick209](https://togithub.com/hick209)
- Emit parsing error for calls with multiple trailing lambdas
([facebook/ktfmt#457)
– [@&#8203;nreid260](https://togithub.com/nreid260)
- Removed duplicated line in editorconfig file
([facebook/ktfmt#456)
– [@&#8203;sabufung30](https://togithub.com/sabufung30)

Big thanks to all the contributors!

**Full Changelog**:
facebook/ktfmt@v0.47...v0.48

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
slack-oss-bot and ZacSweers committed Apr 27, 2024
1 parent e06bef6 commit cfb6391
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kaml = "0.59.0"
kotlin = "1.9.23"
kotlinPoet = "1.16.0"
ksp = "1.9.23-1.0.20"
ktfmt = "0.47"
ktfmt = "0.49"
markdown = "0.16.0"
mavenPublish = "0.28.0"
moshi = "1.15.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sealed interface SkateTracingEvent {

enum class WhatsNew : SkateTracingEvent {
PANEL_OPENED,
PANEL_CLOSED
PANEL_CLOSED,
}

enum class HoustonFeatureFlag : SkateTracingEvent {
Expand Down
8 changes: 4 additions & 4 deletions skate-plugin/src/test/testData/Call.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ data class Call(
UNKNOWN,
@Json(name = "join") JOIN,
@Json(name = "decline") DECLINE,
@Json(name = "retry") RETRY
@Json(name = "retry") RETRY,
}

@JsonClass(generateAdapter = false)
enum class RetryText {
UNKNOWN,
@Json(name = "call_back") CALL_BACK,
@Json(name = "call_again") CALL_AGAIN
@Json(name = "call_again") CALL_AGAIN,
}

@JsonClass(generateAdapter = false)
Expand All @@ -58,7 +58,7 @@ data class Call(
@Json(name = "active") ACTIVE,
@Json(name = "ended") ENDED,
@Json(name = "missed") MISSED,
@Json(name = "declined") DECLINED
@Json(name = "declined") DECLINED,
}

@JsonClass(generateAdapter = true)
Expand All @@ -69,7 +69,7 @@ data class Call(
UNKNOWN,
@Json(name = "complete") COMPLETE,
@Json(name = "failed") FAILED,
@Json(name = "processing") PROCESSING
@Json(name = "processing") PROCESSING,
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ constructor(objects: ObjectFactory, providers: ProviderFactory) : AbstractPostPr
MISUSED,

/** Remove unused or redundant plugins. */
PLUGINS
PLUGINS,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public enum class SupportedLanguagesEnum {
INTERNAL,

/** Languages included in Beta builds */
BETA
BETA,
}

public val Project.fullGitSha: Provider<String>
Expand Down
4 changes: 3 additions & 1 deletion slack-plugin/src/main/kotlin/slack/gradle/SlackProperties.kt
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ internal constructor(
/* Test retry controls. */
public enum class TestRetryPluginType {
RETRY_PLUGIN,
GE
GE,
}

public val testRetryPluginType: TestRetryPluginType
Expand All @@ -538,9 +538,11 @@ internal constructor(
/** Detekt config files, evaluated from rootProject.file(...). */
public val detektConfigs: List<String>?
get() = optionalStringProperty("slack.detekt.configs")?.split(",")

/** Detekt baseline file, evaluated from project.layout.projectDirectory.file(...). */
public val detektBaselineFileName: String?
get() = optionalStringProperty("slack.detekt.baseline-file-name", blankIsNull = true)

/** Enables full detekt mode (with type resolution). Off by default due to performance issues. */
public val enableFullDetekt: Boolean
get() = booleanProperty("slack.detekt.full")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public enum class BootstrapPropertiesMode {
/** Append them to the target gradle.properties file. */
APPEND,
/** Overwrite them in the target gradle.properties file. */
OVERWRITE
OVERWRITE,
}

private val BYTES_PER_GB = 1024.0.pow(3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ internal data class ChartFill(val type: FillType, val color: Color) : ChartPrope
enum class FillType(val type: String) {
TRANSPARENT("a"),
BACKGROUND("bg"),
CHART("c")
CHART("c"),
}
}

0 comments on commit cfb6391

Please sign in to comment.