Releases: vitalik/django-ninja
Releases 路 vitalik/django-ninja
0.16.0
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
- Dot in query regression #238 (#239 by @stephenrauch)
- Fix openapi schema title and description propagation for query, cookie, header, etc #123 (#233 from @stephenrauch)
- Fix form schema single param #236 (#237 from @stephenrauch)
- Improve #181, query with list type (#234 by @stephenrauch)
- Path signature check (#232 by @stephenrauch)
- Document how to handle empty form fields (#228 by @stephenrauch)
- Misc fixes (#231 by @ehdgua01)
0.15.0
Major changes
- Introduced ModelSchema - declarative way to create schemas from django models
- Allow arbitrary mix of params Body, Form & File w/ multipart. (#226 by @stephenrauch) (also fixes #134, #162, #201)
- Path params now support Django path converters (#187 by @stephenrauch)
Other changes
- Fixed #208 - Missing schema in requestBody (#209 by @stephenrauch)
- UploadedFile usability #120
- Types for "urls" property #155
- Optimize tests (#217 by @mawassk)
- Better error message for duplicate orm schema names #214 (#215 @stephenrauch)
- Test coverage for branches (#211 @stephenrauch)
- Formatting & styling for test files (#218 by @stephenrauch)
- Documentation improvements (#207 by @eadwinCode, #205 #206 by @johnthagen )
0.14.0
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
- Added experimental Pagination support - allows you easely paginate your querysets and customize pages (note - this feature currently in beta and may change a bit in future udpates)
- Added support for streaming responses (#149 by @ErwinJunge )
- Mixing simple arguments and models arguments in GET parameters (#178 by @stephenrauch )
- Handle custom exceptions in authentication (#174 by @dozer133 )
- Added build_absolute_uri on test client (#168 by @jairhenrique )
- Typing improvements (#167, #170 by @davidszotten )
- Fix assertion message (#175 by @igoose1 )
- Resolve #148, missing wraps(), with a better error message. (#184 by @stephenrauch)
- Improved documentation on forward refs ( #161 by @stephenrauch )
- Fixed add_router() to router already attached to API ( #188 by @stephenrauch )
- Bumped Swagger UI to 3.51.2 ( #192 by @igoose1 )
0.13.2
0.13.1
0.13.0
- 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
increate_schema
to override or add fields - Fixed create_schema Json field (#127)
- Include ninja TestClient into distributed package
0.12.3
0.12.2
0.12.1
New Features
- Django Ninja is now py.typed
- Router
auth
andtags
#61 #73 (docs) - include_in_schema argument to hide operation from schema (#110)
- Reverse-able url names. #66
Changes:
- if auth returns a result that can be treated as
False
- authentication is not successful (before onlyNone
treated as not-authenticated) - Consistent error message schema (#81)
0.12.0
New Features
- Django Ninja is now py.typed
- Router
auth
andtags
#61 #73 (docs) - include_in_schema argument to hide operation from schema (#110)
- Reverse-able url names. #66
Changes:
- if auth returns a result that can be treated as
False
- authentication is not successful (before onlyNone
treated as not-authenticated) - Consistent error message schema (#81)