CHANGELOG lists legacy_swiftui_aspect_ratio under 0.63.3, but it first shipped in 0.65.1
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown, swift
- Domain
- documentation
Research direction
The wrong entry is in CHANGELOG.md, under the ## 0.63.3: High-Speed Extraction heading, and should move under ## 0.65.1. Check the rule's history in Sources/SwiftLintBuiltInRules/Rules/Idiomatic/LegacySwiftUIAspectRatioRule.swift and the tags 0.63.3 through 0.65.1 to confirm the release. Done when the rule's entry sits under 0.65.1 with the enhancement wording and no other entries are changed.
Written by the indexing model from the issue text.
Description
New Issue Checklist
- I've Updated SwiftLint to the latest version.
- I've searched for existing GitHub issues.
Bug Description
The CHANGELOG.md entry for the new legacy_swiftui_aspect_ratio rule is under the wrong release. It sits under ## 0.63.3: High-Speed Extraction, but the rule first shipped in 0.65.1:
- The rule was added in c733e25a2 (#6609) on 2026-07-29.
LegacySwiftUIAspectRatioRule.swiftis absent from the 0.63.3, 0.64.0 and 0.65.0 tags, and present in 0.65.1.- None of the 0.63.3, 0.64.0 or 0.65.0 tags'
CHANGELOG.mdmention the rule.
The rule is enabled by default and correctable. So the first swiftlint --fix after updating to 0.65.1 rewrites every aspectRatio(contentMode: .fit/.fill) call, and the 0.65.1 release notes don't mention it. We only traced the source of the rewrites by checking the rule's history.
The entry probably belongs under ## 0.65.1 as an enhancement. The 0.65.1 GitHub release notes could mention it too.
The related whitespace bug in the rule's correction (#6883) is already fixed on main by #6885.
Environment
- SwiftLint version: 0.65.1 (via SwiftLintPlugins)
- Xcode version: Xcode 27.2
- Installation method used: SwiftPM build tool plugin (SimplyDanny/SwiftLintPlugins)
- Configuration file: not relevant (documentation issue)
- Dominant language
- Swift
- Stars
- 19.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from realm/SwiftLint
-
`duplicate_imports` deletes `@testable import X` when `import X` is also presentPossibly taken @Akhrameev claimed this 46 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
`--working-directory` has no effect since 0.65.0Possibly taken @haruna-miyamoto claimed this 57 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
discussion enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
realm/SwiftLint#6622 · 3 comments ·
Maintainers usually reply within 1 day
-
vscode-swiftlint repository is archivedMay be free again A pull request for this issue was closed without being merged. Opendocumentation question
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
realm/SwiftLint#6541 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Maintainers usually reply within 1 day
Similar issues
-
[java] TestClassWithoutTestCases: document that abstract classes and interfaces are not checkedOpen
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 2 days
-
文件夹设置bugOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
joeseesun/qiaomu-jot#14 ·
Maintainers usually reply within 1 day
-
30-minutes algorithm any-language beginner-friendly c community cpp csharp data-structures go good first issue hacktoberfest help wanted kotlin learning leetcode php ruby rust swift
Difficulty 2/5 Under an hour Newbie friendliness 85/100
Huerte/algo-solutions-python#211 ·
Maintainers usually reply within 1 day
-
area: build-and-ci S3: minor
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manaflow-ai/cmux#39902 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thunderbird/thunderbird-ios#647 ·
Maintainers usually reply within 1 day