@jpsim jpsim released this Aug 30, 2018 · 10 commits to master since this release

Assets 4
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.

@jpsim jpsim released this Jun 24, 2018 · 45 commits to master since this release

Assets 4
Breaking
  • None.
Enhancements
  • None.
Bug Fixes

@jpsim jpsim released this Apr 23, 2018 · 84 commits to master since this release

Assets 4
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

@jpsim jpsim released this Apr 8, 2018 · 100 commits to master since this release

Assets 4

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

@jpsim jpsim released this Feb 1, 2018 · 194 commits to master since this release

Assets 4
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix Swift Package Manager warnings when using SourceKitten targets as
    dependencies.
    JP Simard
    #478

@jpsim jpsim released this Feb 1, 2018 · 199 commits to master since this release

Assets 4
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

@jpsim jpsim released this Nov 10, 2017 · 257 commits to master since this release

Assets 4
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix Swift 4.0.2 deprecation warnings in dependencies, specifically
    SWXMLHash.
    Norio Nomura

@jpsim jpsim released this Nov 9, 2017 · 275 commits to master since this release

Assets 4
Breaking
  • None.
Enhancements
Bug Fixes
  • Preserve horizontal alignment in multi-line Swift declarations.
    John Fairhurst

@jpsim jpsim released this Oct 20, 2017 · 292 commits to master since this release

Assets 4
Breaking
  • None.
Enhancements
  • Add tabWidth parameter (default: 1) for lineAndCharacter.
    Marcel Jackwerth

  • Add File(pathDeferringReading:) initializer.
    JP Simard

Bug Fixes
  • Fix Swift declarations when generating Objective-C docs being truncated where
    ampersands were included.
    JP Simard

@jpsim jpsim released this Aug 21, 2017 · 318 commits to master since this release

Assets 4
Breaking
  • None.
Enhancements
  • Updates to support Xcode 9 beta 5 & accompanying versions of Swift 3.2/4.0.
    JP Simard
Bug Fixes
  • Fix compilation failures due to long debug times by removing compiler flag:
    -warn-long-function-bodies=200.
    Marcelo Fabri