Skip to content

v0.23.8

Choose a tag to compare

@cyberchronos00 cyberchronos00 released this 19 Oct 08:10
· 11 commits to main since this release

Added

  • cg parity --structure pairs types still missing by the fields they declare (confidence fields). Stored properties count under their wire names: Swift CodingKeys raw values, or Kotlin @SerialName / @SerializedName / @Json(name =). So a Swift Codable model meets its renamed Kotlin @Serializable port. Enum cases are compared with enum cases. On Bitwarden this adds 52 and 55 inferred pairs, mostly request / response models and their …Json counterparts. See parity.md (#226, #93).
  • Image and raw resources (Image("x"), UIImage(named:), Asset.Images.x, Image(.x), R.drawable.x, Res.drawable.x) are a structure feature (res:) (#226).
  • cg parity --both-sides lists the matched pairs and what only the target has (== ONLY IN TARGET, --json target_only): unmatched target types and top-level symbols, plus unmatched members of matched target types (#226).

Changed

  • cg parity --structure: a pair whose shared uses are all generic (found in more than three files on a side, such as l10n:cancel or l10n:yes) now needs two shared name words. Numbers are in validation-log.md (#226).