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
|
2024-02-08 15:06:05 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-django-import-export: updated to 3.3.7
3.3.7 (2024-02-03)
Pass get_export_resource_kwargs() to Resource constructor export_action()
Fix issue with model class passed to Resource constructor crashing on export
Fix indentation for skip_row docstring
Return kwargs by default from get_resource_kwargs()
|
2024-01-14 21:53:38 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-django-import-export: updated to 3.3.6
3.3.6
Fix issue with highlight when using ‘light’ color scheme
|
2023-12-31 23:04:59 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-django-import-export: updated to 3.3.5
3.3.5
Remove unnecessary ChangeList queries to speed up export via Admin UI
Respect color scheme override
Update FAQ to cover skipping rows with validation errors
|
2023-12-14 11:47:19 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-django-import-export: updated to 3.3.4
3.3.4
Added support for django5
Show list of exported fields in Admin UI
Added CONTRIBUTING.md
Added support for python 3.12
Update Finnish translations
|
2023-12-07 19:17:11 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-django-import-export: updated to 3.3.3
3.3.3 (2023-11-11)
:meth:`~import_export.admin.ExportActionMixin.export_admin_action` can be \
overridden by subclassing it in the ModelAdmin
3.3.2 (2023-11-09)
Updated Spanish translations
Added documentation and tests for retrieving instance information after import
:meth:`~import_export.widgets.NumberWidget.render` returns None as empty string \
if coerce_to_string is True
Updated documentation to describe how to select for export in Admin UI
Added catch for django5 deprecation warning
Updated and compiled message files
3.3.1 (2023-09-14)
Added .readthedocs.yaml
3.3.0 (2023-09-14)
Deprecations
Remove 'escape output' deprecation
Removal of deprecated :ref:`IMPORT_EXPORT_ESCAPE_OUTPUT_ON_EXPORT`.
Deprecation of :ref:`IMPORT_EXPORT_ESCAPE_HTML_ON_EXPORT`. Refer to \
:ref:`installation` docs.
Enhancements
Refactoring and fix to support filtering exports
Store instance and original object in :class:`~import_export.results.RowResult`
Add customizable blocks in import.html
Include 'allowed formats' settings
Add kwargs to enable CharWidget to return values as strings
Internationalization
Add Finnish translation
Updated ru translation
Fixed badly formatted translation string
Remove 'escape output' deprecation
Fixes
Do not decode bytes when writing to MediaStorage
Fix for cache entries not removed
Development
Added support for Django 4.2
Add automatic formatting and linting
removed duplicate admin integration tests
Removed support for python3.7 and django4.0 (past EOL)
Documentation
Updated documentation for interoperability with third party libraries
|
2023-08-02 01:20:57 by Thomas Klausner | Files touched by this commit (158) |
Log message:
*: remove more references to Python 3.7
|