Skip to content

Commit dae0fa8

Browse files
authored
Merge pull request #920 from sirupsen/changelog-v140
Add CHANGELOG for v1.4.0
2 parents 5bd5a31 + 02141df commit dae0fa8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# 1.4.0
2+
This new release introduces:
3+
* Add `DeferExitHandler`, similar to `RegisterExitHandler` but prepending the handler to the list of handlers (semantically like `defer`) (#848).
4+
* Add `CallerPrettyfier` to `JSONFormatter` and `TextFormatter (#909, #911)
5+
* Add `Entry.WithContext()` and `Entry.Context`, to set a context on entries to be used e.g. in hooks (#919).
6+
7+
Fixes:
8+
* Fix wrong method calls `Logger.Print` and `Logger.Warningln` (#893).
9+
* Update `Entry.Logf` to not do string formatting unless the log level is enabled (#903)
10+
* Fix infinite recursion on unknown `Level.String()` (#907)
11+
* Fix race condition in `getCaller` (#916).
12+
13+
114
# 1.3.0
215
This new release introduces:
316
* Log, Logf, Logln functions for Logger and Entry that take a Level

0 commit comments

Comments
 (0)