Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2023

This PR contains the following updates:

Package Update Change
nicklockwood/SwiftFormat minor 0.52.3 -> 0.58.5

Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.58.5

Compare Source

  • Fixed regression with indenting of macros (introduced in 0.58.4)
  • Fixed spurious removal of return keyword inside for ... where loops
  • Fixed parsing error with for await case ... loops
  • Added XCTUnwrap to the default exclusion list for hoistTry

v0.58.4

Compare Source

  • Whitespace is no longer added or removed from blank lines in multiline string literals
  • Fixed trailingComma rule incorrectly inserting commas inside typed throws
  • Fixed issue where opaqueGenericParameters rule could cause build errors with existential types
  • Fixed false positive with unusedArguments when argument is only referenced inside a macro
  • The noGuardInTests rule now preserves custom failure messages
  • The noGuardInTests rule no longer adds throws to test methods when not needed
  • Removed redundant "default" values from options help descriptions

v0.58.3

Compare Source

  • Fixed parsing of [n of X] syntax for InlineArray in Swift 6.2
  • Fixed parsing error when an opening multiline string delimiter is followed by a space
  • Fixed issue where redundantInit rule could leave orphaned parentheses
  • Fixed bug where redundantInit was incorrectly applied to (Foo.self as Bar.Type) expressions
  • Fixed bug with parsing empty property accessors that broke redundantSelf rule
  • Fixed aliasing issue with acronyms rule where one acronym overlaps another
  • Fixed unexpected wrapping of closing parenthesis in wrapArguments rule
  • Added --unknown-rules option to support environments with older SwiftFormat versions

v0.58.2

Compare Source

  • Fixed issue where modifierOrder rule confused async effect for async modifier
  • Fixed issue where testing related rules incorrectly treated functions with arguments as test cases
  • Updated redundantInit rule to apply to init calls with single trailing closure
  • Updated README.md to reflect actual precedence behavior between .swift-version files and --swift-version arguments.

v0.58.1

Compare Source

  • Fixed issue where async effect could be confused for async modifier, breaking docCommentsBeforeModifiers rule in protocol body with async functions
  • Fixed issue where wrapAttributes rule would unexpectedly wrap async effect
  • Fixed issue where .swift-version file was ignored if not also using config file
  • Fixed issue where multiple trailing closure syntax could be applied to ineligible function calls
  • Fixed issue where redundantAsync ignored await keyword in string interpolation
  • Fixed bug where acronyms rule would incorrectly always capitalize potentially matching acronyms one letter before end of identifier
  • Updated redundantLet rule to handle #Preview macro

v0.58.0

Compare Source

  • Added noForceUnwrapInTests rule
  • Added redundantThrows rule
  • Added redundantAsync rule
  • Added preferFinalClasses rule
  • Added support for Swift 6.2 raw identifiers
  • Updated trailingCommas rule to handle cases now supported by Swift 6.2
  • Updated trailingClosures rule to support multiple trailing closures
  • Added support for filtering config file options to a specific file path glob
  • Added --allow-partial-wrapping false option to disallow partial wrapping of functions and collections
  • Updated propertyTypes rule to support array, dictionary, and set literals
  • Added organizeDeclarations threshold options to organize types without adding marks
  • Added --type-body-marks remove option to organizeDeclarations
  • Updated organizeDeclarations to support organizing protocol bodies
  • Updated organizeDeclarations to treat associatedtype declarations as nested types, like typealias declarations.
  • Added --blank-line-after-switch-case always option to blankLineAfterSwitchCase
  • Add --default-test-suite-attributes option to preferSwiftTesting rule
  • Renamed --markdown-files options to strict and lenient
  • Updated redundantPublic rule to apply to private types
  • Updated trailingClosures and trailingCommas rules to support optional function calls
  • Fixed bug where markTypes rule wouldn't add marks after extensions
  • Fixed issue where redundantPublic broke @_spi annotated members
  • Improved parsing of nested markdown code blocks
  • Fixed issue where hoistTry rule could break @Test attribute
  • Fixed issue where redundantVoidReturnType rule could accidentally remove closure type
  • Fix blankLinesAroundMark not ignoring trailing comments at start of scope
  • Renamed throwingTests rule to noForceTryInTests
  • Updated singlePropertyPerLine to preserve async let declarations

