pypi django-ninja 1.0a3
1.0 alpha3

latest releases: 1.1.0, 1.0.1, 1.0...
9 months ago

Warning: This is a pre-release of Django Ninja V1

You probably should not use this version in production


What's new v1a3

  • Fixed pydantic context serialisation #825

What's new v1a2

  • Pagination class accepts a request object

What's new v1a1

  • async authentication fully supported on all layers
  • CSRF is now automatic on Cookie based authentication ( now you should be able to combine multiple cookie/header/etc authenticators and play around with csrf logic)
  • Pydantic2 - which has a core re-written in Rust and includes a lot of improvements and features like:
    • Safer types.
    • Better extensibility.
    • Better performance - so far on few projects that I tested getting average 10% speed improvements (some particular views which do lot of validations should get pretty good bumps)

Unfortunately Django ninja integrates very deep into pydantic core with Schema class, so it is not possible to keep both pydantic v1 and v2 supported - and that is why ninja now bumps to version 1 which might have few deprecations or breaking changes on pydantic level

From Django ninja side I'm trying to make this upgrade as smooth as possible, if you use standard APIs without lot of magic - most likely upgrade should be without any code change

Don't miss a new django-ninja release

NewReleases is sending notifications on new releases.