Skip to content

Version 0.26.0

Latest
Compare
Choose a tag to compare
@devkral devkral released this 28 Jan 14:51
· 3 commits to main since this release
0.26.0
54d7240

Added

  • __drop_extra_kwargs__ parameter for Models which drops extra kwargs instead passing down. Required for mashalling StrictModel.
  • reference_select parameter in QuerySet.
  • extra_select parameter in QuerySet for creating extra select clauses which can be referenced.
  • ref_foreign_key_fields in meta.

Changed

  • Model allows now like ReflectModel arbitary arguments. Required for reference_select.
  • Use a partly copied model as ProxyModel. This ensures that the logic of ReflectField still works.

Fixed

  • Cleanup of event-loops and threads in run_sync.
  • Fix running shell with auto reflected models.
  • Fix DatabaseNotConnectedWarning in shell.
  • Usage of StrictModels in Mashalls.
  • Different autoincrement field in Marshalls than id.
  • Fix Marshall required check.
  • Fix ReflectModel with exclude_secrets.
  • Fix non-edgy-fields were stripped instead kept.
  • Allow ComputedFields being part of a serialization.