v0.57.2

Compare Source

  • Updated trailingCommas rule to handle function declarations with generic arguments.
  • Updated --trailing-commas always to preserve trailing commas rather than unnecessarily removing trailing commas in some edge cases.
  • Fixed spurious deprecation message when using some non-deprecated options.

v0.57.1

Compare Source

  • Fixed issue where trailing commas were unexpectedly removed from initializer argument lists when using --trailing-commas always.
  • Fixed issue where redundantPublic rule didn't handle extensions on types defined in public extensions.
  • Added @Bindable to list of SwiftUI property wrappers used by organizeDeclarations rule.
  • Fixed case-sensitivity issue with preferFileMacro rule.

v0.57.0

Compare Source

  • Options now use --kebab-case. Existing option names without dashes remain supported for backwards compatibility. Some options have been renamed to improve clarity.
  • Added support for :this and :previous in comment directives.
  • Added support for formatting code blocks in Markdown files.
  • Added support for multiple --config file arguments.
  • Added singlePropertyPerLine rule to convert property declarations defining multiple properties into separate declarations.
  • Added redundantMemberwiseInit rule to remove explicit memberwise initializers that are identical to the struct's compiler-synthesized initializer.
  • Added redundantPublic rule to remove public access control from properties of internal types.
  • Added modifiersOnSameLine rule to keep declaration modifiers on the same line.
  • Added throwingTests rule to prefer using try and throws in unit tests rather than try!.
  • Added noGuardInTests rule to prefer convert guard statements in unit tests to try #require(...) / #expect(...) or try XCTUnwrap(...) / XCTAssert(...).
  • Added urlMacro rule to convert URL(string: "...")! initializers to a provided #URL("...") macro.
  • Added --trailing-commas collections-only and --trailing-commas multi-element-lists options to trailingCommas rule.
  • Added --type-blank-lines insert option to blankLinesAtStartOfScope and blankLinesAtEndOfScope rules.
  • Added --wrap-string-interpolation option to support disabling line wrapping within string interpolation.
  • Added --line-between-guards option to blankLinesAfterGuardStatements rule.
  • Added support for SARIF output format.
  • Improved performance of the docComments rule.
  • Fixed bug in docComments rule where trailing comments would be converted to doc comments.
  • Fixed bug where redundantNilInit rule would ignore type bodies with conformances.
  • Fixed bug where wrapEnumCases didn't handle some nested types correctly.
  • Fixed issue where # characters in config files couldn't be escaped.
  • Fixed issue where SwiftFormat for Xcode app would generate invalid config files with unescaped # characters.
  • Fixed issue where --wrap-return-type never didn't respect --allman true.

v0.56.4

Compare Source

  • Fixed issue where trailingCommas rule would not insert trailing commas in function declarations with return type
  • Fixed issue where trailingCommas rule would not insert trailing commas in array literals following ! operator
  • Fixed issue where unusedArguments rule would ignore function declarations with trailing commas
  • Fixed issue where void rule would not handle () types in typealiases
  • Fixed issue where redundantLet rule did not detect code inside result builders when nested in conditional compilation blocks

v0.56.3

Compare Source

  • Fixed issue where trailingCommas rule would insert commas in closure types and tuple types used in typealaises (not supported in Swift 6.1)

v0.56.2

Compare Source

  • Fixed issues where trailingCommas rule would insert commas in @escpaing or @Sendable closure types (not supported in Swift 6.1)
  • Fixed issue where privateStateVariables rule handled @Previewable attributes on previous line incorrectly

v0.56.1

Compare Source

  • Fixed several issues where trailingCommas rule would insert commas in places not actually supported by Swift 6.1
  • Fixed issue where --wrapeffects option would incorrectly unwrap async let properties following function call
  • Fixed issue where redundantEquatable rule would incorrectly remove == implementation in factor of synthesized implementation even if type contained non-Equatable properies like tuples
  • Fixed issue where extensionAccessControl rule would incorrectly hoist public ACL in @preconcurrency conformances
  • Fixed issue where organizeDeclarations rule would sometimes break property declarations with if expression values

v0.56.0

