Skip to content

Bump django-ninja from 1.4.3 to 1.6.2#3282

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/django-ninja-1.6.2
Open

Bump django-ninja from 1.4.3 to 1.6.2#3282
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/django-ninja-1.6.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2026

Bumps django-ninja from 1.4.3 to 1.6.2.

Release notes

Sourced from django-ninja's releases.

1.6.2

What's Changed

New Contributors

Full Changelog: vitalik/django-ninja@v1.6.1...v1.6.2

1.6.1

What's Changed

Full Changelog: vitalik/django-ninja@v1.6.0...v1.6.1

1.6.0

What's New

Idempotent Router(s)

Routers are now reusable and can be mounted to multiple APIs or multiple times within the same API. Decorators, auth, tags, and throttle settings are fully isolated between mounts.

router = Router(tags=["shared"])
@​router.get("/items")
def list_items(request):
return [{"id": 1}]
Mount same router to multiple APIs
api_v1 = NinjaAPI(urls_namespace="v1")
api_v1.add_router("/", router)
api_v2 = NinjaAPI(urls_namespace="v2")
api_v2.add_router("/", router) # !!! Before this was giving an error

Cursor Pagination

New CursorPagination class for stable pagination over frequently changing datasets. Uses base64-encoded cursor tokens instead of offsets, ensuring consistent results even when items are added or removed.

from ninja.pagination import paginate, CursorPagination
@​api.get("/events", response=list[EventSchema])
@​paginate(CursorPagination, ordering=("-created",), page_size=20)
def list_events(request):
return Event.objects.all()

... (truncated)

Commits

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.4.3 to 1.6.2.
- [Release notes](https://github.com/vitalik/django-ninja/releases)
- [Commits](vitalik/django-ninja@v1.4.3...v1.6.2)

---
updated-dependencies:
- dependency-name: django-ninja
  dependency-version: 1.6.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants