Skip to content

Commit

Permalink
Merge pull request #392 from thriftrw/release
Browse files Browse the repository at this point in the history
Preparing release v1.13.1
  • Loading branch information
abhinav authored Oct 4, 2018
2 parents c8eb691 + 8a16ce1 commit 7c449cc
Show file tree
Hide file tree
Showing 54 changed files with 426 additions and 119 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.13.1] - 2018-10-04
### Fixed
- gen/plugin: Fixed a bug where typedefs of structs were mishandled; while they
should have been pointers, they were generated without `*` and failed to
compile.
- gen/zap: Fixed a bug where logging nil structs would panic.

## [1.13.0] - 2018-09-10
### Added
- gen: Added support for a `go.label` annotation that allows overriding the
Expand Down Expand Up @@ -239,6 +246,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- Initial release.

[1.13.1]: https://github.com/thriftrw/thriftrw-go/compare/v1.13.0...v.13.1
[1.13.0]: https://github.com/thriftrw/thriftrw-go/compare/v1.12.0...v1.13.0
[1.12.0]: https://github.com/thriftrw/thriftrw-go/compare/v1.11.0...v1.12.0
[1.11.0]: https://github.com/thriftrw/thriftrw-go/compare/v1.10.0...v1.11.0
Expand Down
3 changes: 3 additions & 0 deletions gen/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,9 @@ func (f fieldGroupGenerator) Zap(g Generator) error {
// MarshalLogObject implements zapcore.ObjectMarshaler, enabling
// fast logging of <.Name>.
func (<$v> *<.Name>) MarshalLogObject(<$enc> <$zapcore>.ObjectEncoder) (err error) {
if <$v> == nil {
return nil
}
<range .Fields>
<- if not (zapOptOut .) ->
<- $fval := printf "%s.%s" $v (goName .) ->
Expand Down
2 changes: 1 addition & 1 deletion gen/internal/tests/collision/constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/collision/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 25 additions & 1 deletion gen/internal/tests/collision/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/constants/constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/constants/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/containers/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion gen/internal/tests/containers/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/enum_conflict/constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/enum_conflict/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion gen/internal/tests/enum_conflict/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/enums/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion gen/internal/tests/enums/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/exceptions/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion gen/internal/tests/exceptions/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/nozap/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/nozap/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/other_constants/constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/other_constants/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion gen/internal/tests/services/cache_clear.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion gen/internal/tests/services/cache_clearafter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion gen/internal/tests/services/conflictingnames_setvalue.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/internal/tests/services/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7c449cc

Please sign in to comment.