Xdump

Latest version: v0.6.0

Safety actively analyzes 619504 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.0

---------------------

Added
~~~~~

- Possibility to truncate data in the database instead of the DB re-creation. ``truncate`` method in DB backends. `48`_
- Command Line Interface. `6`_

Changed
~~~~~~~

- Do not try to load schema if it is absent in the dump. `39`_
- ``xdump.sqlite.SQLiteBackend`` now accepts only ``dbname`` and ``verbosity``. `52`_
- Now Django's ``xload`` command doesn't recreate the DB but provides a non required option ``--cleanup-method`` for
choosing how to clean-up the database before the dump loading. `53`_
- Django's ``xload`` command options are renamed.
``--dump_data`` -> ``--dump-data`` and ``--dump_schema`` -> ``--dump-schema``.

0.5.0

---------------------

Added
~~~~~

- Options to exclude schema or data from the dump. `29`_
- PyPy 2 & 3 and Python 2.7 support.

Changed
~~~~~~~

- SQLite < 3.8.3 is unsupported explicitly. ``RuntimeError`` is raised with unsupported SQLite version. `13`_
- Relation's data loading is optimized. `25`_
- Relation's query for PostgreSQL is optimized. `45`_
- An error is raised if a key from ``partial_tables`` is contained by ``full_tables``. `44`_

0.4.0

---------------------

Added
~~~~~

- Dump compression level customization. `16`_
- Logging support. `15`_

Fixed
~~~~~

- Querying for relations by a read-only user in PostgreSQL. `21`_
- Constraint names were clashing on different tables. `22`_

0.3.1

---------------------

Fixed
~~~~~

- PostgreSQL search path issue.

0.3.0

---------------------

Added
~~~~~

- Support for Python 3.4 & 3.5. `7`_
- Automatic selection of related objects.

0.2.0

---------------------

Added
~~~~~

- SQLite support. `8`_

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.