This is the first preliminary release for Shinobi, testing to make sure everything is in order. It contains a number of new features from upstream, as well as the foreign key alias fix and the fix for primary key and blank fields always being marked as nullable.
There was a miss where this release's tag marked a commit where the library still reports itself as 1.3.0. This will be fixed in the next release.
What's changed in Ninja
GitHub didn't generate release notes for this so I'm looking [here](https://github.com/vitalik/django-ninja/compare/v1.3.0...vitalik:django-ninja:master), apologies if I miss anything. Not linking to avoid noise on the Ninja project from GitHub's backlinks.
Features
- Nested URL Parameters by **vitalik**
- Better error and explanation if schema used as default instead of annotation by **vitalik**
- Pydantic 2.9 compatibility by **vitalik**
- Made NinjaTestClient accept COOKIES by **c4ffein**
- Add pattern support to param by **sunfkny**
- Distinguish between AuthenticationError and AuthorizationError by **c4ffein** and **vitalik**
- Add IP4/6Network and Url serialisation by **grigi**
- add register_type public function by **vitalik**
- Support multi-period intervals in throttling by **robhudson**
- Add a method for customizing validation errors by **jceipek**
Bug Fixes
- Fix Router default options by **Ksauder**
- Fixed coverage on Python >= 3.11 by **c4ffein**
Docs
- Update pagination.md by **syre**
- Better csrf doc by **c4ffein**
- fix small type in throttling docs by **noahgorstein**
- Small typo fixes and doc mention router import by **michaelg100**
- document how to use an optional file input by **toudi**
- fix typos in docs by **ahmetveburak**
- Adding docs how to add a user in a test by **pinguin999**
- Updated docs for url parameters in nested routers by **kentrh**
- Replace update_forward_refs with model_rebuild in docs by **Danie-1**
What's Changed in Shinobi
CI
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/pmdevita/django-shinobi/pull/2
* Bump codecov/codecov-action from 4.4.1 to 5.1.2 by dependabot in https://github.com/pmdevita/django-shinobi/pull/1
* Docs: Update dependencies, fix building by pmdevita in https://github.com/pmdevita/django-shinobi/pull/4
* CI: Set full_test runner to use Ubuntu 22 for Python 3.7 by pmdevita in https://github.com/pmdevita/django-shinobi/pull/10
* Bump codecov/codecov-action from 5.1.2 to 5.3.1 by dependabot in https://github.com/pmdevita/django-shinobi/pull/9
* Build docs CI by pmdevita in https://github.com/pmdevita/django-shinobi/pull/13
Bug Fixes
* Use property to alias ForeignKey fields instead of Pydantic alias by pmdevita in https://github.com/pmdevita/django-shinobi/pull/7
* Fix tests on Pydantic 2.11 and sync Ruff version by pmdevita in https://github.com/pmdevita/django-shinobi/pull/11
* Fix primary key always being marked as nullable in schema by pmdevita in https://github.com/pmdevita/django-shinobi/pull/8
Other
* Preliminary rebrand to Shinobi by pmdevita in https://github.com/pmdevita/django-shinobi/pull/3
New Contributors
* dependabot made their first contribution in https://github.com/pmdevita/django-shinobi/pull/2
* pmdevita made their first contribution in https://github.com/pmdevita/django-shinobi/pull/4
**Full Changelog**: https://github.com/pmdevita/django-shinobi/compare/v1.3.0...v1.4.0a