Skip to content
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

Bump github.com/nicklockwood/swiftformat from 0.52.11 to 0.53.0 #476

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 2024

Bumps github.com/nicklockwood/swiftformat from 0.52.11 to 0.53.0.

Release notes

Sourced from github.com/nicklockwood/swiftformat's releases.

0.53.0

  • Added preferForLoop rule to convert forEach { ... } calls to regular for loops
  • Added wrapLoopBodies rule to wrap single-line loop bodies over multiple lines
  • Added noExplicitOwnership rule to remove unwanted borrowing and consuming modifiers
  • Added wrapMultilineConditionalAssignment rule to wrap if or switch expressions to new line
  • The wrapAttributes rule no longer unwraps attributes if they would exceed --maxwidth
  • The typeSugar rule's --shortoptionals option now defaults to except-properties
  • Enabled blankLinesBetweenChainedFunctions rule by default
  • Enabled blankLineAfterImports rule by default
  • Fixed self being incorrectly inserted before set clause in computed properties
  • Fixed a bug in parseType() helper function where qualified types were not recognized
  • Fixed Xcode command plugin
Commits
  • fef156a Update for 0.53.0 release
  • ea008e7 Don't unwrap attributes if they would exceed --maxwidth
  • df2b56d Add wrapLoopBodies rule
  • bd81c48 Flip --shortoptionals default to except-properties
  • 3a7b04e Add wrapLoopBodies rule
  • 1c5b4f7 Fix issue parseType helper didn't handle qualified types like Foo.Bar
  • a7d6232 Add noExplicitOwnership rule
  • 5b7f2bb Enable blankLinesBetweenChainedFunctions by default
  • 82f8b97 Enable blankLineAfterImports by default
  • 9c8eb47 Enable preferForLoop by default
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/nicklockwood/swiftformat](https://github.com/nicklockwood/SwiftFormat) from 0.52.11 to 0.53.0.
- [Release notes](https://github.com/nicklockwood/SwiftFormat/releases)
- [Commits](nicklockwood/SwiftFormat@0.52.11...0.53.0)

---
updated-dependencies:
- dependency-name: github.com/nicklockwood/swiftformat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update Swift_package_manager code labels Jan 9, 2024
@dependabot dependabot bot requested a review from csjones January 9, 2024 14:02
Copy link

what-the-diff bot commented Jan 9, 2024

PR Summary

  • Updated SwiftFormat Dependency
    The version of the tool "SwiftFormat" used in the project has been updated. This tool helps us keep our code consistent and clean across the whole project. The update could improve performance, fix bugs, or introduce new features that we can benefit from.

Copy link
Contributor

@csjones csjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit e2d9031 into main Jan 9, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/swift/github.com/nicklockwood/swiftformat-0.53.0 branch January 9, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update Swift_package_manager code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant