v0.6.0
🌞 Hey there, Django Ninja CRUD community!
First off, I owe you all an apology for the delay in fixing the OpenAPI bug (#415) that many of you reported. Thanks for your patience while I took some time off and regrouped.
The silver lining? This break gave me a chance to step back and rethink some core aspects of the package. As a result, v0.6.0 isn't just about bug fixes – it's packed with improvements and new features:
-
Unrestricted Handler Signatures: Django Ninja CRUD now supports ANY handler signature, not just Path, Query, and Body. You can make pretty much any synchronous view reusable with this package now.
-
Bug Squashing and Code Slimming: I've hunted down every reported bug and trimmed the codebase for better performance and easier maintenance.
-
Gearing Up for Async: This release sets the stage for v0.7.0, where we'll be introducing ASYNC REUSABLE VIEWS 🔥
Your feedback and support keep this project moving forward. Thanks for sticking with Django Ninja CRUD!
What's Changed
- refactor: ⚒️
PathParametersTypeResolver
by @hbakri in #420 - refactor!: 🛠️ subclass-specific request components by @hbakri in #424
- refactor!: ⚒️ change
method
tomethods
for more flexibility by @hbakri in #425 - ci: 👷 add Django Ninja 1.2 to test matrix and removed Django 3.2 and 4.1 by @hbakri in #427
- chore: ⚙️ update
ruff
configuration inpyproject.toml
by @hbakri in #429 - refactor: ⚒️ move
PathParametersTypeResolver
logic inAPIView
by @hbakri in #433 - refactor!: ⚒️ remove
django-rest-testing
integration by @hbakri in #437 - docs: 📚 revamp
README.md
and documentation by @hbakri in #439 - docs: 📚 add link to Chinese documentation by @hbakri in #440
- refactor: ⚒️ update Pydantic
.dict()
calls to.model_dump()
by @hbakri in #444
Full Changelog: v0.5.0...v0.6.0