All noteworthy changes to this project will be documented in this file.
The format is based on Keep a Changelog (as of Feb 2018) and this project adheres to Semantic Versioning.
v1.1.0 - March 13, 2018
- Switch to using protokit to handle parsing and running the plugin
- Default values are not included in the built-in templates
- Added the ability to ignore certain files by adding
:pattern[,pattern]
to--doc_opt
- Added
-help
and-version
flags to the binary (e.g../protoc-gen-doc -help
)
- Dev tooling, now using dep and retool
- CI setup to use go 1.10 (and master) and protoc 3.5.1
- Docker image updated to use protoc 3.5.1 as well
- Several issues with the documentation
NrBr
filter was a little too aggressive
- The entire
parser
package (in favor of protokit)
This is the tenth official release. (However, it's the first 1.x release!!)
New things
- Support for both proto2 and proto3!
- Application is now dockerized, no need to install it (unless you want to of course)
- Ported to Go and precompiled for Linux, OSX, and Windows
- Added test coverage to ensure functionality and prevent regressions
- Ignore comments starting with
@exclude
- Added (and backfilled) CHANGELOG.md
- Added CONTRIBUTING.md
Bug fixes
- Message enums no longer included in file enums (#288)
- Added top-level
files
key for JSON output and camelCased all fields (#289) - Fixed issue with TOC in Markdown not nesting correctly (#293)
- No need to worry about expiring apt keys (#295)
- Extra slashes in comment prefix no longer show up in output (#298)
- Added field details for templates (#300)
- Markdown headers include new line so they render correctly (#303)
Breaking changes
- File-level comments are now attached to the syntax directive
- JSON fields are now camelCased
- Mustache templates replaced with golang templates
- Dropped direct support for PDF generation (still possible with FOP)
doc_out
flag removed in favor ofdoc_opt
This is the ninth official release.
changes
- Improve installation instructions for macOS (thanks @guozheng)
- Improve installation instructions for Debian/Ubuntu (thanks @mhaberler)
- Add asciidoc.mustache example template (thanks @ArcEye)
- Don't do HTML escaping in Markdown template (thanks @sunfmin)
- Add support for JSON output
This is the eight official release.
changes
- Add support for documenting files (#9)
- Add support for default values (#11)
- Add no-exclude flag to ignore @exclude directives (#13)
- Add support for RPC services (#14) (thanks to @murph0 !)
This is the seventh official release.
changes
- Added support for extensions (thanks @masterzen !)
- Added Custom Templates wiki page
- Added additional distro packages for Debian 8, Ubuntu 15.04 + 15.10 and Fedora 22 + 23
This is the sixth official release.
No functional changes were made, but Linux distribution package repositories are now provided for Ubuntu, Arch, Fedora and openSUSE through the Open Build Service, and an RPM for CentOS 7 here below.
This is the fifth official release.
changes
- Support exclusion also of enum values (accidental omission in 0.4).
This is the fourth official release.
changes
- Updated to a newer version of qt-mustache.
- Updated Windows zip to libprotobuf/libprotoc 2.6.1.
- Added support for excluding messages/enums/fields.
This is the third official release.
changes
- Updated to a newer version of qt-mustache which is more spec compliant.
- Added missing documentation for enums to Markdown output.
This is the second official release.
- No functional changes were made, but the build system was improved.
- Initial release