Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 13, 2022

Updates the requirements on django-import-export to permit the latest version.

Changelog

Sourced from django-import-export's changelog.

3.0.2 (2022-12-13)

  • Support Python 3.11 (#1508)
  • use get_list_select_related in ExportMixin (#1511)
  • bugfix: handle crash on start-up when change_list_template is a property (#1523)
  • bugfix: include instance info in row result when row is skipped (#1526)
  • bugfix: add **kwargs param to Resource constructor (#1527)

3.0.1 (2022-10-18)

  • Updated django-import-export-ci.yml to fix node.js deprecation
  • bugfix: DateTimeWidget.clean() handles tz aware datetime (#1499)
  • Updated translations for v3.0.0 release (#1500)

3.0.0 (2022-10-18)

Breaking changes ################

This release makes some minor changes to the public API. If you have overridden any methods from the resources or widgets modules, 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.
  • Bug fix: validation errors were being ignored when skip_unchanged is set (#1378)

    • If you have overridden skip_row() you can choose whether or not to skip rows if validation errors are present. The default behavior is to not to skip rows if there are validation errors during import.
  • Use 'create' flag instead of instance.pk (#1362)

    • import_export.resources.save_instance() now takes an additional mandatory argument: is_create. If you have overridden save_instance() in your own code, you will need to add this new argument.
  • widgets: Unused *args params have been removed from method definitions. (#1413)

    • If you have overridden clean() then you should update your method definition to reflect this change.
    • widgets.ForeignKeyWidget / widgets.ManyToManyWidget: The unused *args param has been removed from __init__(). If you have overridden ForeignKeyWidget or ManyToManyWidget you may need to update your implementation to reflect this change.
  • Admin interface: Modified handling of import errors (#1306)

    • Exceptions raised during the import process are now presented as form errors, instead of being wrapped in a <H1> tag in the response. If you have any custom logic which uses the error written directly into the response, then this may need to be changed.
  • ImportForm: improve compatibility with previous signature (#1434)

    • Previous ImportForm implementation was based on Django's forms.Form, if you have any custom ImportForm you now need to inherit from import_export.forms.ImportExportFormBase.
  • Allow custom change_list_template in admin views using mixins (#1483)

    • If you are using admin mixins from this library in conjunction with code that overrides change_list_template (typically admin mixins from other libraries such as django-admin-sortable2 or reversion), object tools in the admin change list views may render differently now.
    • If you have created a custom template which extends any import_export template, then this may now cause a recursion error (see #1514)
  • import.html: Added blocks to import template (#1488)

    • If you have made customizations to the import template then you may need to refactor these after the addition of block declarations.

... (truncated)

Commits
  • aae186e Preparing release 3.0.2
  • d5c6510 Use keyword arguments for resource classes (#1527)
  • 3228c79 feat: report skipped rows properly - including the instance info (#1526)
  • 03972a2 handle crash on start-up when change_list_template is a property (#1523)
  • 9058392 Use get_list_select_related (#1511)
  • 2255245 support python 3.11 (#1508)
  • 87c7e1e Back to development: 3.0.2
  • 639654a Preparing release 3.0.1
  • 360b58c updated ci.yml to fix node.js deprecation
  • 683889a bugfix: DateTimeWidget.clean() handles tz aware datetime (#1499)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [django-import-export](https://github.com/django-import-export/django-import-export) to permit the latest version.
- [Release notes](https://github.com/django-import-export/django-import-export/releases)
- [Changelog](https://github.com/django-import-export/django-import-export/blob/main/docs/changelog.rst)
- [Commits](django-import-export/django-import-export@2.5.0...3.0.2)

---
updated-dependencies:
- dependency-name: django-import-export
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 13, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 22, 2023

Superseded by #75.

@dependabot dependabot bot closed this Feb 22, 2023
@dependabot dependabot bot deleted the dependabot/pip/django-import-export-approx-eq-3.0.2 branch February 22, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant