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

Aperta Adatta ai principianti
#6,971 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
78/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown, swift
Ambito
documentation

Direzione di ricerca

La voce errata si trova in CHANGELOG.md, sotto l'intestazione ## 0.63.3: High-Speed Extraction, e dovrebbe essere spostata sotto ## 0.65.1. Controlla la cronologia della regola in Sources/SwiftLintBuiltInRules/Rules/Idiomatic/LegacySwiftUIAspectRatioRule.swift e i tag da 0.63.3 a 0.65.1 per confermare la release. È completato quando la voce della regola si trova sotto 0.65.1 con la formulazione relativa al miglioramento e nessun'altra voce è stata modificata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Swift
Stelle
19.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di realm/SwiftLint

Tutte le issue di realm/SwiftLint

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.