Skip to content

Releases: DogukanUrker/Tamga

v1.4.0

12 Jul 23:01
93be6f0

Choose a tag to compare

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

11 Jul 22:45
260ed33

Choose a tag to compare

What's Changed

Full Changelog: 1.2.0...1.3.1

v1.2.0

30 Jun 21:36

Choose a tag to compare

🔔 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, apiURL parameters
  • Removed sendMail, smtpServer, smtpPort, smtpMail, smtpPassword, smtpReceivers, mailLevels parameters
  • 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 features

See documentation for full details.

v1.1.1

28 Jun 21:49

Choose a tag to compare

  • way faster logging
  • small display fixes in without color terminal mode.

Full Changelog: 1.0.2...1.1.1

v1.0.2

28 Jun 16:12

Choose a tag to compare

PyPi fixes

Full Changelog: 1.0.1...1.0.2

v1.0.1

28 Jun 14:39

Choose a tag to compare

🎉 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.txt documentation 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 showTimezone parameter (defaults to False) 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.py for 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.toml with 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 showTimezone is now False for 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

17 Mar 17:13

Choose a tag to compare

import error fix

v0.1.13

14 Mar 18:18

Choose a tag to compare

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

09 Feb 17:34

Choose a tag to compare

  • New mail UI.

Full Changelog: 0.1.11...0.1.12

v0.1.11

25 Jan 12:50

Choose a tag to compare

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