Skip to content

v4.0.0 - #41

Merged
ddc merged 5 commits into
mainfrom
v3.0.12
Mar 17, 2026
Merged

v4.0.0#41
ddc merged 5 commits into
mainfrom
v3.0.12

Conversation

@ddc

@ddcddc commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Breaking Changes

Package Import Renamed to Lowercase (PEP 8)

The package directory has been renamed from ddcDatabases to ddcdatabases to follow PEP 8 naming conventions.

Before (v3.x):

fromddcDatabasesimportPostgreSQL, DBUtils

After (v4.x):

fromddcdatabasesimportPostgreSQL, DBUtils

All class names (PostgreSQL, MSSQL, MySQL, MongoDB, etc.) remain unchanged — only the package import name is lowercase.

Migration

Update all imports in your code:

# Find and replace
ddcDatabases → ddcdatabases

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

pip install ddcdatabases

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

@ddcddc self-assigned this Mar 1, 2026
@ddc
ddc marked this pull request as draft March 1, 2026 17:43
@codecov

codecovBot commented Mar 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.58824% with 8 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing linesPatch %Lines
ddcdatabases/core/base.py52.94%8 Missing ⚠️
Files with missing linesCoverage Δ
ddcdatabases/core/configs.py93.24% <100.00%> (ø)
ddcdatabases/core/constants.py100.00% <100.00%> (ø)
ddcdatabases/core/exceptions.py100.00% <ø> (ø)
ddcdatabases/core/operations.py98.36% <ø> (ø)
ddcdatabases/core/persistent.py100.00% <100.00%> (ø)
ddcdatabases/core/retry.py90.47% <100.00%> (ø)
ddcdatabases/core/settings.py94.67% <100.00%> (ø)
ddcdatabases/mongodb.py96.22% <100.00%> (ø)
ddcdatabases/mssql.py100.00% <100.00%> (ø)
ddcdatabases/mysql.py100.00% <100.00%> (ø)
... and 4 more

@ddcddc changed the title v3.0.12v4.0.0Mar 17, 2026
@ddc
ddc marked this pull request as ready for review March 17, 2026 00:31
@ddc
ddc marked this pull request as draft March 17, 2026 00:48
@ddc
ddc marked this pull request as ready for review March 17, 2026 14:41
@sonarqubecloud

Copy link
Copy Markdown

@ddc
ddc merged commit 3a3b198 into mainMar 17, 2026
14 checks passed
@ddc
ddc deleted the v3.0.12 branch March 17, 2026 14:45
Sign up for freeto 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

@ddc