github volatiletech/sqlboiler v2.2.0

latest releases: v4.16.2, v4.16.1, v4.16.0...
7 years ago

This release entails many bug fixes that have accumulated over the last few months, and a few very minor features

New Features:

  • Add the --wipe flag to have sqlboiler rm -rf your models directory before generation.
  • Add no-edit disclaimer to all generated files

Bug fixes:

  • Fix inflection bug for words like address
  • Fix postgres placeholders for RemoveX
  • Fix tests that weren't being called (causing the following bug)
  • Fix ToManyRemoveOp - was missing an append causing it to silently fail
  • Fix null pointer defer in ToManySetOps
  • Remove debugging output
  • Fix an issue where eagerly loaded models weren't always attached for to-one relationships
  • Fix an issue where created_at was being updated during Update() but it shouldn't have been
  • Use _ to prevent reserved words in function arguments of methods like Find and Exists.
  • Allow insertion of tables with only default values (fixes compat tests and also makes this scenario possible)
  • Fix randomize to not create negative values during compat tests, this allows MySQL unsigned columns to work in the tests

Don't miss a new sqlboiler release

NewReleases is sending notifications on new releases.