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://github.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://github.com/facebook/ktfmt/releases/tag/v0.49)

#### Changelog

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

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

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

Changelog:

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