Skip to content

Releases: HelgeSverre/dbdump

Release v1.2.0

31 Mar 12:46

Choose a tag to compare

Release v1.2.0

See CHANGELOG.md for full details.

Release v1.1.1

02 Mar 10:21

Choose a tag to compare

Release v1.1.1

See CHANGELOG.md for full details.

Release v1.1.0

16 Dec 10:21

Choose a tag to compare

Release v1.1.0

See CHANGELOG.md for full details.

v1.0.1

28 Oct 20:55

Choose a tag to compare

Fixed

  • CI/CD pipeline now passes all tests
  • Updated docker-compose to docker compose for 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 -l instead of platform-specific stat

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

28 Oct 18:31

Choose a tag to compare

Security Fixes (CRITICAL)

  • Fixed password exposure in process lists
    • Changed from -p<password> command-line argument to MYSQL_PWD environment variable
    • Passwords no longer visible in ps aux or process monitoring tools
    • Prevents credential leakage to other users on the system
  • 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 --routines flag to avoid INFORMATION_SCHEMA.LIBRARIES error
    • Added platform flag (linux/amd64) to Docker Compose for Apple Silicon compatibility
  • 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_PWD as preferred alternative to MYSQL_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.