Skip to content

Commit

Permalink
Update dependency com.facebook:ktfmt to v0.49 (#1398)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.facebook:ktfmt](https://togithub.com/facebook/ktfmt) | `0.47` ->
`0.49` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.facebook:ktfmt/0.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.facebook:ktfmt/0.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.facebook:ktfmt/0.47/0.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.facebook:ktfmt/0.47/0.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>facebook/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**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ZacSweers/CatchUp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
renovate[bot] and ZacSweers committed Apr 29, 2024
1 parent 54cdf3f commit e82f196
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ constructor(

private enum class LogsShareResult {
SHARE,
DISMISS
DISMISS,
}

@CircuitInject(DebugSettingsScreen::class, AppScope::class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ data class ServiceScreen(val serviceKey: String) : Screen {
data class ItemActionClicked(val item: CatchUpItem, val action: Action) : Event {
enum class Action {
SHARE,
SUMMARIZE
SUMMARIZE,
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ kotlin = "1.9.23"
kotlinx-metadata = "0.7.0"
kotlinx-serialization = "1.6.3"
ksp = "1.9.23-1.0.20"
ktfmt = "0.47"
ktfmt = "0.49"
leakcanary = "2.14"
lifecycle = "2.8.0-beta01"
markwon = "4.6.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import okio.Path
interface TokenStorage {
/** Updates the current stored auth data. */
suspend fun updateAuthData(authData: AuthData)

/** Returns the current auth data or null if none are stored. */
suspend fun getAuthData(): AuthData?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import catchup.ui.core.R

enum class NavButtonType(val icon: ImageVector, @StringRes val contentDescription: Int) {
BACK(Icons.AutoMirrored.Filled.ArrowBack, R.string.catchup_baseui_back),
CLOSE(Icons.Filled.Close, R.string.catchup_baseui_close)
CLOSE(Icons.Filled.Close, R.string.catchup_baseui_close),
}

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,5 @@ private enum class ScaffoldLayoutContent {
MainContent,
Snackbar,
Fab,
BottomBar
BottomBar,
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ParameterizedOkioAtomicFileTests(
FINISH,
FAIL,
ABORT,
READ_FINISH
READ_FINISH,
}

private val existingFileNames: Array<String>? = parameters.existingFileNames
Expand Down Expand Up @@ -199,6 +199,7 @@ class ParameterizedOkioAtomicFileTests(
)
}
}

// JUnit on API 17 somehow turns null parameters into the string "null". Wrapping the parameters
// inside a class solves this problem.
class Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import com.squareup.moshi.JsonClass
internal enum class RedditKind(val derivedClass: Class<out RedditObject>) {
@Json(name = "t1") T1(RedditComment::class.java),
@Json(name = "t3") T3(RedditLink::class.java),
@Json(name = "Listing") LISTING(RedditListing::class.java)
@Json(name = "Listing") LISTING(RedditListing::class.java),
}

0 comments on commit e82f196

Please sign in to comment.