[67] | 1 | # 1.8.1
|
---|
| 2 | Code quality:
|
---|
| 3 | * move magefile in its own subdir/submodule to remove magefile dependency on logrus consumer
|
---|
| 4 | * improve timestamp format documentation
|
---|
| 5 |
|
---|
| 6 | Fixes:
|
---|
| 7 | * fix race condition on logger hooks
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | # 1.8.0
|
---|
| 11 |
|
---|
| 12 | Correct versioning number replacing v1.7.1.
|
---|
| 13 |
|
---|
| 14 | # 1.7.1
|
---|
| 15 |
|
---|
| 16 | Beware this release has introduced a new public API and its semver is therefore incorrect.
|
---|
| 17 |
|
---|
| 18 | Code quality:
|
---|
| 19 | * use go 1.15 in travis
|
---|
| 20 | * use magefile as task runner
|
---|
| 21 |
|
---|
| 22 | Fixes:
|
---|
| 23 | * small fixes about new go 1.13 error formatting system
|
---|
| 24 | * Fix for long time race condiction with mutating data hooks
|
---|
| 25 |
|
---|
| 26 | Features:
|
---|
| 27 | * build support for zos
|
---|
| 28 |
|
---|
| 29 | # 1.7.0
|
---|
| 30 | Fixes:
|
---|
| 31 | * the dependency toward a windows terminal library has been removed
|
---|
| 32 |
|
---|
| 33 | Features:
|
---|
| 34 | * a new buffer pool management API has been added
|
---|
| 35 | * a set of `<LogLevel>Fn()` functions have been added
|
---|
| 36 |
|
---|
| 37 | # 1.6.0
|
---|
| 38 | Fixes:
|
---|
| 39 | * end of line cleanup
|
---|
| 40 | * revert the entry concurrency bug fix whic leads to deadlock under some circumstances
|
---|
| 41 | * update dependency on go-windows-terminal-sequences to fix a crash with go 1.14
|
---|
| 42 |
|
---|
| 43 | Features:
|
---|
| 44 | * add an option to the `TextFormatter` to completely disable fields quoting
|
---|
| 45 |
|
---|
| 46 | # 1.5.0
|
---|
| 47 | Code quality:
|
---|
| 48 | * add golangci linter run on travis
|
---|
| 49 |
|
---|
| 50 | Fixes:
|
---|
| 51 | * add mutex for hooks concurrent access on `Entry` data
|
---|
| 52 | * caller function field for go1.14
|
---|
| 53 | * fix build issue for gopherjs target
|
---|
| 54 |
|
---|
| 55 | Feature:
|
---|
| 56 | * add an hooks/writer sub-package whose goal is to split output on different stream depending on the trace level
|
---|
| 57 | * add a `DisableHTMLEscape` option in the `JSONFormatter`
|
---|
| 58 | * add `ForceQuote` and `PadLevelText` options in the `TextFormatter`
|
---|
| 59 |
|
---|
| 60 | # 1.4.2
|
---|
| 61 | * Fixes build break for plan9, nacl, solaris
|
---|
| 62 | # 1.4.1
|
---|
| 63 | This new release introduces:
|
---|
| 64 | * Enhance TextFormatter to not print caller information when they are empty (#944)
|
---|
| 65 | * Remove dependency on golang.org/x/crypto (#932, #943)
|
---|
| 66 |
|
---|
| 67 | Fixes:
|
---|
| 68 | * Fix Entry.WithContext method to return a copy of the initial entry (#941)
|
---|
| 69 |
|
---|
| 70 | # 1.4.0
|
---|
| 71 | This new release introduces:
|
---|
| 72 | * Add `DeferExitHandler`, similar to `RegisterExitHandler` but prepending the handler to the list of handlers (semantically like `defer`) (#848).
|
---|
| 73 | * Add `CallerPrettyfier` to `JSONFormatter` and `TextFormatter` (#909, #911)
|
---|
| 74 | * Add `Entry.WithContext()` and `Entry.Context`, to set a context on entries to be used e.g. in hooks (#919).
|
---|
| 75 |
|
---|
| 76 | Fixes:
|
---|
| 77 | * Fix wrong method calls `Logger.Print` and `Logger.Warningln` (#893).
|
---|
| 78 | * Update `Entry.Logf` to not do string formatting unless the log level is enabled (#903)
|
---|
| 79 | * Fix infinite recursion on unknown `Level.String()` (#907)
|
---|
| 80 | * Fix race condition in `getCaller` (#916).
|
---|
| 81 |
|
---|
| 82 |
|
---|
| 83 | # 1.3.0
|
---|
| 84 | This new release introduces:
|
---|
| 85 | * Log, Logf, Logln functions for Logger and Entry that take a Level
|
---|
| 86 |
|
---|
| 87 | Fixes:
|
---|
| 88 | * Building prometheus node_exporter on AIX (#840)
|
---|
| 89 | * Race condition in TextFormatter (#468)
|
---|
| 90 | * Travis CI import path (#868)
|
---|
| 91 | * Remove coloured output on Windows (#862)
|
---|
| 92 | * Pointer to func as field in JSONFormatter (#870)
|
---|
| 93 | * Properly marshal Levels (#873)
|
---|
| 94 |
|
---|
| 95 | # 1.2.0
|
---|
| 96 | This new release introduces:
|
---|
| 97 | * A new method `SetReportCaller` in the `Logger` to enable the file, line and calling function from which the trace has been issued
|
---|
| 98 | * A new trace level named `Trace` whose level is below `Debug`
|
---|
| 99 | * A configurable exit function to be called upon a Fatal trace
|
---|
| 100 | * The `Level` object now implements `encoding.TextUnmarshaler` interface
|
---|
| 101 |
|
---|
| 102 | # 1.1.1
|
---|
| 103 | This is a bug fix release.
|
---|
| 104 | * fix the build break on Solaris
|
---|
| 105 | * don't drop a whole trace in JSONFormatter when a field param is a function pointer which can not be serialized
|
---|
| 106 |
|
---|
| 107 | # 1.1.0
|
---|
| 108 | This new release introduces:
|
---|
| 109 | * several fixes:
|
---|
| 110 | * a fix for a race condition on entry formatting
|
---|
| 111 | * proper cleanup of previously used entries before putting them back in the pool
|
---|
| 112 | * the extra new line at the end of message in text formatter has been removed
|
---|
| 113 | * a new global public API to check if a level is activated: IsLevelEnabled
|
---|
| 114 | * the following methods have been added to the Logger object
|
---|
| 115 | * IsLevelEnabled
|
---|
| 116 | * SetFormatter
|
---|
| 117 | * SetOutput
|
---|
| 118 | * ReplaceHooks
|
---|
| 119 | * introduction of go module
|
---|
| 120 | * an indent configuration for the json formatter
|
---|
| 121 | * output colour support for windows
|
---|
| 122 | * the field sort function is now configurable for text formatter
|
---|
| 123 | * the CLICOLOR and CLICOLOR\_FORCE environment variable support in text formater
|
---|
| 124 |
|
---|
| 125 | # 1.0.6
|
---|
| 126 |
|
---|
| 127 | This new release introduces:
|
---|
| 128 | * a new api WithTime which allows to easily force the time of the log entry
|
---|
| 129 | which is mostly useful for logger wrapper
|
---|
| 130 | * a fix reverting the immutability of the entry given as parameter to the hooks
|
---|
| 131 | a new configuration field of the json formatter in order to put all the fields
|
---|
| 132 | in a nested dictionnary
|
---|
| 133 | * a new SetOutput method in the Logger
|
---|
| 134 | * a new configuration of the textformatter to configure the name of the default keys
|
---|
| 135 | * a new configuration of the text formatter to disable the level truncation
|
---|
| 136 |
|
---|
| 137 | # 1.0.5
|
---|
| 138 |
|
---|
| 139 | * Fix hooks race (#707)
|
---|
| 140 | * Fix panic deadlock (#695)
|
---|
| 141 |
|
---|
| 142 | # 1.0.4
|
---|
| 143 |
|
---|
| 144 | * Fix race when adding hooks (#612)
|
---|
| 145 | * Fix terminal check in AppEngine (#635)
|
---|
| 146 |
|
---|
| 147 | # 1.0.3
|
---|
| 148 |
|
---|
| 149 | * Replace example files with testable examples
|
---|
| 150 |
|
---|
| 151 | # 1.0.2
|
---|
| 152 |
|
---|
| 153 | * bug: quote non-string values in text formatter (#583)
|
---|
| 154 | * Make (*Logger) SetLevel a public method
|
---|
| 155 |
|
---|
| 156 | # 1.0.1
|
---|
| 157 |
|
---|
| 158 | * bug: fix escaping in text formatter (#575)
|
---|
| 159 |
|
---|
| 160 | # 1.0.0
|
---|
| 161 |
|
---|
| 162 | * Officially changed name to lower-case
|
---|
| 163 | * bug: colors on Windows 10 (#541)
|
---|
| 164 | * bug: fix race in accessing level (#512)
|
---|
| 165 |
|
---|
| 166 | # 0.11.5
|
---|
| 167 |
|
---|
| 168 | * feature: add writer and writerlevel to entry (#372)
|
---|
| 169 |
|
---|
| 170 | # 0.11.4
|
---|
| 171 |
|
---|
| 172 | * bug: fix undefined variable on solaris (#493)
|
---|
| 173 |
|
---|
| 174 | # 0.11.3
|
---|
| 175 |
|
---|
| 176 | * formatter: configure quoting of empty values (#484)
|
---|
| 177 | * formatter: configure quoting character (default is `"`) (#484)
|
---|
| 178 | * bug: fix not importing io correctly in non-linux environments (#481)
|
---|
| 179 |
|
---|
| 180 | # 0.11.2
|
---|
| 181 |
|
---|
| 182 | * bug: fix windows terminal detection (#476)
|
---|
| 183 |
|
---|
| 184 | # 0.11.1
|
---|
| 185 |
|
---|
| 186 | * bug: fix tty detection with custom out (#471)
|
---|
| 187 |
|
---|
| 188 | # 0.11.0
|
---|
| 189 |
|
---|
| 190 | * performance: Use bufferpool to allocate (#370)
|
---|
| 191 | * terminal: terminal detection for app-engine (#343)
|
---|
| 192 | * feature: exit handler (#375)
|
---|
| 193 |
|
---|
| 194 | # 0.10.0
|
---|
| 195 |
|
---|
| 196 | * feature: Add a test hook (#180)
|
---|
| 197 | * feature: `ParseLevel` is now case-insensitive (#326)
|
---|
| 198 | * feature: `FieldLogger` interface that generalizes `Logger` and `Entry` (#308)
|
---|
| 199 | * performance: avoid re-allocations on `WithFields` (#335)
|
---|
| 200 |
|
---|
| 201 | # 0.9.0
|
---|
| 202 |
|
---|
| 203 | * logrus/text_formatter: don't emit empty msg
|
---|
| 204 | * logrus/hooks/airbrake: move out of main repository
|
---|
| 205 | * logrus/hooks/sentry: move out of main repository
|
---|
| 206 | * logrus/hooks/papertrail: move out of main repository
|
---|
| 207 | * logrus/hooks/bugsnag: move out of main repository
|
---|
| 208 | * logrus/core: run tests with `-race`
|
---|
| 209 | * logrus/core: detect TTY based on `stderr`
|
---|
| 210 | * logrus/core: support `WithError` on logger
|
---|
| 211 | * logrus/core: Solaris support
|
---|
| 212 |
|
---|
| 213 | # 0.8.7
|
---|
| 214 |
|
---|
| 215 | * logrus/core: fix possible race (#216)
|
---|
| 216 | * logrus/doc: small typo fixes and doc improvements
|
---|
| 217 |
|
---|
| 218 |
|
---|
| 219 | # 0.8.6
|
---|
| 220 |
|
---|
| 221 | * hooks/raven: allow passing an initialized client
|
---|
| 222 |
|
---|
| 223 | # 0.8.5
|
---|
| 224 |
|
---|
| 225 | * logrus/core: revert #208
|
---|
| 226 |
|
---|
| 227 | # 0.8.4
|
---|
| 228 |
|
---|
| 229 | * formatter/text: fix data race (#218)
|
---|
| 230 |
|
---|
| 231 | # 0.8.3
|
---|
| 232 |
|
---|
| 233 | * logrus/core: fix entry log level (#208)
|
---|
| 234 | * logrus/core: improve performance of text formatter by 40%
|
---|
| 235 | * logrus/core: expose `LevelHooks` type
|
---|
| 236 | * logrus/core: add support for DragonflyBSD and NetBSD
|
---|
| 237 | * formatter/text: print structs more verbosely
|
---|
| 238 |
|
---|
| 239 | # 0.8.2
|
---|
| 240 |
|
---|
| 241 | * logrus: fix more Fatal family functions
|
---|
| 242 |
|
---|
| 243 | # 0.8.1
|
---|
| 244 |
|
---|
| 245 | * logrus: fix not exiting on `Fatalf` and `Fatalln`
|
---|
| 246 |
|
---|
| 247 | # 0.8.0
|
---|
| 248 |
|
---|
| 249 | * logrus: defaults to stderr instead of stdout
|
---|
| 250 | * hooks/sentry: add special field for `*http.Request`
|
---|
| 251 | * formatter/text: ignore Windows for colors
|
---|
| 252 |
|
---|
| 253 | # 0.7.3
|
---|
| 254 |
|
---|
| 255 | * formatter/\*: allow configuration of timestamp layout
|
---|
| 256 |
|
---|
| 257 | # 0.7.2
|
---|
| 258 |
|
---|
| 259 | * formatter/text: Add configuration option for time format (#158)
|
---|