Repository navigation
Releases
v1.1.0
Changes
- Read the archive files written before a field changed type (#8). Each file is read with its own column types, and the files of a page are joined into a type that fits all of them, so a page that mixes them no longer fails with "could not be read". Date and datetime columns follow the current field, text in a field that is now a number or a boolean is converted, and a value the field no longer converts is shown as it is in the file instead of failing the page. The detail also shows the columns of fields removed from the model.
- Stop the archive policies that no longer match their models (#10). A policy whose saved schema, filter or ordering no longer matches its model (a changed type, a removed or renamed field, an unsupported type, or a removed model) is not archived until it is saved again in the admin, so rows are never archived with an old type. The admin form rejects a filter or ordering field that left the model, and the policy of a removed model can be deactivated.
- New database system check
parquet_archive.W001, a warning about those policies inmigrate(before the migrations), in the test runner and incheck --database.
Behaviour changes
archive_tablesandindex_filesno longer stop at the first table that fails: the other tables are still processed, andArchiveErrorlists the failed ones at the end. A celery soft time limit still stops the run right away.- A policy created by a data migration with a column type different from the one the admin shows for that field is no longer archived until it is saved again. See Changes in the model in the README.
- No new migrations.
PyPI: https://pypi.org/project/django-parquet-archive/1.1.0/
Full Changelog: v1.0.0...v1.1.0
v1.0.0
First stable release.
PyPI: https://pypi.org/project/django-parquet-archive/1.0.0/
Full Changelog: v0.2.1...v1.0.0
v0.2.1
What's Changed
- Região do S3 deixada para o polars quando o storage não configura uma by @victoraugusto6 in #7
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Changes
- Replace the daily folders with an index of the archive files
- Show an error instead of failing when an indexed archive file cannot be read
- Index the archive files automatically when the admin needs them
Breaking changes
partition_field(daily folders) was removed. The admin now picks the files of each page from an index in the database, by the first field of the policy ordering when it is a non-null date of the model.- Run
python manage.py migrate parquet_archiveafter upgrading. The files already archived are indexed the first time the archive is listed in the admin (it needs a celery worker), or right away with theparquet_archive.index_filestask.
See Upgrading from 0.1 in the README.
PyPI: https://pypi.org/project/django-parquet-archive/0.2.0/
Full Changelog: v0.1.4...v0.2.0
v0.1.4
Changes
- Publish to PyPI on GitHub release instead of tag push
PyPI: https://pypi.org/project/django-parquet-archive/0.1.4/
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Changes
- Point the project URLs to onidata and drop the personal author name
PyPI: https://pypi.org/project/django-parquet-archive/0.1.3/
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Changes
- Add authors, classifiers and changelog URL to the package metadata
- Check the tag version and create the GitHub release on publish
- Add Dependabot for GitHub Actions and the uv lock file
- Bump the github-actions group with 4 updates
- Bump polars from 1.44.2 to 2.0.0 in the uv group
PyPI: https://pypi.org/project/django-parquet-archive/0.1.2/
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Changes
- Add PyPI, Python, Django, CI and license badges to the README
PyPI: https://pypi.org/project/django-parquet-archive/0.1.1/
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Changes
- Create Django library to archive old table rows to parquet files
- Rename the data source filter parameter to data_source
PyPI: https://pypi.org/project/django-parquet-archive/0.1.0/