Skip to content

Commit

Permalink
Merge pull request #920 from sirupsen/changelog-v140
Browse files Browse the repository at this point in the history
Add CHANGELOG for v1.4.0
  • Loading branch information
tgwizard committed Mar 11, 2019
2 parents 5bd5a31 + 02141df commit dae0fa8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 1.4.0
This new release introduces:
* Add `DeferExitHandler`, similar to `RegisterExitHandler` but prepending the handler to the list of handlers (semantically like `defer`) (#848).
* Add `CallerPrettyfier` to `JSONFormatter` and `TextFormatter (#909, #911)
* Add `Entry.WithContext()` and `Entry.Context`, to set a context on entries to be used e.g. in hooks (#919).

Fixes:
* Fix wrong method calls `Logger.Print` and `Logger.Warningln` (#893).
* Update `Entry.Logf` to not do string formatting unless the log level is enabled (#903)
* Fix infinite recursion on unknown `Level.String()` (#907)
* Fix race condition in `getCaller` (#916).


# 1.3.0
This new release introduces:
* Log, Logf, Logln functions for Logger and Entry that take a Level
Expand Down

0 comments on commit dae0fa8

Please sign in to comment.