Skip to content

Releases: jpsim/SourceKitten

0.22.0: Syntax Tree Ornament

27 Nov 18:19
176f042
Compare
Choose a tag to compare
Breaking
  • SourceKitten now requires Swift 4.2 or higher to build.
    JP Simard
Enhancements
  • Add Request.syntaxTree to get a serialized representation of the file's
    SwiftSyntax tree.
    JP Simard
Bug Fixes

0.21.3: Baby Lynx

19 Nov 02:09
79ca340
Compare
Choose a tag to compare

This is the last release to support building with Swift 4.0 and Swift 4.1.

Breaking
  • None.
Enhancements
  • If New Build System is enabled on Xcode, the doc command does not need to
    use the clean action on xcodebuild.
    Norio Nomura

  • Use 'as' bridging on Linux when using Swift 4.2.
    JP Simard

Bug Fixes
  • None.

0.21.2: Fel d 1

30 Aug 21:28
4be914b
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Add support for C-language annotations
    (e.g. __attribute__((annotate("This is an annotation")))).
    Jeff Verkoeyen

  • Improve support for building & running with Swift 4.2.
    Norio Nomura

  • Add new values for SwiftDeclarationAttributeKind and SyntaxKind with
    Swift 4.2.
    JP Simard

Bug Fixes
  • None.

0.21.1

24 Jun 18:48
e6efd3d
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes

0.21.0: Sylvester J. Pussycat Sr.

23 Apr 03:22
7c09176
Compare
Choose a tag to compare
Breaking
  • SourceKitten now requires Swift 4.0 or higher to build.
    JP Simard
Enhancements
  • Make all SwiftDeclarationAttributeKind cases available no matter
    which version of Swift was used to compile SourceKitten.
    Marcelo Fabri
Bug Fixes
  • Fix issue locating libsourcekitdInProc.so on some Linux distributions.
    Mike Hovan
    #513

0.20.0: Captain Whiskers

08 Apr 01:24
b6b1041
Compare
Choose a tag to compare

This is the last release to support Swift 3.2 and Swift 3.3.
The next release will require Swift 4.0 or higher.

Breaking
  • Change type of parameter from sourcekitd_object_t to SourceKitObject?.

    • File.process(dictionary:cursorInfoRequest:syntaxMap:)
    • Request.customRequest(request:)
    • SwiftDocs.init(file:dictionary:cursorInfoRequest:)
      Norio Nomura
  • Remove File.lines:setter.
    Norio Nomura

Enhancements
  • Add SwiftDeclarationAttributeKind that represents declaration attributes in
    Swift.
    Daniel Metzing
    #504

  • Add SourceKitObject that represents sourcekitd_object_t in Swift.
    Norio Nomura
    #489

  • Replaced linear index search with binary search in NSString extension.
    Tamas Lustyik

  • SourceKit search strategy improved on Linux. Supports swiftenv.
    Alexander Lash

  • Add elements case to SwiftDocKey.
    Sho Ikeda

  • Added module_info command to sourcekitten CLI.
    Erik Abair

Bug Fixes

0.19.1: Commanding Meow

01 Feb 23:05
e06eb73
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix Swift Package Manager warnings when using SourceKitten targets as
    dependencies.
    JP Simard
    #478

0.19.0: Implicitly Unwrapped Cat Fur

01 Feb 18:20
b4d79be
Compare
Choose a tag to compare
Breaking
  • SourceKitten now requires Xcode 9 and Swift 3.2+ to build.
    Norio Nomura

  • Deprecated Request.failableSend(). Please use Request.send() instead.
    Norio Nomura

  • Some APIs changed to throws.

    • File.format(trimmingTrailingWhitespace:useTabs:indentWidth:) throws
    • Structure.init(file:) throws
    • SyntaxMap.init(file:) throws
      Norio Nomura
Enhancements
Bug Fixes
  • Fix Swift declarations when generating Objective-C docs for generic types.
    John Fairhurst

0.18.4: Le Chat

10 Nov 21:37
71e8297
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix Swift 4.0.2 deprecation warnings in dependencies, specifically
    SWXMLHash.
    Norio Nomura

0.18.3: Felis Catus

09 Nov 17:57
81a1114
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
Bug Fixes
  • Preserve horizontal alignment in multi-line Swift declarations.
    John Fairhurst