bun v1.1.0-beta.1 Release Notes
Release Date: 2022-02-22 // about 2 years ago-
๐ Features
- โ Added MSSQL support as a 4th fully supported DBMS.
- โ Added
SetColumn("col_name", "upper(?)", "hello")
in addition toSet("col_name = upper(?)", "hello")
which works for all 4 supported DBMS.
๐ฅ Breaking changes
- Bun no longer automatically marks some fields like
ID int64
aspk
andautoincrement
. You need to manually add those options:
type Model struct { - ID int64 + ID int64 `bun:",pk,autoincrement"` }
โ Bun v1.0.25 prints warnings for models with missing options so you are โฌ๏ธ recommended to upgrade to v1.0.24 before upgrading to v1.1.x.
Also, Bun no longer adds
nullzero
option tosoft_delete
fields.โ Removed
nopk
andallowzero
options.
๐ Bug Fixes