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

Abierto Apto para principiantes
#6,971 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
78/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
markdown, swift

Línea de trabajo

La entrada incorrecta está en CHANGELOG.md, bajo el encabezado ## 0.63.3: High-Speed Extraction, y debería moverse bajo ## 0.65.1. Revisa el historial de la regla en Sources/SwiftLintBuiltInRules/Rules/Idiomatic/LegacySwiftUIAspectRatioRule.swift y las etiquetas 0.63.3 a 0.65.1 para confirmar la versión. Está listo cuando la entrada de la regla aparece bajo 0.65.1 con la redacción de mejora y no se cambia ninguna otra entrada.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)
Lenguaje dominante
Swift
Estrellas
19.8k
Forks
2.3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de realm/SwiftLint

Todos los issues de realm/SwiftLint

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.