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

Update dependency nicklockwood/SwiftFormat to v0.53.10 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
nicklockwood/SwiftFormat minor 0.52.3 -> 0.53.10

Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.53.10

Compare Source

  • Fixed creation of spurious stdout directory when using --output stdout
  • Fixed unusedArguments false positive for multiline function call arguments
  • Fixed parsing of generic arguments containing attributes or ~ operator
  • Fixed spurious errors about missing --report or --reporter arguments
  • Fixed strongifiedSelf removing required backticks around nonisolated self
  • Deprecated explicit default value for --reporter (introduced in 0.53.9)
  • Added support for sending keyword

v0.53.9

Compare Source

  • Fixed bug in unusedArguments when shadowing function argument with conditional assignment declaration
  • Individual --lint errors are no longer shown in --quiet mode (restores pre-0.53.8 behavior)

v0.53.8

Compare Source

  • Added --strict option to emit non-zero exit code after applying changes in formatting mode
  • The enumNamespaces rule is no longer applied to structs with macros that have generic arguments
  • The opaqueGenericParameters rule is no longer applied to structs with macros or attributes
  • Fixed another case where redundantParens spuriously removed parens inside a closure
  • Fixed bug where redundantInit mishandled a .init after a ternary operator

v0.53.7

Compare Source

  • Fixed bug with redundantParens where first parens inside a closure were spuriously removed
  • Fixed wrapEnumCases rule mangling unindented cases
  • The wrapEnumCases rule no longer wraps cases inside inline enum declarations
  • Improved the redundantInit metatype heuristic to reduce false positives

v0.53.6

Compare Source

  • Fixed bug where a space was incorrectly added before a . operator inside attribute arguments
  • The redundantType rule no longer strips required explicit type from @Model class default values
  • Fixed issue where redundantInit didn't work on collection types
  • The redundantParens rule now correctly handles @MainActor closures
  • Fixed bug where required parens were removed around each X parameter pack expressions
  • Fixed issue where --wrapreturntype if-multiline didn't work with arrays, dictionaries, tuples, or generic types
  • The spaceAroundParens/Brackets rules now correctly insert a space after borrowing/consuming and isolated
  • Fixed spurious line breaks inserted between scoped import statements
  • Added --doccomments preserve option to preserve all doc comments, even if not followed by a declaration

v0.53.5

Compare Source

  • Fixed bug with trailing comma being inserted into wrapped capture list
  • Fixed bugs with parsing nonisolated(unsafe) modifiers
  • Fixed bug with hoisting try or async after a string literal expression
  • Fixed issue with parsing expressions containing generic arguments
  • Lint warnings are now displayed as errors when not running in --lenient mode
  • Improved error message for unexpected static/class modifiers
  • Added Swift 6.0 to list of supported Swift versions

v0.53.4

Compare Source

  • The enumNamespaces rule is no longer applied to structs with attributes or macros
  • The new nonisolated(unsafe) modifier is now handled correctly
  • Added support for do throws(Type) { ... } clauses

v0.53.3

Compare Source

  • The preferForLoop rule now correctly singularizes loop conditions that end with "cases"
  • Fixed bug where preferForLoop mangled throwing or async forEach expressions
  • Fixed extension body not being sorted if organizeDeclarations was enabled but excluded declaration type
  • Fixed conditionalAssignment bugs with @unknown default cases
  • Fixed some unsafe applications of the enumNamespaces rule
  • Added preliminary support for typed throws

v0.53.2

Compare Source

  • Fixed bug where hoistAwait rule could move await before try keyword
  • Fixed bug where redundantSelf rule was confused by @MainActor annotation
  • Fixed edge case where unusedArguments removed required argument inside guard

v0.53.1

Compare Source

  • Fixed creation of spurious stdout directory when using --output stdout
  • Fixed unusedArguments false positive for multiline function call arguments
  • Fixed parsing of generic arguments containing attributes or ~ operator
  • Fixed spurious errors about missing --report or --reporter arguments
  • Fixed strongifiedSelf removing required backticks around nonisolated self
  • Deprecated explicit default value for --reporter (introduced in 0.53.9)
  • Added support for sending keyword

v0.53.0

Compare Source

  • 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

v0.52.11

Compare Source

  • Updated if/switch expression workaround for Swift 5.9 bug to handle as! casts
  • Fixed indent logic for wrapped conditional assignment expressions
  • Fixed assertion failure in redundantSelf rule
  • Fixed raw string parsing bug

v0.52.10

Compare Source

  • Fixed enumNamespaces rule breaking import struct/class statements
  • Fixed unsafe application of conditionalAssignment rule to switch statements containing #if blocks

v0.52.9

Compare Source

  • Fixed redundantClosure removing required closure around conditional statements
  • Fixed redundantClosure removing closure containing conditional expressions inside a method call
  • Fixed redundantClosure generating invalid code when the redundantReturn rule is disabled
  • Fixed issue where if/switch expressions with as? cast would break build in Swift 5.9
  • Fixed blankLineAfterImports introducing spurious blank line before @preconcurrency attribute
  • Fixed bug where enumNamespaces rule wouldn't be applied immediately after an import statement
  • Fixed issue where switch case with multiple where clauses could be parsed incorrectly
  • The SwiftFormat SPM plugin now formats local dependencies, not just final product targets

