Releases: HelgeSverre/dbdump
Releases · HelgeSverre/dbdump
Release v1.2.0
Release v1.2.0
See CHANGELOG.md for full details.
Release v1.1.1
Release v1.1.1
See CHANGELOG.md for full details.
Release v1.1.0
Release v1.1.0
See CHANGELOG.md for full details.
v1.0.1
Fixed
- CI/CD pipeline now passes all tests
- Updated
docker-composetodocker composefor newer Docker CLI compatibility - Fixed 7 errcheck violations with proper error handling for Close/Flush operations
- Integration tests now CI-aware to avoid port conflicts with GitHub Actions services
- Fixed portable file permission checks using
ls -linstead of platform-specificstat
Documentation
- Updated all documentation for accuracy and consistency
- Fixed Go version requirement from 1.21+ to 1.23+
- Corrected date inconsistencies throughout documentation
- Emphasized DBDUMP_MYSQL_PWD as preferred environment variable over MYSQL_PWD
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Security Fixes (CRITICAL)
- Fixed password exposure in process lists
- Changed from
-p<password>command-line argument toMYSQL_PWDenvironment variable - Passwords no longer visible in
ps auxor process monitoring tools - Prevents credential leakage to other users on the system
- Changed from
- Dump files now created with restrictive permissions (0600)
- Only file owner can read/write dump files
- Prevents unauthorized access to database dumps
- Safe DSN construction using mysql.Config
- Proper escaping of special characters in passwords/usernames
- Added connection timeouts (5s connect, 30s read/write)
Compatibility Fixes
- MySQL 5.7 compatibility with newer mysqldump clients
- Removed
--routinesflag to avoid INFORMATION_SCHEMA.LIBRARIES error - Added platform flag (
linux/amd64) to Docker Compose for Apple Silicon compatibility
- Removed
- macOS bash 3.2 compatibility for test scripts
- Added proper mysqldump flags for triggers, events, and cross-version compatibility
Performance
- Increased buffer size from 4KB to 256KB for improved write performance (~11% reduction in system time)
- Added mysqldump optimization flags for ~6-8% throughput improvement
- Typical performance: 100-135 MB/s depending on system and database characteristics
Added
- Environment variable support:
DBDUMP_MYSQL_PWDas preferred alternative toMYSQL_PWD - Docker Compose test environment (MySQL 5.7, 8.0, 8.4, MariaDB 10.11)
- Sample data generation script with configurable sizes
- Comprehensive integration test suite
- Extensive documentation (SECURITY.md, TESTING_GUIDE.md, BENCHMARKING.md)
Initial Release: First stable version with security fixes, MySQL 5.7-8.4 compatibility, and comprehensive testing.