Skip to content

Commit

Permalink
Drop support for Go < 1.15 (#1028)
Browse files Browse the repository at this point in the history
Per our CI, we don't support versions of Go older than 1.15.

The files global_go112 and global_prego112 existed to
support different stack depths for the standard library logger,
which changed going from Go 1.11 to 1.12 (ref #682).
This is no longer necessary; Go 1.11 is old enough that we don't need
to support it.
  • Loading branch information
abhinav authored Nov 9, 2021
1 parent 625d01b commit aea2a50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 54 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ Enhancements:
Bugfixes:
* [#1011][]: JSON: Fix inaccurate precision when encoding complex64.

Other changes:
* [#1028][]: Drop support for Go < 1.15.

[#1011]: https://github.com/uber-go/zap/pull/1011
[#989]: https://github.com/uber-go/zap/pull/989
[#1028]: https://github.com/uber-go/zap/pull/1028

## 1.19.1 (8 Sep 2021)

Expand Down
1 change: 1 addition & 0 deletions global.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
)

const (
_stdLogDefaultDepth = 1
_loggerWriterDepth = 2
_programmerErrorTemplate = "You've found a bug in zap! Please file a bug at " +
"https://github.com/uber-go/zap/issues/new and reference this error: %v"
Expand Down
27 changes: 0 additions & 27 deletions global_go112.go

This file was deleted.

27 changes: 0 additions & 27 deletions global_prego112.go

This file was deleted.

0 comments on commit aea2a50

Please sign in to comment.