Skip to content

Releases: vitalik/django-ninja

0.16.0

06 Oct 15:42
dc304cc
Compare
Choose a tag to compare

OpenAPI schemas names

Generating OpenAPI automatically created schema names changed for duplicated names (see #230)
Now instead of silence (or exceptions on other cases) django-ninja will just add sequential number suffix to the schema name in OpenAPI spec.
For example if you already have schema called "User" and in some other module you create another "User" schema - the second will have name "User2" in openapi json.

Other

0.15.0

18 Sep 13:54
26478c7
Compare
Choose a tag to compare

Major changes

Other changes

0.14.0

14 Aug 12:40
Compare
Choose a tag to compare

Hello Everyone,

This is a very nice release, which includes some new functionality and fixes
And more important there are lot of people contributed to this update
Thank you

0.13.2

05 Jun 15:54
be96905
Compare
Choose a tag to compare

TestClient csrf check fix

0.13.1

03 Jun 09:29
56ad4d6
Compare
Choose a tag to compare

fixed schema generation bug (#145)

0.13.0

18 May 13:18
642d762
Compare
Choose a tag to compare
  • Fixed create_schema ValueError on pydantic 1.8.2 (#135)
  • Allow collection fields to be identified when an alias is used #133 (by @kierandarcy )
  • New argument custom_fields in create_schema to override or add fields
  • Fixed create_schema Json field (#127)
  • Include ninja TestClient into distributed package

0.12.3

28 Apr 13:49
Compare
Choose a tag to compare
  • Better console debugging and prints removal(#64 #115 #119)
  • Warn user if operation id is not unique (#80, #70)

0.12.2

06 Apr 06:31
Compare
Choose a tag to compare

create_schema support BigAutoField (#112)

0.12.1

26 Mar 23:43
8830d15
Compare
Choose a tag to compare

New Features

Changes:

  • if auth returns a result that can be treated as False - authentication is not successful (before only None treated as not-authenticated)
  • Consistent error message schema (#81)

0.12.0

26 Mar 22:48
Compare
Choose a tag to compare

New Features

Changes:

  • if auth returns a result that can be treated as False - authentication is not successful (before only None treated as not-authenticated)
  • Consistent error message schema (#81)