Releases: eadwinCode/django-ninja-extra
0.22.3
0.22.2
What's Changed
- feat: ModelService Dependency Injection Support by @eadwinCode in #222
- Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 by @dependabot in #218
- Bump mypy from 1.13.0 to 1.14.1 by @dependabot in #220
- fix: DI documentation update by @eadwinCode in #224
- fix: MyPy 1.14.1 support by @eadwinCode in #225
- fix: Readme And Query Testing by @eadwinCode in #228
- fix: RouteContext Refactor by @eadwinCode in #229
- fix: Permission Documentation update Refactor by @eadwinCode in 6d394e4
DEPRECATION NOTICE
The service
attribute in ModelController
has been changed from a class object to an instance object. When creating a custom ModelService
for a ModelController
, you have to specify it as service_type
.
This is because services are now injected as dependencies during controller instantiation. Service instantiation is delegated to the injector package, so ensure that any additional dependencies required by your ModelService
are properly registered in the dependency injection container.
For more details, please refer to the documentation
Full Changelog: 0.22.0...0.22.2
0.22.0
What's Changed
- Additional async support for ControllerBase by @le-sun in #216
- Bump ruff from 0.7.1 to 0.8.4 by @dependabot in #211
- feat: Model config extra options for Model Controller by @eadwinCode in #217
New Contributors
Full Changelog: 0.21.8...0.22.0
0.21.8
What's Changed
- fix: Controller Operation Order by @eadwinCode in #214
Full Changelog: 0.21.7...0.21.8
0.21.7
What's Changed
- fix: Ninja Schema Upgrade by @eadwinCode in #205
- fix: AsyncSessionAuth Refactor by @eadwinCode in #206
- Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 by @dependabot in #210
- Bump codecov/codecov-action from 3 to 5 by @dependabot in #209
- fix: Permission execution time by @eadwinCode in #213
Full Changelog: 0.21.6...0.21.7
0.21.6
What's Changed
- Refactor: Controller Route Computation by @eadwinCode in #177
- Bump mypy from 1.11.1 to 1.11.2 by @dependabot in #183
- Bump ruff from 0.5.6 to 0.6.3 by @dependabot in #182
- Bump pytest-asyncio from 0.23.8 to 0.24.0 by @dependabot in #181
- Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 by @dependabot in #180
- Fix: Multiple Response by @eadwinCode in #186
- Bump ruff from 0.6.3 to 0.6.8 by @dependabot in #188
- Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.2 by @dependabot in #187
- bugfix: OperandHolder object can't transmit the permission message. by @cololi in #194
- fix(Injector): When django_injector is install and replace injector instance, add ninja_extra module by @QuentinRillet in #196
- Bump mypy from 1.11.2 to 1.13.0 by @dependabot in #200
- Bump ruff from 0.6.8 to 0.7.1 by @dependabot in #199
- Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.11.0 by @dependabot in #198
- fix: Async session auth by @eadwinCode in #203
- fix: Permission Check Before Schema validation by @eadwinCode in #204
New Contributors
- @cololi made their first contribution in #194
- @QuentinRillet made their first contribution in #196
Full Changelog: 0.21.4...0.21.6
0.21.4
What's Changed
- fix: Operational ID generation starting with a number by @eadwinCode in #175
- Django Ninja V1.3.0 upgrade by @eadwinCode in #176
Full Changelog: 0.21.3...0.21.4
0.21.3
What's Changed
- Bump pytest-asyncio from 0.23.7 to 0.23.8 by @dependabot in #166
- Bump mypy from 1.10.1 to 1.11.1 by @dependabot in #165
- Bump ruff from 0.5.0 to 0.5.5 by @dependabot in #164
- Bump ruff from 0.5.5 to 0.5.6 by @dependabot in #170
- fix: throttle not used in NinjaExtraAPI init by @eadwinCode in #171
Full Changelog: 0.21.2...0.21.3
0.21.2
What's Changed
- Upgraded to latest ninja v1.2.2 by @eadwinCode in #161
- fix: UUID path resolver in Model Controller by @eadwinCode in #160
Full Changelog: 0.21.1...0.21.2