pypi django-ninja 1.7.2

latest releases: 1.7.3, 1.6.5
3 hours ago

What's Changed

  • Fix auth/throttle overrides for nested routers in #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: v1.7.1...v1.7.2

Don't miss a new django-ninja release

NewReleases is sending notifications on new releases.