Changelog History
Page 5
-
v0.15.0 Changes
๐ฅ Breaking
- ๐ SourceKitten now requires Xcode 8.0 and Swift 3.0 to build.
APIs have been adapted to conform to the Swift 3 API Design Guidelines.
JP Simard Norio Nomura
โจ Enhancements
โ Add
--spm-module [ModuleName]
flag tocomplete
to automatically detect compiler flags for Swift Package Manager modules.swift build
must be run prior to support detection.
vdka #270๐ง Now builds and passes most tests on Linux using the Swift Package Manager with Swift 3.0. This requires
libsourcekitdInProc.so
to be built and located in/usr/lib
, or in another location specified by theLINUX_SOURCEKIT_LIB_PATH
environment variable. A preconfigured Docker image is available on Docker Hub by the ID ofnorionomura/sourcekit:30
.
JP Simard Norio Nomura #179๐ Now supports Swift Package Manager on macOS and Linux.
JP Simard๐ Now supports docinfo requests for sourcetext and module keys.
Erik Abair๐ Now supports Objective-C class properties.
Jรฉrรฉmie Girault JP Simard #243โ Add podspec to support using SourceKittenFramework with CocoaPods.
JP Simard
๐ Bug Fixes
NSString.lines()
generated surplus line when string ended with newline character.
Norio Nomura #259
- ๐ SourceKitten now requires Xcode 8.0 and Swift 3.0 to build.
APIs have been adapted to conform to the Swift 3 API Design Guidelines.
-
v0.14.1 Changes
๐ฅ Breaking
- None.
โจ Enhancements
- None.
๐ Bug Fixes
- ๐ Fixed Homebrew distribution.
Norio Nomura
-
v0.14.0 Changes
๐ This is the last release to support Swift 2.2 and Swift 2.3. ๐ The next release will require Swift 3.0.
๐ฅ Breaking
๐ Embedding frameworks needed by
sourcekitten
was moved from SourceKittenFramework Xcode target to the sourcekitten target. TheSourceKittenFramework.framework
product built by the SourceKittenFramework target no longer contains unnecessary frameworks or multiple copies of the Swift libraries.
Norio NomuraRequire passing compiler arguments to
index
command.
Brian Gesiakโ Remove
--compilerargs
CLI flag. Arguments are now passed after--
.
Keith Smiley
โจ Enhancements
๐จ Refactor to unite swift lang syntax types with SwiftLangSyntax protocol.
๐ Make SwiftDocKey public.
Evgeny Suvorov๐ Swift 2.3 support.
Syo Ikeda๐ The following availability and deprecation values are now exposed for Objective-C APIs.
- key.always_deprecated
- key.always_unavailable
- key.deprecation_message
- key.unavailable_message
Jeff Verkoeyen
โ Add
SwiftDeclarationKind.PrecedenceGroup
.
JP Simard
๐ Bug Fixes
๐ Fix issue where single-line declaration+bodies would include the body in the parsed declaration when generating docs.
JP Simard #45 realm/jazzy#226๐ Fix issue where directories ending with
.swift
would be considered Swift source files.
JP Simard realm/jazzy#586
-
v0.13.0 Changes
๐ฅ Breaking
- None.
โจ Enhancements
โ Add
format
command that re-indents a Swift file much like pasting into Xcode would. This command optionally takes the following parameters:--file (string)
: relative or absolute path of Swift file to format--no-trim-whitespace
: trim trailing whitespace--use-tabs
: use tabs to indent--indent-width (integer)
: number of spaces to indent
JP Simard
โ Add
--spm-module [ModuleName]
flag todoc
to document Swift Package Manager modules. Need to runswift build
prior to runningsourcekitten doc
. The right Swift toolchain version must also be selected (by settingTOOLCHAIN_DIR
or similar).
JP Simardโ Add support
TOOLCHAINS
environment variable to selecting alternative toolchains for loading SourceKitService.
Norio Nomura
๐ Bug Fixes
- โ Add support for handling
CXCursor_UnexposedDecl
declarations when documenting Objective-C.
JP Simard realm/jazzy#543
-
v0.12.1 Changes
๐ฅ Breaking
- None.
โจ Enhancements
- ๐ Swift declarations are included when generating Objective-C documentation.
JP Simard realm/jazzy#136
๐ Bug Fixes
- ๐ Fixed situations where the wrong documentation comment was found for a
declaration, or when documentation comments were further than a single line
away from their declaration and the declaration would be incorrectly
considered undocumented.
JP Simard realm/jazzy#454 realm/jazzy#502
-
v0.11.0 Changes
๐ฅ Breaking
- Now
libclang.dylib
andsourcekitd.framework
are dynamically loaded at runtime by SourceKittenFramework to use the versions included in the Xcode version specified byxcode-select -p
or custom toolchains. If SourceKittenFramework clients previously accessed either of these libraries directly using their APIs, those are no longer available.
Norio Nomura #167
โจ Enhancements
Simplify the process of generating library wrappers and validate library wrappers in unit tests.
JP Simard๐ Support
swift test
on OS X.
Norio Nomura
๐ Bug Fixes
๐ Fix crash on DOS newlines.
Norio Nomura realm/SwiftLint#315๐ Fix doc.comment blank for many declarations, causing missing Jazzy docs.
Norio Nomura #142๐ Fix "Unrecognized arguments:" error on
doc
command.
Norio Nomura #174๐ Fix "illegal hardware instruction" error when SourceKitService returns string in other than
NSUTF8StringEncoding
.
Norio Nomura #184
- Now
-
v0.10.0 Changes
๐ฅ Breaking
- ๐ Change
SwiftDocs.init(file:arguments:)
toSwiftDocs.init?(file:arguments:)
.
Norio Nomura
โจ Enhancements
- โ Add
Request.failableSend()
that can handle SourceKitService crashes.sourcekitten doc
does not stop when SourceKitService crashes.
Norio Nomura
๐ Bug Fixes
- ๐ Fix crash when offset points end of string.
Norio Nomura realm/SwiftLint#164
- ๐ Change
-
v0.9.0 Changes
๐ฅ Breaking
- ๐ Change
Line
from tuple to struct with extra propertiesrange
andbyteRange
.
Norio Nomura
โจ Enhancements
- None.
๐ Bug Fixes
- None.
- ๐ Change