v2.2.0
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 sqlboilerrm -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 likeFind
andExists
. - 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