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.
- Add
source_relative
flag #450
- Add support for OneOf in templates #436
- Note deprecated fields in HTML, Markdown, and Docbook outputs #426
- Tidy up modules
v1.3.2 - May 7, 2020
- Stripped unnecessary whitespace from markdown templates #410
- Renamed
lyft_validate
extension toenvoyproxy_validate
#392 - Fixed
envoyproxy_validate
rules with slice values such asin
andnot_in
#392
v1.3.1 - March 3, 2020
- Switched from dep to go modules
v1.3.0 - April 15, 2019
- Support for options and extended options in files, services, methods, enums, enum values, messages and fields #376
v1.2.0 - March 13, 2019
- Added Sprig functions to renderer contexts
- Added
IsMap
toMessageField
objects indicating whether or not the field is a map field - Added
RequestStreaming
andResponseStreaming
toServiceMethod
objects indicating whether the request and/or response are streaming. Updated the templates to add "stream" indicators to method requests and responses. - Support for recursively adding nested enums and messages.
- Bumped protobuf to 3.6.1 in docker container
- CI issue related to Regexp comparison on Golang master
- Markdown template was incorrectly links response types to request types
- Markdown template anchor tags were self-closing (invalid).
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