Changelog¶
Version 0.6.0 - 2026/03/31¶
Fixed package setup with modern Python;
Added support for Python 3.12 and 3.13;
Added support for Django 5.2 and 6;
Fixed some tests that were not stable between Python and Django (because of file sizes);
Version 0.5.0 - 2025/02/03¶
Added new option
use_base_managerapplication definition which can be used to bypass custom model manager from an application. Under the hood it just enables option--allfromdumpdata;Fixed Dump admin download view that was not working well. Because of some wrong response headers the downloaded archive was uncompressed by browsers but still named as a
tar.gzfile and so Diskette failed to load them;Introduced new setting
DISKETTE_ADMIN_ENABLEDto allow disabling the Diskette admin views. Diskette will still be usable only from its commands;Dump logs are not displayed in dump admin view. Instead a link is showed to display it in a dedicated plain text view;
Added new option
--saveto diskette dump command to save created archive to a new DumpFile object that can be used from admin;Added new possible pattern
datein dump filename to include a datetime like2025-02-03T175309;
Version 0.4.0 - 2024/11/30¶
Major release for new feature to create and manage dump from Django admin, there is no incompatibility with previous version.
Added support for Python 3.11;
Added support for Django 5.1;
Added minimal version for all requirements;
Fixed usage of settings
DISKETTE_DUMP_PATHandDISKETTE_LOAD_STORAGES_PATHwhen there are empty value, Diskette code now fallbacks toPath.cwd();Added a dummy homepage in sandbox instead of the previous 404 page;
Added new setting
DISKETTE_DUMP_PERMISSIONSto define filesystem permissions to apply on dump destination directory and archive file. It defaults to0o755;Added Django admin interface to manage dumps:
Added models to manage dump files and API keys;
API keys is currently unused until command
diskette_loadhas been updated;Added django-sendfile2 to requirements and use it to serve dump file;
Dump file are limited to a single availability for the same option set (with data, with storages and with everything);
Creating a new dump will deprecate other dumps with identical option set then and purge files of deprecated dumps;
Dump process logs everything into Dump object attribute
logs;Dump process is not safe yet because it is still included in the same transaction than the object creation so if it fails, the object is never saved. However it won’t create ghost files;
Available dump can be downloaded directly from their admin detail view;
Version 0.3.6 - 2024/09/01¶
Minor fixes in Makefile, documentation and Pytest adopted options;
Implemented loaddata option
ignorenonexistent;Added support for Django 5.0;
Version 0.3.5 - 2024/03/31¶
Added option
--exclude-datatodiskette_loadto exclude some dump filenames from loading;Added setting
DISKETTE_LOAD_MINIMAL_FILESIZEto filter out dumps with file size under the size limit;
Version 0.3.4 - 2024/03/30¶
Added options
--appand--excludetodiskette_apps;Removed forgotten debug print from dump code;
Version 0.3.3 - 2024/03/28¶
Added option
--checktodiskette_dumpto perform validation and checking without to query database or writing anything onto filesystem;Added option
--formattodiskette_appswith additionalpythonformat which is now the default one instead ofjson;Changed
diskette_dumpanddiskette_loadso they output Diskette version as an early debug log message;
Version 0.3.2 - 2024/03/25¶
Added support of archive URL to download in
diskette_load;Added options for archive checksum creation and comparison in
diskette_load;Added option for archive checksum creation in
diskette_dump;Improve handlers test coverage on options;
Version 0.3.1 - 2024/03/21¶
Fix release for missing commandline script from package.
Version 0.3.0 - 2024/03/21¶
Added
diskette_loadcommand;Added
diskette_appscommand;Added
polymorphic_dumpdatacommand, a work around for issues with application models that usedjango-polymorphic;Lots of refactoring to include an application store to properly resolve and manage data dump with application models;
Many adjustments to make dump and loading work;
Added contribution modules for
django-configurationandproject-composer;Added
project-composeras a documentation requirement;
Diskette enters in its Beta stage
Diskette bases are there and should be working well, however it currently still have some lacks:
It is currently a commandline tool only, there is no admin interface yet although it has been planned;
Possible errors from validations are not well managed yet, it means they may be outputed as raw exceptions instead of human friendly messages;
Some commandlines lacks of some helpful arguments;
Documentation is still in progress;
Some bugs may be present with some options or specific configurations. This is the goal of the Beta stage to find them and fix them;
Version 0.2.0 - Not released as a package¶
Implemented storages dump chain;
Added
diskette_dumpcommand;Implemented all usefull options;
Added test coverage for the dump chain;
Version 0.1.0 - Not released as a package¶
Started with
cookiecutter-sveetch-djangoapp==0.7.0;Added dump management with Django
dumpdatacommand;