2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325) |
Log message:
*: clean-up after python38 removal
|
2024-07-17 11:16:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 4.1.1
4.1.1 (2024-07-08)
- Restore return value for deprecated method \
:meth:`~import_export.resources.Resource.get_fields`
- Remove use of ``getattr()`` in ``Field.__repr__()``
- Add class path to deprecated method warnings
4.1.0 (2024-06-25)
- Improve tox setup
- Speed up tests 10x
- Use literals to create lists and dicts
- Improve Error class
- Fix response content assertions
- Admin UI: display checkboxes before labels in export form
- deprecated unused method: :meth:`~import_export.resources.Resource.get_fields`
|
2024-06-10 10:48:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 4.0.7
4.0.7 (2024-05-30)
fix documentation to show correct method for reading form data on export
Admin UI: display both field name and column name on export
fix export declared field with custom column name
fix declared fields do not have correct Widget class set
docs: clarify changes to CharWidget in v4
refactor Resource to remove code duplication in export
4.0.6 (2024-05-27)
Added additional test for export field order
fix crash on import when relation has custom PK
fix crash on export from action when instance has custom PK
|
2024-05-24 18:54:27 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 4.0.5
4.0.5 (2024-05-23)
- Fix for invalid build due to malformed README.rst
4.0.4 (2024-05-23)
- Refactored ``DateWidget`` & ``DateTimeWidget`` to remove code duplication
- Release note documentation updated
- Added missing migration to example app
- Fix admin UI display of field import order
|
2024-05-18 08:08:50 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 4.0.3
4.0.3 (2024-05-16)
- Support widgets with CSS and JS media in ImportForm
- Documentation updates
- Clarified documentation when importing with ``import_id_fields``
- re-add ``resource_class`` deprecation warning
- fixed Arabic translation for 'import' word
|
2024-05-14 16:37:03 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 4.0.2
4.0.2 (2024-05-13)
fix export with custom column name (1821)
fix allow column_name to be declared in fields list (1822)
fix clash between key_is_id and use_natural_foreign_keys (1824)
remove unreachable code (1825)
fix issue with widget assignment for custom ForeignKey subclasses (1826)
performance: select of valid pks for export restricted to action exports (1827)
fix crash on export with custom column name (1828)
remove outdated datetime formatting logic (1830)
|
2024-05-13 11:15:36 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 4.0.1
4.0.1 (2024-05-08)
- fix crash on export when model has no ``id``
- fix Widget crash when django Field subclass is used
- fix regression: allow imports when default ``import_id_field`` is not present
|
2024-05-06 10:13:24 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-django-import-export: updated to 4.0.0
4.0.0 (2024-04-27)
Version 4 introduces breaking changes. Please refer to :doc:`release \
notes<release_notes>`.
Deprecations
- Removed v3 deprecations
- Deprecation of ``ExportViewFormMixin``
Enhancements
- Refactor ordering logic
- Refactor 'diff' logic to avoid calling dehydrate methods
- Refactor declarations of ``fields``, ``import_order`` and ``export_order`` \
to fix ordering issues
- refactor to export HTML / formulae escaping updates
- removed unused variable ``Result.new_record``
- Refactor ``resources.py`` to standardise method args
- added specific check for missing ``import_id_fields``
- Enable optional tablib dependencies
- added :meth:`~import_export.widgets.ForeignKeyWidget.get_lookup_kwargs` to \
make it easier to override object lookup
- Standardised interface of :meth:`~import_export.widgets.Widget.render`
- Fix declaring existing model field(s) in ModelResource altering export order
- Added :meth:`~import_export.resources.Resource.do_instance_save` helper method
- Enable defining Resource model as a string
- Support multiple Resources for export
- Support export from model change form
- Import form defaults to read-only field if only one format defined
- Updated Admin UI to track deleted and skipped Imports
- Added customizable ``MediaStorage``
- Added customization of Admin UI import error messages
- Improve output of error messages
- Added feature: selectable fields for admin export view
- Added specific check for declared \
:attr:`~import_export.options.ResourceOptions.import_id_fields` not in dataset
- added try / catch to \
:meth:`~import_export.results.RowResult.add_instance_info` to handle \
unserializable instances
- Add form error if source file contains invalid header
- Remove unneeded format method overrides
- Support dynamic selection of Resource class based on request property
Fixes
- dynamic widget parameters for CharField fixes 'NOT NULL constraint' error in xlsx
- fix cooperation with adminsortable2
- Removed unused method ``utils.original()``
- Fix deprecated ``log_action`` method
- fix multiple inheritance not setting options
- Fix issue where declared Resource fields not defined in ``fields`` are still \
imported
- Fixed handling of :attr:`~import_export.exceptions.FieldError` during Admin import
- Fixed handling of django ``FieldError`` during Admin export
- Add check for type to :meth:`~import_export.widgets.Widget.render`
- fix: YAML export does not work with SafeString
- fix: :meth:`~import_export.widgets.SimpleArrayWidget.render` crashes if value \
is ``None``
- fix form not being passed to ``get_import_resource_kwargs()``
- Fix: Missing default widget for ``PositiveBigIntegerField``
Development
- Refactor build process
- Refactored ``test_admin_integration()``: split into smaller test modules
- Refactored ``test_resources()``: split into smaller test modules
- Updated ``docker-compose`` command with latest version syntax in ``runtests.sh``
- Refactored :mod:`~import_export.resources` into separate modules for \
``declarative`` and ``options``
- Refactored tests to remove dependencies between tests
- Handle python3.12 datetime deprecations
- Refactor ``test_resources.py`` into smaller modules
- Updated test coverage to include error row when ``collect_failed_rows`` is ``True``
- Removed support for django 3.2
- Added test for widgets generating by model fields
Documentation
- Clarified ``skip_diff`` documentation
- Improved documentation relating to validation on import
- Added FAQ entry for exporting large datasets
- Relocated admin integration section from advanced_usage.rst into new file
- Updated Admin integration documentation to clarify how to save custom form values
Performance
- Fix slow export with ForeignKey id
i18n
- updated translations for release-4
|
2024-04-10 10:50:33 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-django-import-export: updated to 3.3.8
3.3.8
Add additional django template block for extending import page
|