This repository was archived by the owner on Jun 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
[Renovate] Update dependency nicklockwood/SwiftFormat to from: "0.56.4" #365
Open
renovate
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/nicklockwood-swiftformat-0.x
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or 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
311d7b7 to
740dab6
Compare
740dab6 to
b417860
Compare
b417860 to
2bf1d0c
Compare
2bf1d0c to
657c1ac
Compare
657c1ac to
630a3d4
Compare
630a3d4 to
87b02e0
Compare
87b02e0 to
554f122
Compare
554f122 to
111ba5e
Compare
111ba5e to
3ab0502
Compare
3ab0502 to
9d6c0be
Compare
9d6c0be to
45b2a74
Compare
45b2a74 to
9916c94
Compare
9916c94 to
f9208a0
Compare
f9208a0 to
02fdaad
Compare
02fdaad to
3f87edc
Compare
3f87edc to
27a9de5
Compare
27a9de5 to
9fc8b95
Compare
9fc8b95 to
30221e1
Compare
30221e1 to
dfb010e
Compare
dfb010e to
4aa4aa4
Compare
4aa4aa4 to
e549000
Compare
e549000 to
711a2fa
Compare
711a2fa to
a64f4cf
Compare
a64f4cf to
51af22e
Compare
51af22e to
f16100f
Compare
f16100f to
a5c9ccc
Compare
a5c9ccc to
8766450
Compare
8766450 to
9345af5
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
from: "0.53.2"->from: "0.56.4"Release Notes
nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)
v0.56.4Compare Source
trailingCommasrule would not insert trailing commas in function declarations with return typetrailingCommasrule would not insert trailing commas in array literals following!operatorunusedArgumentsrule would ignore function declarations with trailing commasvoidrule would not handle()types in typealiasesredundantLetrule did not detect code inside result builders when nested in conditional compilation blocksv0.56.3Compare Source
trailingCommasrule would insert commas in closure types and tuple types used in typealaises (not supported in Swift 6.1)v0.56.2Compare Source
trailingCommasrule would insert commas in@escpaingor@Sendableclosure types (not supported in Swift 6.1)privateStateVariablesrule handled@Previewableattributes on previous line incorrectlyv0.56.1Compare Source
trailingCommasrule would insert commas in places not actually supported by Swift 6.1--wrapeffectsoption would incorrectly unwrapasync letproperties following function callredundantEquatablerule would incorrectly remove==implementation in factor of synthesized implementation even if type contained non-Equatable properies like tuplesextensionAccessControlrule would incorrectly hoistpublicACL in@preconcurrencyconformancesorganizeDeclarationsrule would sometimes break property declarations with if expression valuesv0.56.0Compare Source
wrapMultilineFunctionChainsrule to wrap chained method callsenvironmentEntryrule to update SwiftUIEnvironmentValuesdefinitions to use the@EntrymacroredundantEquatablerule to remove explicitEquatableconformances that would be compiler-synthesizedpreferSwiftTestingrule to migrate XCTest-based tests to Swift TestingswiftTestingTestCaseNamesrule to remove redundant "test" prefix from Swift Testing test case methods.preferCountWhererule to prefercount(where:)overfilter(_:).countfileMacrorule to prefer either#fileor#fileID, which have the same behavior in Swift 6 and laterblankLinesAfterGuardStatementsrule to remove blank lines between consecuitve guard statements, and add blank line after last guard statement.privateStateVariablesrule to addprivateaccess control to@StatepropertiesemptyExtensionsrule to remove extensions that contain no declarations or conformances--preserveacronymsoption toacronymsrule--wrapreturntype neveroption towrapArgumentsruletrailingCommasto support Swift 6.1 trailing comma functionalityopaqueGenericParametersnow supports protocol requirements without a body--wrapeffectsand--wrapreturntypenow support protocol requirements and closure typesblankLinesAtStartOfScoperule now supports switch cases and closure capture / parameter listsorganizeDeclarationsline count threshold would ignoreswiftformat:sortdirectivesorganizeDeclarationsrule would unexpectedly remove non-mark commentsbrew install swiftformat --head. Prerelease builds are subject to breaking changes.v0.55.6Compare Source
repeat,eachkeywords)propertyTypesrule could cause build failure in properties withsometype--callsiteparen balancedwould have no effect when using--closingparen same-linev0.55.5Compare Source
yodaConditionsrule mangling generic function callselseor opening brace followingif/switchexpressionorganizeDeclarationsrule no longer treats properties withdidSetas computedv0.55.4Compare Source
whereclause forswitch ... casestatementsunusedArgumentscould remove required arguments in some casessortTypealiasesrule now correctly handlesanykeywordv0.55.3Compare Source
sortTypealiasesrule could mangle generic types, or ones using theanykeywordpreferKeyPathsrule now only uses\\.selffor Swift 6 and later (fix din't land yet in 5.10)artifactbundlenot working onubuntu-latestv0.55.2Compare Source
unusedArgumentsfailed to remove arguments that matched switch variable bindingsunusedArgumentsfailed to remove arguments that matched nested function call labelsblankLinesAtStartOfScopewhen usingorganizeDeclarationsrulewraprule lint errorspreferKeyPathsrule now handles the\\.selfcase for Swift 5.10 and later\.?v0.55.1Compare Source
docCommentsBeforeModifiersgot confused byenumcases that match modifier nameswrapEnumCaseswould mangle nested or successiveenumdeclarationsv0.55.0Compare Source
docCommentsBeforeModifiersrule to hoist doc comments above declaration modifiersunusedPrivateDeclarationsrule to remove unusedprivateorfileprivatedeclarationspropertyTypesrule to control the use of inferred or explicit types for properties--redundanttypeoption to--propertytypesas it's shared by both rules--ranges preserveand--operatorfunc preserveoptions--languagemodeoption to specify if you are using Swift 5 or 6 language modeorganizeDeclarationsrule can now sort declarations by name/type/visibility/etcorganizeDeclarationsbug where--beforemarksunexpectedly matched keywords in function bodiesorganizeDeclarationsrulemarkTypesrule for chained protocol extension names--onelineforeachoption to--inlinedforeach--outputtokensoption to print output as tokens in JSON formatv0.54.6Compare Source
wrapMultilineStatementBracesruleparseDeclarationswhere incorrect tokens could cause rules to time outorganizeDeclarationswould add extra blank lines if type had blank lines with spacespreferForLooprulev0.54.5Compare Source
unusedArgumentsrulepreferForLoopfailed ifforEachcontainsguard ... else { return }v0.54.4Compare Source
returnwas incorrectly removed insidecatchstatement withwhereclauseopaqueGenericParametersrule being incorrectly applied to functions with typedthrowsspaceAroundBracketsbehaving incorrectly inside a macro invocationunusedArgumentsfalse positive inside multiline string literalreturnresulted in non-compiling code for opaque return typesVoidreturn type is now removed from functions in protocol declarationsunusedArgumentsdidn't handle conditional assignment shadowing correctlyv0.54.3Compare Source
--wrapeffects nevercould unexpectedly remove unrelated code--condassignmentoption (setting this previously had no effect)redundantReturnrule no longer removes conditionalreturns ifconditionalAssignmentis disabledredundantObjcrule now strips implicit@objcattribute for@IBSegueActionfunctionsv0.54.2Compare Source
blankLinesBetweenChainedFunctionsrule now removes blank line after comments in the chainblankLinesBetweenChainedFunctionsrule no longer conflicts withblankLinesAroundMarkredundantInternalremoving requiredinternalkeyword in extensions withwhereclausereturnremoval in conditional blocksredundantNilInitrule insertingnilafteraskeywordv0.54.1Compare Source
--nilInit insertoption is no longer applied to lazy or attributed propertiesblankLinesBetweenChainedFunctionsrule now correctly handles comments in the chain--fragmentmodereturnin conditional blocks--lintmode reporter output when usingstdinv0.54.0Compare Source
blankLineAfterSwitchCaserule for inserting blank lines after switch casesconsistentSwitchCaseSpacingrule for ensuring consistent spacing between switch casesredundantPropertyrule for removing variable assignments where value is immediately returnedredundantTypedThrowsrule for stripping redundantNeverorany Errorthrowstypes--reportwithout--reportertype now raises an error if type can't be inferred--reporter xmloption)--typedelimiteroption for controlling spacing around the colon in type definitions--initcoderniloption for returningnilinstead of asserting in unavailableinit?(coder:)fileHeaderrule now uses git info forcreateddate (if available) instead of file systemauthor,author.nameandauthor.emailtokens for file header templates--callsiteparenoption for controlling closing paren placement at function call siteswrapAttributesrule can now be applied differently to computed properties vs stored propertieswrapAttributesrule can now be applied differently to complex (parameterized) vs simple attributes--varattributeswith--storedvarattrs,--computedvarattrsand--complexattrsoptions—-nilinitoption for controlling whetherredundantNilInitadds or removes explicitnil--organizationmode type)organizeDeclarationsfor structs causedsortDeclarationsto have no effectopaqueGenericParameters ruleinitand_modifyproperty accessorspreferForLooprule and tuple argument matchingconditionalAssignmentrule to handle more cases--condassignment after-propertyoptionselfwithin macrosos_logto--selfrequireddefaultsv0.53.10Compare Source
stdoutdirectory when using--output stdoutunusedArgumentsfalse positive for multiline function call arguments~operator--reportor--reporterargumentsstrongifiedSelfremoving required backticks around nonisolatedselfdefaultvalue for--reporter(introduced in 0.53.9)sendingkeywordv0.53.9Compare Source
unusedArgumentswhen shadowing function argument with conditional assignment declaration--linterrors are no longer shown in--quietmode (restores pre-0.53.8 behavior)v0.53.8Compare Source
--strictoption to emit non-zero exit code after applying changes in formatting modeenumNamespacesrule is no longer applied to structs with macros that have generic argumentsopaqueGenericParametersrule is no longer applied to structs with macros or attributesredundantParensspuriously removed parens inside a closureredundantInitmishandled a.initafter a ternary operatorv0.53.7Compare Source
redundantParenswhere first parens inside a closure were spuriously removedwrapEnumCasesrule mangling unindented caseswrapEnumCasesrule no longer wraps cases inside inline enum declarationsredundantInitmetatype heuristic to reduce false positivesv0.53.6Compare Source
.operator inside attribute argumentsredundantTyperule no longer strips required explicit type from@Modelclass default valuesredundantInitdidn't work on collection typesredundantParensrule now correctly handles@MainActorclosureseach Xparameter pack expressions--wrapreturntype if-multilinedidn't work with arrays, dictionaries, tuples, or generic typesspaceAroundParens/Bracketsrules now correctly insert a space afterborrowing/consumingandisolatedimportstatements--doccomments preserveoption to preserve all doc comments, even if not followed by a declarationv0.53.5Compare Source
nonisolated(unsafe)modifierstryorasyncafter a string literal expression--lenientmodestatic/classmodifiersv0.53.4Compare Source
enumNamespacesrule is no longer applied to structs with attributes or macrosnonisolated(unsafe)modifier is now handled correctlydo throws(Type) { ... }clausesv0.53.3Compare Source
preferForLooprule now correctly singularizes loop conditions that end with "cases"preferForLoopmangled throwing or asyncforEachexpressionsorganizeDeclarationswas enabled but excluded declaration type@unknown defaultcasesenumNamespacesrulethrowsConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.