Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Bump django-import-export from 2.5.0 to 3.0.2 in /backend #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

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

Bumps django-import-export from 2.5.0 to 3.0.2.

Release notes

Sourced from django-import-export's releases.

2.8.0

No release notes provided.

2.7.1

No release notes provided.

2.7.0

No release notes provided.

2.6.1

bug fix release

2.6.0

No release notes provided.

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 compatibility score

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)

Bumps [django-import-export](https://github.com/django-import-export/django-import-export) from 2.5.0 to 3.0.2.
- [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
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added Priority: Medium Status: Review Needed Awaiting approval from a lead Type: Dependency Dependency updates by Dependabot labels Dec 31, 2022
@dependabot dependabot bot requested review from a team December 31, 2022 05:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Priority: Medium Status: Review Needed Awaiting approval from a lead Type: Dependency Dependency updates by Dependabot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants