Skip to content

v0.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 15:59
9198c0a

🔄 Changed

  • An ordering is taken only from the contract: one of ordering_fields, in either direction, or the default_ordering itself. A contract without ordering_fields used to accept any ordering, sort the list by whatever column of the model it named and write the values of that column into the cursors; it now refuses one with ValueError. Lists built on QueryParams were never affected: it passes an ordering only for a contract that declares ordering fields.

🐛 Fixed

  • An EXACT search skips an integer column when the term is a number out of the range of the column's type. The database refused the whole statement for such a number: a phone number typed into the search of a list with an int search field ended in an error.
  • An EXACT search skips a Decimal column for a term that is no number, and a cursor with such a value is refused as malformed with ValueError. Both raised decimal.InvalidOperation.

Full Changelog: v0.0.1...v0.0.2