Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 10:02
· 7 commits to master since this release
fix(db): sanitize inputs and improve compression for export cmds

Introduces shell escaping for database credentials (password, user, dbname) to prevent command injection and handle special characters correctly. Also updates the export logic to prioritize `zstd` for compression if available, falling back to `gzip`, and adds `pipefail` to ensure pipeline errors are propagated. Additionally, support for CouchDB has been added to the command builder.

- Implement `shellEscape` function to safely quote strings.
- Apply escaping to PostgreSQL and MySQL/MariaDB authentication arguments.
- Add CouchDB export logic (Docker and native).
- Update compression pipeline to auto-detect `zstd` vs `gzip`.
- Improve error handling and logging in connection testing logic.