Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[5.0.1] - 2025-01-25
Changed
- Updated
poetry
to version 2.0.0
[5.0.0] - 2025-01-25
Added
- Method
to_dict
for theRecord
class - Documentation for project (#6)
- Typings for project
Removed
COLOR_MAP
fromtinylogging/__init__.py
[4.2.0] - 2025-01-17
Added
- Optional parameter
message_thread_id
for handlersAsyncTelegramHandler
andTelegramHandler
[4.1.0] - 2025-01-17
Added
- Added emoji support for log levels in
Formatter
Changed
- Changed the default time format in
TelegramFormatter
from[%H:%M:%S]
to%H:%M:%S
Fixed
- Fixed an issue where messages could be displayed even when the logger was disabled
[4.0.0] - 2025-01-14
Added
- Handler for sending logs to Telegram (
AsyncTelegramHandler
,TelegramHandler
) (#4) - New formatter
TelegramFormatter
for processing and formatting messages sent to Telegram - New dependency:
httpx
for working with the Telegram API
Removed
- Dropped support for Python 3.8
[3.3.0] - 2025-01-11
Fixed
- Fixed an issue in
LoggingAdapterHandler
where the attributesfilename
,function
, andline
were not set for theRecord
object
Changed
- Reorganized imports
[3.2.0] - 2024-11-01
Fixed
- Error in detecting stack depth (#3)
[3.1.0] - 2024-10-31
Added
- New attributes for the
Record
class:filename
,line
,basename
,relpath
,function
Changed
- In the default template (attribute
template
) for theFormatter
class, the relative path to the file and line are displayed
[3.0.0] - 2024-10-13
Added
- Asynchronous support
- New dependency:
anyio
Changed
- Changed structure and module imports for better code organization
[2.2.0] - 2024-10-05
Fixed
- Issue #2
[2.1.0] - 2024-10-05
Added
LoggingAdapterHandler
: an adapter for integration with thelogging
module allowing the use of custom handlers (BaseHandler
,StreamHandler
, etc.) with standard Python loggers
[2.0.0] - 2024-10-04
Fixed
- Issue #1
[1.0.0] - 2024-10-04
Added
- Initial release