Compare Source

  • Added wrapMultilineFunctionChains rule to wrap chained method calls
  • Added environmentEntry rule to update SwiftUI EnvironmentValues definitions to use the @Entry macro
  • Added redundantEquatable rule to remove explicit Equatable conformances that would be compiler-synthesized
  • Added preferSwiftTesting rule to migrate XCTest-based tests to Swift Testing
  • Added swiftTestingTestCaseNames rule to remove redundant "test" prefix from Swift Testing test case methods.
  • Added preferCountWhere rule to prefer count(where:) over filter(_:).count
  • Added fileMacro rule to prefer either #file or #fileID, which have the same behavior in Swift 6 and later
  • Added blankLinesAfterGuardStatements rule to remove blank lines between consecuitve guard statements, and add blank line after last guard statement.
  • Added privateStateVariables rule to add private access control to @State properties
  • Added emptyExtensions rule to remove extensions that contain no declarations or conformances
  • Added --preserveacronyms option to acronyms rule
  • Added --wrapreturntype never option to wrapArguments rule
  • Updated trailingCommas to support Swift 6.1 trailing comma functionality
  • opaqueGenericParameters now supports protocol requirements without a body
  • --wrapeffects and --wrapreturntype now support protocol requirements and closure types
  • Fixed indentation of trailing closures after chained multiline method call when using same-line closing parens
  • blankLinesAtStartOfScope rule now supports switch cases and closure capture / parameter lists
  • Fixed issue where type under organizeDeclarations line count threshold would ignore swiftformat:sort directives
  • Fixed issue where organizeDeclarations rule would unexpectedly remove non-mark comments
  • Compiling SwiftFormat now requires Swift 5.7+
  • SwiftFormat prerelease builds can now be installed via Homebrew using brew install swiftformat --head. Prerelease builds are subject to breaking changes.

v0.55.6

Compare Source

  • Fixed parsing bugs related to parameter packs (repeat, each keywords)
  • Fixed bug where propertyTypes rule could cause build failure in properties with some type
  • Fixed bug where --callsiteparen balanced would have no effect when using --closingparen same-line
  • Fatal error messages now include the name of the currently-running rule
  • Docker build now uses Swift 6.0.3

v0.55.5

Compare Source

  • Fixed bug with yodaConditions rule mangling generic function calls
  • Fixed indenting of guard else or opening brace following if/switch expression
  • The organizeDeclarations rule no longer treats properties with didSet as computed
  • Improved formatting support for async and throwing closures

v0.55.4

Compare Source

  • Fixed inconsistent indenting of wrapped where clause for switch ... case statements
  • Fixed bug where unusedArguments could remove required arguments in some cases
  • The sortTypealiases rule now correctly handles any keyword

v0.55.3

