Files
codeql/swift/ql/lib/change-notes/released/6.0.0.md
2025-11-03 14:52:23 +00:00

910 B

6.0.0

Breaking Changes

  • The OpenedArchetypeType class has been renamed as ExistentialArchetypeType.
  • The OtherAvailabilitySpec class has been removed. Use AvailabilitySpec::isWildcard instead.
  • The PlatformVersionAvailabilitySpec has been removed. Use AvailabilitySpec::getPlatform and AvailabilitySpec::getVersion instead.

New Features

  • Added AST nodes UsingDecl, UnsafeExpr, and InlineArrayType that correspond to new nodes in Swift 6.2.
  • Added new predicates isDistributedGet, isRead2, isModify2, and isInit to the Accessor class that correspond to new accessors in Swift 6.2.
  • Added a new predicate isApply to the KeyPathComponent class that corresponds to method and initializer key path components in Swift 6.2.

Major Analysis Improvements

  • Upgraded to allow analysis of Swift 6.2.
  • Support for experimental Embedded Swift has been dropped.