This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
Releases: SwiftDocOrg/swift-doc
Releases · SwiftDocOrg/swift-doc
1.0.0-rc.1
Added
- Added support for generating documentation for
private symbols.
#266 by @Lukas-Stuehrk. - Added anchor links to documentation entries for symbols.
#275 by @Lukas-Stuehrk.
Fixed
- Fixed links to type declarations.
#277 by @Lukas-Stuehrk. - Fixed bug that caused operator implementations to appear in the documentation
although they should be omitted because of their lower access level.
#264 by @Lukas-Stuehrk - Fixed bug that caused prefix and postfix operators to be omitted
from generated documentation.
#262 by @Lukas-Stuehrk. - Fixed layout of HTML output on large displays.
#251 by @Lukas-Stuehrk and @mattt.
Changed
Removed
1.0.0-beta.6
Added
- Added support for generating documentation for
extensions to external types.
#230 by @Lukas-Stuehrk and @mattt. - Added support for generating documentation for operators.
#228 by @Lukas-Stuehrk and @mattt. - Added end-to-end tests for command-line interface.
#199 by @MaxDesiatov and @mattt. - Added
--minimum-access-level
option togenerate
andcoverage
commands.
#219 by @Lukas-Stuehrk. - Added support for documenting default implementations.
#221 by @Lukas-Stuehrk. - Added
sourceRange
property toSymbol
.
#237 by @mattt.
Fixed
- Fixed public extensions exposing nested code of all access levels.
#195 by @Tunous. - Fixed broken links in the relationship graph.
#226 by @Lukas-Stuehrk.
Changed
- Breaking Change
Changed minimum Swift version requirements to 5.3 or later.
#252 by @mattt. - Changed display of code declarations in HTML.
#204 by @mattt. - Changed serialization of
Symbol
to encode and decodesourceRange
key
instead ofsourceLocation
key.
#237 by @mattt. - Changed commands to warn when invalid paths are passed.
#242 by @Lukas-Stuehrk.
Deprecated
1.0.0-beta.5
Added
- Added support for Swift 5.3.
#183 by @MaxDesiatov and @mattt.
Fixed
- Fixed missing GraphViz dependency in Dockerfile.
#180 by @MaxDesiatov. - Fixed listing of function parameters, when generating CommonMark documentation.
#170 by @domcorvasce. - Fixed version number for swift-doc command.
#159 by @mattt. - Fixed relationship diagram to prevent linking to unknown symbols.
#178 by @MattKiazyk. - Fixed problems in CommonMark output related to escaping emoji shortcode.
#167 by @mattt.
Changed
- Changed GitHub Action to use prebuilt Docker image.
#185 by @mattt and @MaxDesiatov.
1.0.0-beta.4
Added
Changed
- Changed HTML output to show scrollbars only when necessary.
#132 by @andrewchang-bird.
Fixed
- Fixed runtime error related to networking and processes on Ubuntu Linux.
#140 by @JaapWijnen. - Fixed whitespace of code listings.
#144 by @mbrandonw. - Fixed crash when attempting to generate paths with no base URL specified.
#127 by @mattpolzin, @kareman, and @mattt. - Fixed display of sidebar icons.
#145 by @mattt. - Fixed inclusion of non-public subclasses of public superclasses.
#131 by @MattKiazyk. #116 by @ApolloZhu. - Fixed display of bullet list items in documentation discussion parts.
#130 by @mattt. - Fixed file and directory unexpected permissions.
#146 by @niw. - Fixed rendering of colon sequences in function signatures
as emoji shortcodes (e.g.:on:
→ 🔛).
#149 by @mattt. - Fixed declarations for properties without explicit type annotations.
#150 by @mattt. - Fixed visual regression for adjacent linked tokens in code block.
#152 by @mattt. - Fixed regression that caused nodes in relationships graph
to not have links to their corresponding symbol documentation.
#153 by @mattt. - Fixed markup for parameter descriptions in HTML output.
#156 by @mattt.
1.0.0-beta.3
Added
- Added
--base-url
option.
#65 by @kean and #93 by @mattt. - Added asset pipeline for CSS assets.
#49 by @kaishin. - Add
swift-doc
version number to command and generated output.
#94 by @mattt.
Changed
- Changed Home page to display globals for HTML format.
#81 by @kean. - Changed README to clarify use of
swift-doc
vs.swift doc
on the command line.
#89 by @mattt. - Changed the
generate
command to emit a warning if no source
files are found.
#92 by @heckj - Changed CommonMark format output of Home page
to include summaries alongside top-level symbols, when available.
#97 by @mattt. - Changed logging behavior to better communicate errors encountered
when generating relationship graphs using GraphViz.
#100 by @mattt. - Changed HTML format output of Home page
to move enumeration cases under initializers.
#103 by @mattt.
Fixed
- Fixed relationship handling for members of nested types.
#62 by @victor-pavlychko. - Fixed rendering of type relationships section when no graph data is available.
#62 by @victor-pavlychko. - Fixed rendering of protocol requirements in the HTML version.
#76 by @victor-pavlychko. - Fixed default location of sources reference in README
#92 by @heckj - Fixed indentation of code examples in HTML output.
#114 by @samsymons - Fixed icons for symbols in HTML output.
#115 by @samsymons
1.0.0-beta.2
Changed
- Breaking Change
Changed the SwiftDoc GitHub Action to require a secret named
GH_PERSONAL_ACCESS_TOKEN
(previouslyGITHUB_PERSONAL_ACCESS_TOKEN
).
According to the GitHub Help article
"Creating and storing encrypted secrets":Secret names cannot include any spaces or start with the
GITHUB_
prefix.
8837d82 by @mattt. - Breaking Change
Changed the SwiftDoc GitHub Action to require amodule-name
parameter
and accepts aformat
parameter.
b231c07 by @mattt. - Changed output for CommonMark format to omit Home page
for output with only a single page.
#55 by @mattt. - Changed output for CommonMark format to nest sections in Members component.
#55 by @mattt. - Changed output for CommonMark format to remove initializer clauses
from variable and enumeration case declarations.
#55 by @mattt. - Changed CI tests to build and run with a
release
configuration
for consistency with the executable built withmake install
.
#51 by @mattt. - Changed use of
print
statements,
replacing them with a formal logging infrastructure.
#52 by @mattt.
Fixed
- Fixed bug in
SourceFile.Visitor
that caused incorrect results
when determining the context of symbols parsed from Swift source files.
#51 by @mattt. - Fixed SwiftDoc GitHub action to build against latest version of
swift-doc
.
5c0e4e0 by @mattt - Fixed output for CommonMark format to escape GitHub Emoji shortcodes
#55 by @mattt. - Fixed output for CommonMark format to remove duplicate headings
for global symbol pages.
#55 by @mattt. - Fixed documentation for SwiftDoc GitHub Action
to clarify that only a single path can be specified for theinput
parameter.
c34ccc1 by @mattt (#19). - Fixed
coverage
subcommand description.
#16 by @rastersize.
1.0.0-beta.1
Added
Changed
- Breaking Change
Changed minimum Swift version requirements to 5.2 or later.
#21 by @mattt. - Changed command-line interface to provide functionality through subcommands.
#21 by @mattt. - Changed
Package.swift
to addswift-doc
executable andSwiftDoc
library
to the list of package products.
#21 by @mattt.
0.1.1
0.1.0
Added
Changed
Fixed
Removed
- Removed
api-inventory
subcommand.
(This functionality can now be found in its own repository:
https://github.com/SwiftDocOrg/swift-api-inventory)
#17 by @mattt.