From a6a981948d425c55b420d01421f167825601d076 Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Thu, 25 Jun 2020 10:29:07 +0000 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff1cc36..dccd862 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,19 @@ ## Unreleased -- Uncompatible: log level names hace changed. They were fully - capitalized, only their first letter is capitalized now: DEBUG -> Debug, - INFO -> Info, etc. -- Uncompatible NoopBackend.Level() now returns DefaultLevel instead of Fatal -- Fix: creates new logger with level DefaultLevel instead of Debug -- Fix: FileBackend now properly closes the file befor reopening it (fixes a +## v0.3.0 (2020-05-17) + +### Incompatible Changes + +- Log level names have changed. They were fully capitalized, only their first + letter is capitalized now: DEBUG -> Debug, INFO -> Info, etc. +- NoopBackend.Level() now returns DefaultLevel instead of Fatal +- New loggers are created with level `DefaultLevel` instead of `Debug` +- The `Backend` interface now has a `Close()` method, so that backends can free + the resources they use + +### Fixes + +- FileBackend now properly closes the file before reopening it (fixes a potential file descriptor leak) +- Logger methods did not always acquire locks, causing race conditions