Skip to content

v0.33.0

Choose a tag to compare

@stephenafamo stephenafamo released this 26 Apr 15:56
· 764 commits to main since this release

Added

  • Added support to generate code for INSERT queries in bobgen-psql.
  • clause.Confict now takes bob.Expression, and the fields are now moved to a clause.ConflictClause struct.

Changed

  • Make grouped types in generated queries a type alias.

Removed

  • Remove models.InsertWhere in generated code since it is not correct.

Fixed

  • Fix issue with column query annotations in bobgen-psql.
  • Fix issue with parsing multiple queries in the same file in bobgen-psql.
  • Fix issue with correctly detecting the comment for the query annotation in bobgen-psql.
  • Use a transaction in generated query tests.
  • Account for LEFT, RIGHT and FULL joins when determining the nullability of a column.
  • Generate WHERE helpers for ON CONFLICT clauses.

Full Changelog: v0.32.0...v0.33.0