Skip to content

v7.0.0#28

Merged
ddc merged 6 commits intomainfrom
v6.0.4
Mar 20, 2026
Merged

v7.0.0#28
ddc merged 6 commits intomainfrom
v6.0.4

Conversation

@ddc
Copy link
Owner

@ddc ddc commented Mar 1, 2026

Breaking Changes

Package Import Renamed to Lowercase (PEP 8)

The package directory has been renamed from pythonLogs to pythonlogs to follow PEP 8 naming conventions.

Before (v6.x):

from pythonLogs import BasicLog, SizeRotatingLog, TimedRotatingLog
from pythonLogs.core.factory import LoggerFactory

After (v7.x):

from pythonlogs import BasicLog, SizeRotatingLog, TimedRotatingLog
from pythonlogs.core.factory import LoggerFactory

All class names (BasicLog, SizeRotatingLog, TimedRotatingLog, LogLevel, RotateWhen, etc.) remain unchanged — only the package import name is lowercase.

Migration

Update all imports in your code:

# Find and replace
pythonLogs → pythonlogs

The pip install command is unchanged (PyPI is case-insensitive):

pip install pythonlogs

Dropped Python 3.11 Support

Minimum Python version is now 3.12. Python 3.11 is no longer supported.

Type of Change

  • Bug fix
  • New feature
  • Breaking change (existing functionality affected)
  • Refactoring (no functional changes)
  • Documentation
  • CI/CD or build configuration
  • Dependencies update

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • All existing tests pass
  • Manual testing performed

Checklist

  • Code follows the project's style and conventions
  • Documentation updated (if applicable)
  • No new warnings or linter errors introduced
  • I have considered how this change may affect other services

Reviewer

  • I understand that by approving this PR, I share responsibility for these changes

@ddc ddc self-assigned this Mar 1, 2026
@codecov
Copy link

codecov bot commented Mar 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
pythonlogs/basic_log.py 100.00% <100.00%> (ø)
pythonlogs/core/constants.py 100.00% <ø> (ø)
pythonlogs/core/factory.py 100.00% <100.00%> (ø)
pythonlogs/core/log_utils.py 94.78% <100.00%> (ø)
pythonlogs/core/memory_utils.py 45.31% <ø> (ø)
pythonlogs/core/settings.py 100.00% <100.00%> (ø)
pythonlogs/core/thread_safety.py 98.68% <100.00%> (ø)
pythonlogs/size_rotating.py 100.00% <100.00%> (ø)
pythonlogs/timed_rotating.py 100.00% <100.00%> (ø)

@ddc ddc changed the title v6.0.4 v7.0.0 Mar 20, 2026
@sonarqubecloud
Copy link

@ddc ddc marked this pull request as ready for review March 20, 2026 14:07
@ddc ddc merged commit 978a088 into main Mar 20, 2026
13 checks passed
@ddc ddc deleted the v6.0.4 branch March 20, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant