-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop emitting multiple trailing commas in enum entry lists with multiline items #458
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
facebook-github-bot
added
the
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
label
Apr 23, 2024
@hick209 Any chance of a release after this fix is merged? |
@hick209 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Sure, I'm already preparing a release now, but we can do one right afterwards once we land this fix |
Hurray! |
github-merge-queue bot
referenced
this pull request
in slackhq/foundry
Apr 27, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.facebook:ktfmt](https://github.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://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)) – [@​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)) – [@​j-bahr](https://github.com/j-bahr), [@​nreid260](https://github.com/nreid260) - Added support for RangUntil (`..<`) operator ([https://github.com/facebook/ktfmt/pull/433](https://github.com/facebook/ktfmt/pull/433)) – [@​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)) – [@​fredyw](https://github.com/fredyw), [@​hick209](https://github.com/hick209) - Fix empty enum parse error ([https://github.com/facebook/ktfmt/pull/425](https://github.com/facebook/ktfmt/pull/425)) – [@​fredyw](https://github.com/fredyw) - Preserving empty enums semicolons ([https://github.com/facebook/ktfmt/pull/434](https://github.com/facebook/ktfmt/pull/434)) – [@​nreid260](https://github.com/nreid260) - Always use UTF8 ([https://github.com/facebook/ktfmt/pull/437](https://github.com/facebook/ktfmt/pull/437)) – [@​nreid260](https://github.com/nreid260) - IntelliJI DEA plugin update ([https://github.com/facebook/ktfmt/pull/420](https://github.com/facebook/ktfmt/pull/420)) – [@​greyhairredbear](https://github.com/greyhairredbear) - Managing trailing commas in enums ([https://github.com/facebook/ktfmt/pull/449](https://github.com/facebook/ktfmt/pull/449)) – [@​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)) – [@​JavierSegoviaCordoba](https://github.com/JavierSegoviaCordoba), [@​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)) – [@​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)) – [@​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**: 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://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: Zac Sweers <[email protected]>
github-merge-queue bot
referenced
this pull request
in slackhq/circuit
Apr 28, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.facebook:ktfmt](https://github.com/facebook/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>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)) – [@​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)) – [@​j-bahr](https://github.com/j-bahr), [@​nreid260](https://github.com/nreid260) - Added support for RangUntil (`..<`) operator ([https://github.com/facebook/ktfmt/pull/433](https://github.com/facebook/ktfmt/pull/433)) – [@​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)) – [@​fredyw](https://github.com/fredyw), [@​hick209](https://github.com/hick209) - Fix empty enum parse error ([https://github.com/facebook/ktfmt/pull/425](https://github.com/facebook/ktfmt/pull/425)) – [@​fredyw](https://github.com/fredyw) - Preserving empty enums semicolons ([https://github.com/facebook/ktfmt/pull/434](https://github.com/facebook/ktfmt/pull/434)) – [@​nreid260](https://github.com/nreid260) - Always use UTF8 ([https://github.com/facebook/ktfmt/pull/437](https://github.com/facebook/ktfmt/pull/437)) – [@​nreid260](https://github.com/nreid260) - IntelliJI DEA plugin update ([https://github.com/facebook/ktfmt/pull/420](https://github.com/facebook/ktfmt/pull/420)) – [@​greyhairredbear](https://github.com/greyhairredbear) - Managing trailing commas in enums ([https://github.com/facebook/ktfmt/pull/449](https://github.com/facebook/ktfmt/pull/449)) – [@​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)) – [@​JavierSegoviaCordoba](https://github.com/JavierSegoviaCordoba), [@​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)) – [@​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)) – [@​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**: 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://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMyNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: Zac Sweers <[email protected]>
ZacSweers
referenced
this pull request
in ZacSweers/CatchUp
Apr 29, 2024
[![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)) – [@​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)) – [@​j-bahr](https://github.com/j-bahr), [@​nreid260](https://github.com/nreid260) - Added support for RangUntil (`..<`) operator ([https://github.com/facebook/ktfmt/pull/433](https://github.com/facebook/ktfmt/pull/433)) – [@​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)) – [@​fredyw](https://github.com/fredyw), [@​hick209](https://github.com/hick209) - Fix empty enum parse error ([https://github.com/facebook/ktfmt/pull/425](https://github.com/facebook/ktfmt/pull/425)) – [@​fredyw](https://github.com/fredyw) - Preserving empty enums semicolons ([https://github.com/facebook/ktfmt/pull/434](https://github.com/facebook/ktfmt/pull/434)) – [@​nreid260](https://github.com/nreid260) - Always use UTF8 ([https://github.com/facebook/ktfmt/pull/437](https://github.com/facebook/ktfmt/pull/437)) – [@​nreid260](https://github.com/nreid260) - IntelliJI DEA plugin update ([https://github.com/facebook/ktfmt/pull/420](https://github.com/facebook/ktfmt/pull/420)) – [@​greyhairredbear](https://github.com/greyhairredbear) - Managing trailing commas in enums ([https://github.com/facebook/ktfmt/pull/449](https://github.com/facebook/ktfmt/pull/449)) – [@​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)) – [@​JavierSegoviaCordoba](https://github.com/JavierSegoviaCordoba), [@​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)) – [@​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)) – [@​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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.