Files
ormar/docs/releases.md
2020-10-27 18:22:06 +01:00

1.4 KiB

0.3.9

  • Fix json schema generation as of #19
  • Fix for not initialized ManyToMany relations in fastapi copies of ormar.Models
  • Update docs in regard of fastapi use
  • Add tests to verify fastapi/docs proper generation

0.3.8

  • Added possibility to provide alternative database column names with name parameter to all fields.
  • Fix bug with selecting related ManyToMany fields with fields() if they are empty.
  • Updated documentation

0.3.7

  • Publish documentation and update readme

0.3.6

  • Add fields() method to limit the selected columns from database - only nullable columns can be excluded.
  • Added UniqueColumns and constraints list in model Meta to build unique constraints on list of columns.
  • Added UUID field type based on Char(32) column type.

0.3.5

  • Added bulk_create and bulk_update for operations on multiple objects.

0.3.4

Add queryset level methods

  • delete
  • update
  • get_or_create
  • update_or_create

0.3.3

  • Add additional filters - startswith and endswith

0.3.2

  • Add choices parameter to all fields - limiting the accepted values to ones provided

0.3.1

  • Added exclude to filter where not conditions.
  • Added tests for mysql and postgres with fixes for postgres.
  • Rafactors and cleanup.

0.3.0

  • Added ManyToMany field and support for many to many relations