Compare Source

  • Fixed bug where sortTypealiases rule could mangle generic types, or ones using the any keyword
  • The preferKeyPaths rule now only uses \\.self for Swift 6 and later (fix din't land yet in 5.10)
  • Added speculative fix for plugin artifactbundle not working on ubuntu-latest

v0.55.2

Compare Source

  • Fixed bug where unusedArguments failed to remove arguments that matched switch variable bindings
  • Fixed bug where unusedArguments failed to remove arguments that matched nested function call labels
  • Fixed spurious lint errors for blankLinesAtStartOfScope when using organizeDeclarations rule
  • Fixed bug where indentation errors were incorrectly reported as wrap rule lint errors
  • The preferKeyPaths rule now handles the \\.self case for Swift 5.10 and later
  • Fixed parsing of keyPaths beginning with \.?

v0.55.1

Compare Source

  • Fixed bug where docCommentsBeforeModifiers got confused by enum cases that match modifier names
  • Fixed bug where wrapEnumCases would mangle nested or successive enum declarations
  • Artifact Bundle now includes pre-built binary for ARM-based Linux systems

v0.55.0

Compare Source

  • Added docCommentsBeforeModifiers rule to hoist doc comments above declaration modifiers
  • Added unusedPrivateDeclarations rule to remove unused private or fileprivate declarations
  • Added propertyTypes rule to control the use of inferred or explicit types for properties
  • Renamed the --redundanttype option to --propertytypes as it's shared by both rules
  • Added --ranges preserve and --operatorfunc preserve options
  • Added --languagemode option to specify if you are using Swift 5 or 6 language mode
  • The organizeDeclarations rule can now sort declarations by name/type/visibility/etc
  • Fixed organizeDeclarations bug where --beforemarks unexpectedly matched keywords in function bodies
  • Fixed missing lint output for organizeDeclarations rule
  • Fixed bug in markTypes rule for chained protocol extension names
  • Renamed the confusing --onelineforeach option to --inlinedforeach
  • Git info can now be used in header comments when formatting code from stdin
  • You can now use the --outputtokens option to print output as tokens in JSON format
  • Each rule and test is now defined in a separate file to make it easier to maintain/contribute
  • Updated minimum Swift version for building SwiftFormat to 5.3 (you can still format older Swift code)
  • Docker build now uses static Linux SDK

v0.54.6

Compare Source

  • Fixed incorrect wrapping of conditional bodies inside single-line string literals
  • Fixed properties inside type with where clause being treated as local scope
  • Fixed regression in wrapMultilineStatementBraces rule
  • Fixed tokenizing of a throwing closure type in a generics clause
  • Fixed bug in parseDeclarations where incorrect tokens could cause rules to time out
  • Fixed issue where organizeDeclarations would add extra blank lines if type had blank lines with spaces
  • Updated SwiftFormat for Xcode installation instructions for macOS 15 Sequoia
  • Added known issue to README for preferForLoop rule

v0.54.5

Compare Source

  • Fixed crash in unusedArguments rule
  • Fixed bug where preferForLoop failed if forEach contains guard ... else { return }

v0.54.4

Compare Source

  • Fixed bug where trailing comma was erroneously inserted into a wrapped array type extension
  • Fixed bug where return was incorrectly removed inside catch statement with where clause
  • Fixed opaqueGenericParameters rule being incorrectly applied to functions with typed throws
  • Fixed spaceAroundBrackets behaving incorrectly inside a macro invocation
  • Fixed unusedArguments false positive inside multiline string literal
  • Fixed a case where removing return resulted in non-compiling code for opaque return types
  • Redundant Void return type is now removed from functions in protocol declarations
  • Fixed a bug where unusedArguments didn't handle conditional assignment shadowing correctly
  • Fixed Xcode 16 Beta warnings related to unhandled files when building SwiftFormat package
  • The Swift runtime is now packaged with the installer on Windows as on Linux
  • The Windows installer now uses a more conventional directory structure
  • SwiftFormat for Windows now supports arm64

v0.54.3

Compare Source

  • Fixed issue where --wrapeffects never could unexpectedly remove unrelated code
  • Fixed --condassignment option (setting this previously had no effect)
  • The redundantReturn rule no longer removes conditional returns if conditionalAssignment is disabled
  • The redundantObjc rule now strips implicit @objc attribute for @IBSegueAction functions
  • Fixed bug where violations for rules that insert new lines were sometimes ignored in lint output

v0.54.2

Compare Source

  • Fixed broken formatter cache, which caused a significant performance regression since 0.54.0
  • The blankLinesBetweenChainedFunctions rule now removes blank line after comments in the chain
  • The blankLinesBetweenChainedFunctions rule no longer conflicts with blankLinesAroundMark
  • FixedredundantInternal removing required internal keyword in extensions with where clause
  • Fixed another case of spurious return removal in conditional blocks
  • Fixed redundantNilInit rule inserting nil after as keyword

v0.54.1

Compare Source

  • The --nilInit insert option is no longer applied to lazy or attributed properties
  • The blankLinesBetweenChainedFunctions rule now correctly handles comments in the chain
  • Fixed indenting of wrapped arguments in --fragment mode
  • Fixed bug where attributes were mistaken for an accessor in a computer property
  • Fixed indenting of commented code after an opening bracket
  • Fixed spurious removal of return in conditional blocks
  • Fixed --lint mode reporter output when using stdin

v0.54.0

Compare Source

  • Added blankLineAfterSwitchCase rule for inserting blank lines after switch cases
  • Added consistentSwitchCaseSpacing rule for ensuring consistent spacing between switch cases
  • Added redundantProperty rule for removing variable assignments where value is immediately returned
  • Added redundantTypedThrows rule for stripping redundant Never or any Error throws types
  • Setting --report without --reporter type now raises an error if type can't be inferred
  • Added XML reporter for Checkstyle-compatible lint reporting (use the --reporter xml option)
  • Added --typedelimiter option for controlling spacing around the colon in type definitions
  • Added --initcodernil option for returning nil instead of asserting in unavailable init?(coder:)
  • The fileHeader rule now uses git info for created date (if available) instead of file system
  • Added git author, author.name and author.email tokens for file header templates
  • Added --callsiteparen option for controlling closing paren placement at function call sites
  • The wrapAttributes rule can now be applied differently to computed properties vs stored properties
  • The wrapAttributes rule can now be applied differently to complex (parameterized) vs simple attributes
  • Replaced --varattributes with --storedvarattrs, --computedvarattrs and --complexattrs options
  • Added —-nilinit option for controlling whether redundantNilInit adds or removes explicit nil
  • Added ability to organize declarations by type over visibility (use --organizationmode type)
  • Fixed bug where enabling organizeDeclarations for structs caused sortDeclarations to have no effect
  • Fixed bug where if statement body could be incorrectly parsed as a trailing closure
  • Improved attribute handling in opaqueGenericParameters rule
  • SwiftFormat now recognizes init and _modify property accessors
  • Fixed bug with preferForLoop rule and tuple argument matching
  • Extended conditionalAssignment rule to handle more cases
  • Added --condassignment after-property option
  • Fixed await being hoisted outside of macro arguments
  • Fixed unsafe adding/removal of self within macros
  • Added os_log to --selfrequired defaults

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 was generated by Mend Renovate. View the repository job log.

@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.55.5 Update dependency nicklockwood/SwiftFormat to v0.55.6 May 2, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from eab8f2c to abc135e Compare May 13, 2025 03:48
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.55.6 Update dependency nicklockwood/SwiftFormat to v0.56.0 May 13, 2025
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.56.0 Update dependency nicklockwood/SwiftFormat to v0.56.1 May 14, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from abc135e to ac487bc Compare May 14, 2025 06:21
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from ac487bc to e90fe61 Compare May 27, 2025 20:33
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.56.1 Update dependency nicklockwood/SwiftFormat to v0.56.2 May 27, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from e90fe61 to 692e8ae Compare June 6, 2025 00:45
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.56.2 Update dependency nicklockwood/SwiftFormat to v0.56.3 Jun 6, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 692e8ae to d027acd Compare June 15, 2025 16:58
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.56.3 Update dependency nicklockwood/SwiftFormat to v0.56.4 Jun 15, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from d027acd to 1a83c7b Compare July 13, 2025 18:44
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.56.4 Update dependency nicklockwood/SwiftFormat to v0.57.0 Jul 13, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 1a83c7b to e43c724 Compare July 14, 2025 20:12
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.57.0 Update dependency nicklockwood/SwiftFormat to v0.57.1 Jul 14, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from e43c724 to 8603d52 Compare July 15, 2025 03:34
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.57.1 Update dependency nicklockwood/SwiftFormat to v0.57.2 Jul 15, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 8603d52 to 87c22a2 Compare September 23, 2025 06:29
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.57.2 Update dependency nicklockwood/SwiftFormat to v0.58.0 Sep 23, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 87c22a2 to 0584729 Compare September 24, 2025 17:06
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.58.0 Update dependency nicklockwood/SwiftFormat to v0.58.1 Sep 24, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 0584729 to ecd55eb Compare September 29, 2025 16:54
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.58.1 Update dependency nicklockwood/SwiftFormat to v0.58.2 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from ecd55eb to 618a850 Compare October 4, 2025 13:44
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.58.2 Update dependency nicklockwood/SwiftFormat to v0.58.3 Oct 4, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 618a850 to 3f417ed Compare October 16, 2025 10:32
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.58.3 Update dependency nicklockwood/SwiftFormat to v0.58.4 Oct 16, 2025
@renovate renovate bot force-pushed the renovate/nicklockwood-swiftformat-0.x branch from 3f417ed to f17804c Compare October 18, 2025 02:12
@renovate renovate bot changed the title Update dependency nicklockwood/SwiftFormat to v0.58.4 Update dependency nicklockwood/SwiftFormat to v0.58.5 Oct 18, 2025
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.

0 participants