github coleifer/peewee 4.1.1

5 hours ago
  • New declarative API for pre-fetching related instances (Load()). See documentation. This replaces prefetch(), is more flexible and also supports options for applying a row limit to sub-results, and a strategy that materializes the ID list (in addition to SELECT IN and JOIN strategies).
  • Add MySQLJSONField (playhouse.mysql_ext) with contains_any() for the JSON_OVERLAPS/"match any" counterpart to contains for JSON arrays.
  • Do not traverse foreign-key fields where lazy_load=False when serializing recursively with model_to_dict(), #3055.
  • Add vendored typeshed stub with improvements.

View commits

1576872873502

Don't miss a new peewee release

NewReleases is sending notifications on new releases.