CHANGELOG lists legacy_swiftui_aspect_ratio under 0.63.3, but it first shipped in 0.65.1

Open Beginner friendly
#6,971 0 comments 0 reactions 0 assignees View on GitHub

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
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.swift is 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.md mention 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from realm/SwiftLint

All issues in realm/SwiftLint

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.