Skip to content

v0.16.0

Compare
Choose a tag to compare
@cofin cofin released this 27 Jun 14:50
· 131 commits to main since this release
da87543

What's Changed

  • Reverts the previous to_schema implementation in the service layer. This will need to be rethought as it requires too many overloads to any customized service function.
  • Ensures that the filter values for upsert_many is a unique list. This is useful when you are merging a large amount of objects on a foreign key. The lookup will only contain a single unique entry for each key instead of one for each row.
  • Adds a schema_dump method to convert incoming Pydantic or Msgspec models to dictionaries
  • Adds additional type guard helpers to check for a field in a dictionary, Struct, or BaseModel
  • Filters can now be passed into single row lookup methods like get_one, get_one_or_one, etc.

Full Changelog: v0.15.0...v0.16.0