github pmdevita/django-shinobi v1.4.0a

latest release: v1.4.0
pre-release7 months ago

Django Shinobi 1.4.0a

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, 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

Bug Fixes

  • Use property to alias ForeignKey fields instead of Pydantic alias by @pmdevita in #7
  • Fix tests on Pydantic 2.11 and sync Ruff version by @pmdevita in #11
  • Fix primary key always being marked as nullable in schema by @pmdevita in #8

Other

New Contributors

Full Changelog: v1.3.0...v1.4.0a

Don't miss a new django-shinobi release

NewReleases is sending notifications on new releases.