Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Bump django-rest-knox from 4.2.0 to 5.0.1 #990

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2024

Bumps django-rest-knox from 4.2.0 to 5.0.1.

Release notes

Sourced from django-rest-knox's releases.

Fix issue with migration

  • Fix migration when not overriding AuthToken model

First Jazzband release! Fixes and improvements.

This is the first Jazzband release of django-rest-knox, and it comes with an extensive list of fixes and improvements from the last version. Thanks to everyone in the community that contributed to help get this through! 🚀

Warnings ⚠️

  • Tokens created prior to this release will no longer work

Changelist

  • Fix migration reverse flow, enable migrate 0
  • Various documentation fixes and improvements
  • Drop cryptography in favor of hashlib
  • Make custom AuthModel work
  • Token prefix can be set in the setttings
  • Drop support for Django 4.0
  • Add support for Dango 4.2, 5.0 and Python 3.11 and 3.12
  • Cleanup legacy Python 2.0 code
  • Fix isort, flake8 usage for Python 3.10 in the test suite
  • Update Github actions version
  • Upgrade markdown dependency
  • Get rid of the six library
  • Add custom login / logout response support
  • Join the jazzband organization
  • Add pre-commit hooks
  • Add tracking of tests code coverage
  • Fix migrations when used in condition with a custom DB
  • Improve typing
  • Use self.authenticate_header() in authenticate() method to get auth header prefix
Changelog

Sourced from django-rest-knox's changelog.

5.0.1

  • Fix migration: retrieve TOKEN_MODEL from knox_settings instead of Django settings.

5.0.0

  • Tokens created prior to this release will no longer work
  • Fix migration reverse flow, enable migrate 0
  • Various documentation fixes and improvements
  • Drop cryptography in favor of hashlib
  • Make custom AuthModel work
  • Token prefix can be set in the setttings
  • Drop support for Django 4.0
  • Add support for Dango 4.2, 5.0 and Python 3.11 and 3.12
  • Cleanup legacy Python 2.0 code
  • Fix isort, flake8 usage for Python 3.10 in the test suite
  • Update Github actions version
  • Upgrade markdown dependency
  • Get rid of the six library
  • Add custom login / logout response support
  • Join the jazzband organization
  • Add pre-commit hooks
  • Add tracking of tests code coverage
  • Fix migrations when used in condition with a custom DB
  • Improve typing
  • Use self.authenticate_header() in authenticate() method to get auth header prefix
Commits
  • 48dd83f Merge pull request #360 from jazzband/giovanni/fix-settings-dict
  • 4f4cde2 fix: Fix migration when retrieving from settings
  • cbecef3 Merge pull request #352 from jazzband/pre-commit-ci-update-config
  • d0a6d5e Version bump
  • 95a8fb3 Merge pull request #358 from max-wittig/patch-1
  • eeed217 docs(changelog): bump to 5.0.0, add token warning
  • 94727e9 Merge pull request #355 from jazzband/johnraz-add-changelog-for-release
  • 35382ea Merge remote-tracking branch 'origin/master' into johnraz-add-changelog-for-r...
  • a2edb24 Add changelog entries for release 4.3.0
  • 0113d42 Merge pull request #287 from brukberhane/develop
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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-rest-knox](https://github.com/jazzband/django-rest-knox) from 4.2.0 to 5.0.1.
- [Release notes](https://github.com/jazzband/django-rest-knox/releases)
- [Changelog](https://github.com/jazzband/django-rest-knox/blob/develop/CHANGELOG.md)
- [Commits](jazzband/django-rest-knox@4.2.0...5.0.1)

---
updated-dependencies:
- dependency-name: django-rest-knox
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner July 29, 2024 09:58
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 29, 2024
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.03%. Comparing base (6de0ee1) to head (956ae24).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #990   +/-   ##
=======================================
  Coverage   69.03%   69.03%           
=======================================
  Files          61       61           
  Lines        2025     2025           
=======================================
  Hits         1398     1398           
  Misses        627      627           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oliverjwroberts oliverjwroberts changed the base branch from main to chore/dependencies-31-07-2024 July 31, 2024 09:55
@oliverjwroberts oliverjwroberts merged commit 4088a7d into chore/dependencies-31-07-2024 Jul 31, 2024
4 checks passed
@oliverjwroberts oliverjwroberts deleted the dependabot/pip/django-rest-knox-5.0.1 branch July 31, 2024 09:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant