Skip to content

build(deps): bump django-ninja from 1.7.1 to 1.7.3 - #784

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/django-ninja-1.7.3
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/django-ninja-1.7.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps django-ninja from 1.7.1 to 1.7.3.

Release notes

Sourced from django-ninja's releases.

v1.7.3

What's Changed

  • Filter the response by the declared schema when a view returns a subclass instance in vitalik/django-ninja#1823
    • If a view declared response=UserOut and returned an instance of a subclass of UserOut, fields defined only on the subclass were included in the response (since 1.6.0). Now only the declared schema's fields are returned, as in 1.5.x.
    • Annotated[...] response types (e.g. with PlainSerializer) are now applied when a model instance is returned.

If your views return instances of subclasses of their response schema, we recommend upgrading.

Hotfix release cut from v1.7.2. It contains only the changes above.

Full Changelog: vitalik/django-ninja@v1.7.2...v1.7.3

1.7.2

What's Changed

  • Fix auth/throttle overrides for nested routers in vitalik/django-ninja#1820
    • api.add_router(..., auth=..., throttle=...) now also applies to routers nested inside the mounted router
    • Router.add_router(..., auth=..., throttle=...) keeps the override per mount, so a child router reused under several parents gets the right settings under each one

If you use nested routers with auth or throttle set on add_router(), we recommend upgrading.

Security reviewer reference: ANT-2026-H81LRF3W

Hotfix release cut from v1.7.1. It contains only the changes above (plus a test-only fix for pydantic 2.14, #1797).

Full Changelog: vitalik/django-ninja@v1.7.1...v1.7.2

Commits
  • c1235ec Bump version to 1.7.3
  • e51fcb9 Comment on using the declared schema serializer
  • 5358af3 Serialize returned schema instances with the declared response schema
  • bd13055 Bump version to 1.7.2
  • 282456f Keep Router.add_router(auth=/throttle=) overrides per mount
  • 23730e7 tests: decimal JSON schema has no pattern since pydantic 2.14 (#1797)
  • 05e0132 Fix add_router(auth=/throttle=) override not applied to nested routers
  • See full diff 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 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-ninja](https://github.com/vitalik/django-ninja) from 1.7.1 to 1.7.3.
- [Release notes](https://github.com/vitalik/django-ninja/releases)
- [Commits](vitalik/django-ninja@v1.7.1...v1.7.3)

---
updated-dependencies:
- dependency-name: django-ninja
  dependency-version: 1.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 9, 2026
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 python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants