|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +### Changed |
| 11 | + |
| 12 | +- **Breaking Change** |
| 13 | + Changed the SwiftDoc GitHub Action to require a secret named |
| 14 | + `GH_PERSONAL_ACCESS_TOKEN` (previously `GITHUB_PERSONAL_ACCESS_TOKEN`). |
| 15 | + According to the GitHub Help article |
| 16 | + ["Creating and storing encrypted secrets"](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets): |
| 17 | + > Secret names cannot include any spaces or start with the `GITHUB_` prefix. |
| 18 | + > 8837d82 by @mattt. |
| 19 | +- **Breaking Change** |
| 20 | + Changed the SwiftDoc GitHub Action to require a `module-name` parameter |
| 21 | + and accepts a `format` parameter. |
| 22 | + b231c07 by @mattt. |
| 23 | +- Changed output for CommonMark format to omit Home page |
| 24 | + for output with only a single page. |
| 25 | + #55 by @mattt. |
| 26 | +- Changed output for CommonMark format to nest sections in Members component. |
| 27 | + #55 by @mattt. |
| 28 | +- Changed output for CommonMark format to remove initializer clauses |
| 29 | + from variable and enumeration case declarations. |
| 30 | + #55 by @mattt. |
| 31 | +- Changed CI tests to build and run with a `release` configuration |
| 32 | + for consistency with the executable built with `make install`. |
| 33 | + #51 by @mattt. |
| 34 | +- Changed use of `print` statements, |
| 35 | + replacing them with a formal logging infrastructure. |
| 36 | + #52 by @mattt. |
| 37 | + |
| 38 | +### Fixed |
| 39 | + |
| 40 | +- Fixed bug in `SourceFile.Visitor` that caused incorrect results |
| 41 | + when determining the context of symbols parsed from Swift source files. |
| 42 | + #51 by @mattt. |
| 43 | +- Fixed SwiftDoc GitHub action to build against latest version of `swift-doc`. |
| 44 | + 5c0e4e0 by @mattt |
| 45 | +- Fixed output for CommonMark format to escape GitHub Emoji shortcodes |
| 46 | + #55 by @mattt. |
| 47 | +- Fixed output for CommonMark format to remove duplicate headings |
| 48 | + for global symbol pages. |
| 49 | + #55 by @mattt. |
| 50 | +- Fixed documentation for SwiftDoc GitHub Action |
| 51 | + to clarify that only a single path can be specified for the `input` parameter. |
| 52 | + c34ccc1 by @mattt (#19). |
| 53 | +- Fixed `coverage` subcommand description. |
| 54 | + #16 by @rastersize. |
| 55 | + |
| 56 | +## [1.0.0-beta.1] - 2020-04-01 |
| 57 | + |
| 58 | +### Added |
| 59 | + |
| 60 | +- Added HTML output format. |
| 61 | + #21 by @mattt. |
| 62 | + |
| 63 | +### Changed |
| 64 | + |
| 65 | +- **Breaking Change** |
| 66 | + Changed minimum Swift version requirements to 5.2 or later. |
| 67 | + #21 by @mattt. |
| 68 | +- Changed command-line interface to provide functionality through subcommands. |
| 69 | + #21 by @mattt. |
| 70 | +- Changed `Package.swift` to add `swift-doc` executable and `SwiftDoc` library |
| 71 | + to the list of package products. |
| 72 | + #21 by @mattt. |
| 73 | + |
| 74 | +## [0.1.1] - 2020-03-30 |
| 75 | + |
| 76 | +### Changed |
| 77 | + |
| 78 | +- Changed documentation workflow to use `github-wiki-publish-action@v1`. |
| 79 | + 4525b8e by @mattt. |
| 80 | + |
| 81 | +## [0.1.0] - 2020-03-28 |
| 82 | + |
| 83 | +### Added |
| 84 | + |
| 85 | +- Added initial test suite for `SwiftDoc` target. |
| 86 | + #17 by @mattt. |
| 87 | + |
| 88 | +### Changed |
| 89 | + |
| 90 | +- Changed command-line interface to use `swift-argument-parser`. |
| 91 | + #20 by @mattt. |
| 92 | + |
| 93 | +### Fixed |
| 94 | + |
| 95 | +- Fixed treatment of members of public protocol to be considered public symbols. |
| 96 | + #17 by @mattt. |
| 97 | + |
| 98 | +### Removed |
| 99 | + |
| 100 | +- Removed `api-inventory` subcommand. |
| 101 | + (This functionality can now be found in its own repository: |
| 102 | + https://github.com/SwiftDocOrg/swift-api-inventory) |
| 103 | + #17 by @mattt. |
| 104 | + |
| 105 | +## [0.0.4] - 2020-03-10 |
| 106 | + |
| 107 | +### Changed |
| 108 | + |
| 109 | +- Changed `Package.swift` to include `SwiftDoc` library product in manifest. |
| 110 | + f852a14 by @mattt. |
| 111 | +- Changed documentation workflow to generate docs for `SwiftDoc` sources only. |
| 112 | + da04436 by @mattt. |
| 113 | + |
| 114 | +### Fixed |
| 115 | + |
| 116 | +- Fixed generation to return symbols in consistent order. |
| 117 | + 97b2347 by @mattt. |
| 118 | +- Fixed how enumeration cases are considered to have public access level. |
| 119 | + 774faf6 by @mattt. |
| 120 | + |
| 121 | +## [0.0.3] - 2020-02-13 |
| 122 | + |
| 123 | +### Added |
| 124 | + |
| 125 | +- Added CI workflow. |
| 126 | + ce40367 by @mattt. |
| 127 | +- Added documentation workflow. |
| 128 | + a47f178 by @mattt. |
| 129 | + |
| 130 | +### Changed |
| 131 | + |
| 132 | +- Changed documentation generation to filter non-public symbols. |
| 133 | + 3af57a6 by @mattt. |
| 134 | + |
| 135 | +## [0.0.2] - 2020-02-06 |
| 136 | + |
| 137 | +### Added |
| 138 | + |
| 139 | +- Added "Installation" section to README. |
| 140 | + 7784bef by @mattt. |
| 141 | +- Added experimental `swift-api-diagram` executable. |
| 142 | + 017e920 by @mattt. |
| 143 | + |
| 144 | +### Fixed |
| 145 | + |
| 146 | +- Fixed division by zero when calculating documentation coverage. |
| 147 | + #5 by @mattt. |
| 148 | +- Fixed treatment of directories with `.swift` suffix. |
| 149 | + #14 by @mattt. |
| 150 | +- Fixed errors in README. |
| 151 | + #4 by @Dinsen. |
| 152 | + #6 by @HeEAaD. |
| 153 | + #10 by @morqon |
| 154 | + |
| 155 | +## [0.0.1] - 2020-01-27 |
| 156 | + |
| 157 | +Initial release. |
| 158 | + |
| 159 | +[unreleased]: https://github.com/SwiftDocOrg/swift-doc/compare/1.0.0-beta.1...master |
| 160 | +[1.0.0-beta.1]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/1.0.0-beta.1 |
| 161 | +[0.1.1]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/0.1.1 |
| 162 | +[0.1.0]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/0.1.0 |
| 163 | +[0.0.4]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/0.0.4 |
| 164 | +[0.0.3]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/0.0.3 |
| 165 | +[0.0.2]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/0.0.2 |
| 166 | +[0.0.1]: https://github.com/SwiftDocOrg/swift-doc/releases/tag/0.0.1 |
0 commit comments