SourceKitten Versions Save

An adorable little framework and command line tool for interacting with SourceKit.

0.34.1

1 year ago
Breaking
  • None.
Enhancements
Bug Fixes
  • None.

0.34.0

1 year ago
Breaking
  • SourceKitten now requires Swift 5.7 or higher to build.
    JP Simard
Enhancements
Bug Fixes
  • None.

0.33.1

1 year ago
Breaking
  • None.
Enhancements
  • Add a File.clearCaches() function to clear a file's cached data.
    JP Simard
Bug Fixes
  • None.

0.33.0

1 year ago
Breaking
  • SourceKitten now requires Swift 5.6 or higher to build, and macOS 12 or higher to run.
    JP Simard

  • SourceKitten now always uses the in-process version of sourcekitd on macOS. The IN_PROCESS_SOURCEKIT environment variable is ignored and the SourceKittenConfiguration.preferInProcessSourceKit API has been completely removed.
    JP Simard

Enhancements
Bug Fixes
  • None.

0.32.0

2 years ago
Breaking
  • SourceKitten now requires Swift 5.3 or higher to build.
    JP Simard
Enhancements
  • Support docs generation on Swift 5.6.
    John Fairhurst

  • Added SwiftDeclarationAttributeKind values introduced in Swift 5.6.
    JP Simard

  • Add IN_PROCESS_SOURCEKIT environment variable, which causes to use the in-process version of sourcekitd on macOS. This avoids the use of XPC, which is prohibited in some sandboxed environments, such as in Swift Package Manager plugins.
    Juozas Valancius

Bug Fixes
  • None.

0.31.1

2 years ago
Breaking
  • None.
Enhancements
  • Objective C Union support.
    Brian Osborn #705

  • Add key.attributes and key.attribute enum cases to SwiftDocKey.
    Erick Sanchez

  • Add --prettify and --sort-keys flags to complete command, both of which default to false. Previously these options were hardcoded to be enabled, which slowed down the command when processing large inputs.
    Paul Taykalo #710

  • Add new SwiftDeclarationAttributeKind members available starting with Swift 5.4/5.5.
    John Fairhurst

Bug Fixes
  • None.

0.31.0

3 years ago
Breaking
  • SourceKitten now requires Swift 5.2 or higher to build.
    JP Simard

  • SourceKittenFramework can no longer be integrated as a Carthage depdendency.
    JP Simard

  • SourceKitten.xcworkspace and sourcekitten.xcproject have been completely removed. You can still use Xcode to develop SourceKitten by opening it as a Swift Package by typing xed . or xed Package.swift from your shell.
    JP Simard

  • The command line syntax has slightly changed due to migrating from the Commandant command line parsing library to swift-argument-parser. For the most part the breaking changes are all to make the syntax more unix compliant and intuitive to use. For example, commands such as sourcekitten --help or sourcekitten -h now work as expected. The help output from various commands has greatly improved as well. A few notable breaking changes:

    • doc --spm-module was removed (use --spm --module-name instead)
    • sourcekitten module_info is now sourcekitten module-info
      JP Simard
Enhancements
  • None.
Bug Fixes

0.30.1

3 years ago
Breaking
  • None.
Enhancements
  • Add SwiftDeclarationAttributeKind values introduced in Swift 5.3.
    JP Simard
Bug Fixes
  • None.

0.30.0

3 years ago
Breaking
  • SourceKitten now requires Swift 5.1 or higher to build.
    JP Simard
Enhancements
Bug Fixes

0.29.0

4 years ago
Breaking
  • Replace all uses of Int/Int64/NSRange representing byte offsets to use newly introduced ByteCount and ByteRange values instead. This will minimize the risk of accidentally using a byte-based offset in character-based contexts.
    Paul Taykalo JP Simard
Enhancements
  • None.
Bug Fixes
  • Improve key.parsed_declaration in Swift 5.1+ for declarations on multiple lines without a body.
    John Fairhurst #633