Skip to content

Commit

Permalink
re-added changelog entries
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhegarty committed Dec 29, 2021
1 parent c69eb3c commit 9787d74
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ Breaking changes
This release makes the following changes to the API. You may need to update your implementation to
accommodate these changes.

- Check value of ManyToManyField in skip_row() (#1271)
- This fixes an issue where ManyToMany fields are not checked correctly in `skip_row()`.
This means that `skip_row()` now takes `row` as a mandatory arg.
If you have overridden `skip_row()` in your own implementation, you will need to add `row`
as an arg.

- Use 'create' flag instead of instance.pk (#1362)
- ``import_export.resources.save_instance()`` now takes an additional mandatory argument: `is_create`.
If you have over-ridden `save_instance()` in your own code, you will need to add this new argument.

- Add support for multiple resources in ModelAdmin. (#1223)
- The `*Mixin.resource_class` accepting single resource has been deprecated (will work for few next versions) and
the new `*Mixin.resource_classes` accepting subscriptable type (list, tuple, ...) has been added.
- Same applies to all of the `get_resource_class`, `get_import_resource_class` and `get_export_resource_class` methods.

- Deprecated `exceptions.py` - this module will be removed in a future release (#1372)

Enhancements
Expand Down

0 comments on commit 9787d74

Please sign in to comment.