Releases: DogukanUrker/Tamga
v1.4.0
What's Changed
- Add key-value logging to all log methods - remove
dir()by @DogukanUrker in #19
Full Changelog: 1.3.1...1.4.0
v1.3.1
What's Changed
- refactor camelCase to snake_case by @DogukanUrker in #10
- Refactor Tamga config: rename logging parameters by @DogukanUrker in #11
- Add AGENTS.md with repository guidelines by @DogukanUrker in #12
- Refactor file and JSON log path parameters by @DogukanUrker in #13
- Bump version to 1.3.1 by @DogukanUrker in #14
Full Changelog: 1.2.0...1.3.1
v1.2.0
🔔 Unified Notifications with Apprise
What's New
- Multi-Service Notifications: Replaced individual API and email support with Apprise, enabling 80+ notification services through a single interface
- Flexible Configuration: Support for Discord, Slack, Telegram, SMS, Email, Microsoft Teams, and many more services
- Better Performance: Asynchronous notification delivery without blocking your application
Breaking Changes
- Removed
logToAPI,apiURLparameters - Removed
sendMail,smtpServer,smtpPort,smtpMail,smtpPassword,smtpReceivers,mailLevelsparameters - Replaced with:
notifyServices,notifyLevels,notifyTitle,notifyFormat
Migration
# Old
logger = Tamga(
sendMail=True,
smtpServer="smtp.gmail.com",
# ... other smtp settings
)
# New
logger = Tamga(
notifyServices=["mailto://user:pass@smtp.gmail.com:587/?to=alerts@company.com"],
notifyLevels=["CRITICAL", "ERROR", "NOTIFY"]
)Installation
pip install tamga[notifications] # For notification support
pip install tamga[all] # All featuresSee documentation for full details.
v1.1.1
- way faster logging
- small display fixes in without color terminal mode.
Full Changelog: 1.0.2...1.1.1
v1.0.2
PyPi fixes
Full Changelog: 1.0.1...1.0.2
v1.0.1
🎉 Tamga v1.0.1 Release
A major milestone release bringing enhanced performance, improved developer experience, and comprehensive testing infrastructure to the modern Python logging utility.
🚀 Major Features & Improvements
📊 Enhanced Documentation & AI Integration
- AI/LLM Integration: Added comprehensive
llms.txtdocumentation for seamless AI tool integration - Context7 Support: Direct documentation access via Context7
- README Overhaul: Complete restructure with improved examples, better organization, and clearer usage patterns
- Visual Updates: New terminal screenshot showcasing Tamga's colorful output capabilities
⚡ Performance & Core Improvements
- Optimized Buffer System: Default buffer size increased to 50 for better performance
- Timestamp Customization: Added
showTimezoneparameter (defaults toFalse) for cleaner output - Enhanced Client Handling: Improved MongoDB and email client initialization with explicit None checks
- Timezone Consistency: Always include timezone data in structured output while keeping display optional
🧪 Testing & Quality Assurance
- Core Test Suite: Comprehensive test coverage with
tests/test_core.py - GitHub Actions CI/CD:
- Automated testing workflow with Python 3.10+ support
- Ruff linting integration for code quality
- PyPI publishing automation with enhanced workflow
- Code Quality: Removed legacy color tests and improved code structure
🔧 Developer Experience
- Screenshot Utility: Added
scripts/screenshot.pyfor generating terminal output examples - Workflow Optimizations:
- Limited Ruff workflow to relevant file changes for faster CI
- Enhanced publish workflow with emojis and summary reporting
- Image Optimization: Automated image compression via ImgBot integration
📦 Project Infrastructure
- Version Management: Proper semantic versioning with v1.0.1 milestone
- Dependency Updates: Updated
pyproject.tomlwith latest compatibility requirements - Build System: Improved packaging configuration for better distribution
📋 Technical Changes
Core Module Enhancements (tamga/main.py)
- Improved async logging capabilities
- Enhanced buffer management system
- Better error handling for external services
- Streamlined initialization process
Utility Improvements
- Colors Module: Enhanced Tailwind CSS color integration
- Mail Module: Improved SMTP handling and error management
- Time Module: Better timestamp formatting and timezone support
Configuration Updates
- Constants: Refined log level definitions
- Init Module: Improved package initialization
- Gitignore: Updated exclusion patterns for better development workflow
📈 Statistics
Files Changed: 17 files modified
Lines Added: +1,656 lines
Lines Removed: -474 lines
Net Addition: +1,182 lines of enhanced functionality
🔗 Key Additions
- 🤖 AI integration documentation (
llms.txt) - 🏃♂️ GitHub Actions workflows for CI/CD
- 🧪 Comprehensive test suite
- 📸 Screenshot generation utility
- 📚 Expanded README with production examples
🛠️ Breaking Changes
- Default
showTimezoneis nowFalsefor cleaner console output - Enhanced buffer system may affect custom buffer size configurations
- Improved client initialization may require updated configuration for MongoDB/email services
📦 Installation
pip install tamga==1.0.1 # Basic installation
pip install tamga[mongo]==1.0.1 # With MongoDB support
pip install tamga[api]==1.0.1 # With API logging support
pip install tamga[full]==1.0.1 # All features🙏 Acknowledgments
Special thanks to:
- Community contributors for feedback and suggestions
- Early adopters who helped identify improvement areas
Full Changelog: 0.1.14...1.0.1
Download: PyPI Package
Documentation: tamga.vercel.app
Made with ❤️ by Doğukan Ürker
v0.1.14
import error fix
v0.1.13
MongoDB and API logging are now optional features. This makes the package more lightweight for their usage purpose.
-
Basic installation:
pip install tamga
-
With API logging support:
pip install tamga[api]
-
With MongoDB integration:
pip install tamga[mongo]
-
Full installation with all features:
pip install tamga[full]
v0.1.12
- New mail UI.
Full Changelog: 0.1.11...0.1.12
v0.1.11
Colored terminal output is now an optional feature. By default, it is set to true. (isColored:bool)
Full Changelog: 0.1.10...0.1.11