Debian Codegraph @

CHANGES

raw
1 Logbook Changelog
2 =================
3
4 Version 1.7.0
5 -------------
6
7 Released on October 3rd, 2023
8
9 - Dropped support for Python 3.7
10 - Passing (keyfile, certfile) to MailHandler's ``secure`` argument is deprecated
11 in favour of passing an ``ssl.SSLContext``.
12 - Python 3.12 support
13
14 Version 1.6.0
15 -------------
16
17 Released on July 30th, 2023
18
19 - Dropped support for Python 2.7, 3.5, and 3.6.
20 - Uses pyproject.toml based build.
21 - Added nteventlog extra for NTEventLogHandler.
22 - Supports SQLAlchemy 1.4 and 2.0.
23 - Fix various deprecation warnings.
24 - exc_info arg may be a BaseException instance (thanks Mattijs Ugen)
25 - FileHandler supports path-like objects.
26 - Fixed bug which prevented compilation on Cython 3
27 - Wheels are generated for more platforms and architectures
28
29 Version 1.5.3
30 -------------
31
32 Released on October 16th, 2019
33
34 - Fixed deprecated imports from collections module.
35
36 Version 1.5.2
37 -------------
38
39 Released on August 21st, 2019
40
41 - No changes
42
43 Version 1.5.1
44 -------------
45
46 Released on August 20th, 2019
47
48 - Added support for asyncio and contextvars
49
50 Version 1.4.3
51 -------------
52
53 Released on January 16th, 2019
54
55 - Fixed Pypi release for 1.4.2
56
57 Version 1.4.2
58 -------------
59
60 Released on December 11th, 2018
61
62 - Use correct record delimiters (null for UNIX, newline for network) in SyslogHandler (thanks Jonathan Kamens)
63 - Try to reconnect to SyslogHandler TCP sockets when they are disconnected (thanks Jonathan Kamens)
64 - Use RFC 5424 format for networking logging in SyslogHandler (thanks Jonathan Kamens)
65
66 Here you can see the full list of changes between each Logbook release.
67
68 Version 1.4.1
69 -------------
70
71 Released on October 14th, 2018
72
73 - Fixed deprecated regular expression pattern (thanks Tsuyoshi Hombashi)
74 - Fixed TimedRotatingFileHandler rotation (thanks Tucker Beck)
75
76 Version 1.4.0
77 -------------
78
79 Released on May 15th, 2018
80
81 - Added support for checking if trace logs have been emitted in TestHandler (thanks @thedrow)
82
83
84 Version 1.3.0
85 -------------
86
87 Released on March 5th, 2018
88
89 - Added support for controlling rotating file names -- Logbook now allows users to customize the formatting of rollover/rotating files (thanks Tucker Beck)
90
91 Version 1.2.0
92 -------------
93
94 Released on February 8th, 2018
95
96 - Added support for compressed log files, supporting both gzip and brotli compression methods (thanks Maor Marcus)
97 - Fixed CPU usage for queuing handlers (thanks Adam Urbańczyk)
98
99
100 Version 1.1.0
101 -------------
102
103 Released on July 13th 2017
104
105 - Added a handler for Riemann (thanks Šarūnas Navickas)
106 - Added a handler for Slack (thanks @jonathanng)
107 - Colorizing mixin can now force coloring on or off (thanks @ayalash)
108
109
110 Version 1.0.1
111 -------------
112
113 - Fix PushOver handler cropping (thanks Sébastien Celles)
114
115
116 VERSION 1.0.0
117 -------------
118
119 Released on June 26th 2016
120
121 - Added support for timezones for log timestamp formatting (thanks Mattijs Ugen)
122 - Logbook has been a 0.x long enough to earn its 1.0.0 bump!
123 - Logbook now uses SemVer for its versioning scheme
124 - Various improvements to MailHandler and the usage of TLS/SMTP SSL (thanks Frazer McLean)
125 - Fix log colorizing on Windows (thanks Frazer McLean)
126 - Coverage reports using coveralls.io
127 - Dropped compatibility for Python 3.2. At this point we did not actually remove any code that supports it, but the continuous integration tests no longer check against it, and we will no longer fix compatibility issues with 3.2.
128 - Better coverage and tests on Windows (thanks Frazer McLean)
129 - Added enable() and disable() methods for loggers (thanks Frazer McLean)
130 - Many cleanups and overall project improvements (thanks Frazer McLean)
131
132
133 Version 0.12.0
134 --------------
135
136 Released on November 24th 2015
137
138 - Added logbook.utils.deprecated to automatically emit warnings when certain functions are called (Thanks Ayala Shachar)
139 - Added logbook.utils.suppressed_deprecations context to temporarily suppress deprecations (Thanks Ayala Shachar)
140 - Added logbook.utils.logged_if_slow to emit logs when certain operations exceed a time threshold (Thanks Ayala Shachar)
141 - Many PEP8 fixes and code cleanups (thanks Taranjeet Singh and Frazer McLean)
142 - TestHandler constructor now receives an optional `force_heavy_init=True`, forcing all records to heavy-initialize
143
144
145 Version 0.11.3
146 --------------
147
148 Released on November 5th 2015
149
150 - Windows-specific fixes and CI configuration (Thanks Frazer McLean)
151 - Several Unicode-specific fixes (Thanks Frazer McLean)
152 - Documentation cleanups
153
154 Version 0.11.2
155 --------------
156
157 Released on September 29th 2015
158
159 - Fix importing issue with SQLAlchemy ticketing handler
160
161 Version 0.11.0
162 --------------
163
164 Released on September 29th 2015
165
166 - Added TRACE log level for enabling logs below DEBUG
167 - Improved SQLAlchemy session management (thanks @fintan)
168 - Removed the ``bubble`` argument from NullHandler, preventing many future confusions
169
170 Version 0.10.1
171 --------------
172
173 Released on August 4th 2015
174
175 - Small bugfix supporting exc_info=False without breaking formatting
176
177 Version 0.10.0
178 --------------
179
180 Released on July 14th 2015
181
182 - Removed the global handler which was installed by default so far. The rationale is to ease adoption for 3rd party libraries who don't want output to go to stderr by default. The old behavior can still be restored by setting the LOGBOOK_INSTALL_DEFAULT_HANDLER environment variable
183 - Fix small Python 3 compatibility issues
184
185 Version 0.9.1
186 -------------
187
188 Released on May 4th 2015
189
190 - Minor fixes
191
192
193 Version 0.9.0
194 -------------
195
196 Released on February 12th 2015
197
198 - Added frame correction option, to properly mark log record origins (Thanks Roey Darwish)
199 - Fixed MailHandler infinite recursion bug (Thanks Tal Yalon)
200
201
202 Version 0.8.1
203 -------------
204
205 Released on November 30th 2014
206
207 - Fix support for gevent, along with various other fixes (Thanks Tal Yalon)
208
209 Version 0.8.0
210 -------------
211
212 Released on November 11th 2014. Codename "improve_some_more"
213
214 - Added Pushover handler (thanks @owo)
215 - Default logging format now includes seconds and microseconds (#110)
216 - Several fixes regarding possible deadlocks in log formatting (thanks Guy Rozendorn)
217 - Fixed packaging so that the speedups module now gets packaged by default (#122)
218 - ThreadedWrapperHandler now supports maxsize (#121) (thanks Ken Jung)
219 - Fixes in rotating handlers (thanks zhangliyong)
220 - Added Pushover handler (thanks Ossama W. Obeid)
221 - RedisHandler now supports lpush as an option (thanks Bruno Rocha)
222
223
224 Version 0.7.0
225 -------------
226
227 Released on May 12th 2014. Codename "not_just_yet"
228
229 - Restored Python 3.2 support (thanks @rnortman)
230 - NullHandlers now respect filters - allows to only drop/mute certain records (#73)
231 - redirect_logging now sets the legacy root logger's level to DEBUG by default. This can be changed by specifying `set_root_logger_level=False` (#96)
232 - Bugfixes
233
234 Version 0.6.0
235 -------------
236
237 Released on October 3rd 2013. Codename "why_not_production_ready"
238
239 - Added Redis handler (Thanks a lot @guillermo-carrasco for this PR)
240 - Fixed email encoding bug (Thanks Raphaël Vinot)
241
242 Version 0.5.0
243 -------------
244
245 Released on August 10th 2013.
246
247 - Drop 2.5, 3.2 support, code cleanup
248 - The exc_info argument now accepts `True`, like in the standard logging module
249
250 Version 0.4.2
251 -------------
252
253 Released on June 2nd 2013.
254
255 - Fixed Python 3.x compatibility, including speedups
256 - Dropped Python 2.4 support. Python 2.4 support caused a lot of hacks in the code and introduced duplication to the test code. In addition, it is impossible to cover 2.4-3.x with a single tox installation, which may introduce unwitting code breakage. Travis also does not support Python 2.4 so the chances of accidentally breaking this support were very high as it was...
257
258
259 Version 0.4.1
260 -------------
261
262 Released on December 12th. Codename "121212"
263
264 - Fixed several outstanding encoding problems, thanks to @dvarazzo.
265 - Merged in minor pull requests (see https://github.com/getlogbook/logbook/pulls?q=is%3Aclosed)
266
267 Version 0.4
268 -----------
269
270 Released on October 24th. Codename "Phoenix"
271
272 - Added preliminary RabbitMQ and CouchDB support.
273 - Added :class:`logbook.notifiers.NotifoHandler`
274 - `channel` is now documented to be used for filtering purposes if
275 wanted. Previously this was an opaque string that was not intended
276 for filtering of any kind.
277
278 Version 0.3
279 -----------
280
281 Released on October 23rd. Codename "Informant"
282
283 - Added :class:`logbook.more.ColorizingStreamHandlerMixin` and
284 :class:`logbook.more.ColorizedStderrHandler`
285 - Deprecated :class:`logbook.RotatingFileHandlerBase` because the
286 interface was not flexible enough.
287 - Provided basic Python 3 compatibility. This did cause a few smaller
288 API changes that caused minimal changes on Python 2 as well. The
289 deprecation of the :class:`logbook.RotatingFileHandlerBase` was a
290 result of this.
291 - Added support for Python 2.4
292 - Added batch emitting support for handlers which now makes it possible
293 to use the :class:`logbook.more.FingersCrossedHandler` with the
294 :class:`logbook.MailHandler`.
295 - Moved the :class:`~logbook.FingersCrossedHandler` handler into the
296 base package. The old location stays importable for a few releases.
297 - Added :class:`logbook.GroupHandler` that buffers records until the
298 handler is popped.
299 - Added :class:`logbook.more.ExternalApplicationHandler` that executes
300 an external application for each log record emitted.
301
302 Version 0.2.1
303 -------------
304
305 Bugfix release, Released on September 22nd.
306
307 - Fixes Python 2.5 compatibility.
308
309 Version 0.2
310 -----------
311
312 Released on September 21st. Codename "Walls of Text"
313
314 - Implemented default with statement for handlers which is an
315 alias for `threadbound`.
316 - `applicationbound` and `threadbound` return the handler now.
317 - Implemented channel recording on the log records.
318 - The :class:`logbook.more.FingersCrossedHandler` now is set to
319 `ERROR` by default and has the ability to create new loggers
320 from a factory function.
321 - Implemented maximum buffer size for the
322 :class:`logbook.more.FingersCrossedHandler` as well as a lock
323 for thread safety.
324 - Added ability to filter for context.
325 - Moved bubbling flags and filters to the handler object.
326 - Moved context processors on their own stack.
327 - Removed the `iter_context_handlers` function.
328 - Renamed `NestedHandlerSetup` to :class:`~logbook.NestedSetup`
329 because it can now also configure processors.
330 - Added the :class:`logbook.Processor` class.
331 - There is no difference between logger attached handlers and
332 context specific handlers any more.
333 - Added a function to redirect warnings to logbook
334 (:func:`logbook.compat.redirected_warnings`).
335 - Fixed and improved :class:`logbook.LoggerGroup`.
336 - The :class:`logbook.TestHandler` now keeps the record open
337 for further inspection.
338 - The traceback is now removed from a log record when the record
339 is closed. The formatted traceback is a cached property
340 instead of a function.
341 - Added ticketing handlers that send logs directly into a database.
342 - Added MongoDB backend for ticketing handlers
343 - Added a :func:`logbook.base.dispatch_record` function to dispatch
344 records to handlers independently of a logger (uses the default
345 record dispatching logic).
346 - Renamed `logger_name` to `channel`.
347 - Added a multi processing log handler
348 (:class:`logbook.more.MultiProcessingHandler`).
349 - Added a twitter handler.
350 - Added a ZeroMQ handler.
351 - Added a Growl handler.
352 - Added a Libnotify handler.
353 - Added a monitoring file handler.
354 - Added a handler wrapper that moves the actual handling into a
355 background thread.
356 - The mail handler can now be configured to deliver each log record
357 not more than n times in m seconds.
358 - Added support for Python 2.5
359 - Added a :class:`logbook.queues.SubscriberGroup` to deal with multiple
360 subscribers.
361 - Added a :class:`logbook.compat.LoggingHandler` for redirecting logbook
362 log calls to the standard library's :mod:`logging` module.
363
364 Version 0.1
365 -----------
366
367 First public release.