v0.52.8

Compare Source

  • Fixed redundantClosure rule in cases where an if/switch expression is not permitted
  • The docComments rule now correctly handles macro comments
  • The docComments rule is now only applied to a comment block if all lines match the pattern

v0.52.7

Compare Source

  • Fixed bug where conditionalAssignment and redundantClosure rules would be applied incorrectly
  • Fixed redundantClosure rule leaving stray try or await keywords behind

v0.52.6

Compare Source

  • Fixed bug where redundantReturn rule was incorrectly applied to consecutive if statements in Swift 5.9

v0.52.5

Compare Source

  • Fixed bug where redundantReturn rule could break fallible initializers in Swift 5.9
  • Fixed incorrect application of docComments rule inside #if statements
  • The docComments rule no longer treats comments starting with Note: as a special directive
  • Fixed incorrect indenting inside #if statements immediately preceded by a comment
  • Removed arbitrary unwrap threshold for braces rule when no --maxwidth is specified
  • You can now include operators in the --asynccapturing list

v0.52.4

Compare Source

  • Fixed docComments rule incorrectly replacing comments inside switch cases and if/guard conditions
  • Fixed redundantLet rule removing required let inside ViewBuilder modifiers
  • Fixed redundantLet rule removing required let after @MainActor or @Sendable
  • Fixed bug when using --wrapconditions after-first if first line of condition is a comment
  • Added more context to "failed to terminate" error message to aid tracking down issues
  • Updated sortTypealiases rule to also remove duplicate protocols in declaration
  • Added some fixes to support parameter packs in Swift 5.9

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from ctreffs as a code owner September 17, 2023 22:25
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.4 Update dependency nicklockwood/SwiftFormat to v0.52.5 Sep 30, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from c245457 to 3527c8a Compare September 30, 2023 11:00
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.5 Update dependency nicklockwood/SwiftFormat to v0.52.6 Oct 1, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 3527c8a to f54e7bd Compare October 1, 2023 10:00
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.6 Update dependency nicklockwood/SwiftFormat to v0.52.7 Oct 6, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from f54e7bd to 9b32e70 Compare October 6, 2023 22:43
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.7 Update dependency nicklockwood/SwiftFormat to v0.52.8 Oct 17, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 9b32e70 to f5fffa0 Compare October 17, 2023 14:47
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.8 Update dependency nicklockwood/SwiftFormat to v0.52.9 Nov 11, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from f5fffa0 to e8bcf1f Compare November 11, 2023 09:47
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.9 Update dependency nicklockwood/SwiftFormat to v0.52.10 Nov 15, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from e8bcf1f to 4442e1a Compare November 15, 2023 00:42
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.10 Update dependency nicklockwood/SwiftFormat to v0.52.11 Dec 6, 2023
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 4442e1a to 23301f7 Compare December 6, 2023 01:26
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 23301f7 to b9b65a3 Compare January 8, 2024 20:17
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.52.11 Update dependency nicklockwood/SwiftFormat to v0.53.0 Jan 8, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from b9b65a3 to 57a4f28 Compare January 26, 2024 23:32
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.0 Update dependency nicklockwood/SwiftFormat to v0.53.1 Jan 26, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 57a4f28 to 7da75e8 Compare February 17, 2024 15:04
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.1 Update dependency nicklockwood/SwiftFormat to v0.53.2 Feb 17, 2024
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.2 Update dependency nicklockwood/SwiftFormat to v0.53.3 Mar 2, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 7da75e8 to e0fafe0 Compare March 2, 2024 17:14
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.3 Update dependency nicklockwood/SwiftFormat to v0.53.4 Mar 9, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from e0fafe0 to 132f9ee Compare March 9, 2024 10:06
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 132f9ee to 1628105 Compare March 17, 2024 13:53
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.4 Update dependency nicklockwood/SwiftFormat to v0.53.5 Mar 17, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 1628105 to cbcdd16 Compare April 11, 2024 05:07
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.5 Update dependency nicklockwood/SwiftFormat to v0.53.6 Apr 11, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from cbcdd16 to a7a5ad3 Compare April 14, 2024 11:39
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.6 Update dependency nicklockwood/SwiftFormat to v0.53.7 Apr 14, 2024
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.7 Update dependency nicklockwood/SwiftFormat to v0.53.8 Apr 23, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from a7a5ad3 to a8d77d4 Compare April 23, 2024 00:20
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from a8d77d4 to a5e90f5 Compare May 12, 2024 22:13
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.8 Update dependency nicklockwood/SwiftFormat to v0.53.9 May 12, 2024
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.53.9 Update dependency nicklockwood/SwiftFormat to v0.53.10 May 18, 2024
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from a5e90f5 to 395598b Compare May 18, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants