All Versions
49
Latest Version
Avg Release Cycle
18 days
Latest Release
936 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.1.9 Changes
November 23, 2022๐ Bug Fixes
- โ addng dialect override for append-bool (#695) (338f2f0)
- don't call hooks twice for whereExists (9057857)
- ๐ don't lock migrations when running Migrate and Rollback (69a7354)
- query: make WhereDeleted compatible with ForceDelete (299c3fd), closes #673
- relation join soft delete SQL generate (a98f4e9)
๐ Features
-
v1.1.8 Changes
August 29, 2022๐ Bug Fixes
- bunotel: handle option attributes (#656) (9f1e0bd)
- driver.Valuer returns itself causes stackoverflow (c9f51d3), closes #657
- pgdriver: return FATAL and PANIC errors immediately (4595e38)
- ๐ quote m2m table name fixes #649 (61a634e)
- ๐ support multi-level embed column (177ec4c), closes #643
๐ Features
-
v1.1.7 Changes
July 29, 2022๐ Bug Fixes
- ๐ change ScanAndCount without a limit to select all rows (de5c570)
-
v1.1.6 Changes
July 10, 2022๐ Bug Fixes
- bunotel add set attributes to query metrics (dae82cc)
- db.ScanRows: ensure rows.Close is called (9ffbc6a)
- ๐ merge apply (3081849)
- migrate: close conn/tx on error (7b168ea)
- migrate: type Migration should be used as a value rather than a pointer (fb43935)
- migrate: type MigrationGroup should be used as a value rather than a pointer (649da1b)
- mssql cursor pagination (#589) (b34ec97)
๐ Features
- โก๏ธ "skipupdate" model field tag (#565) (9288294)
- โ add pgdriver write error to log (5ddda3d)
- โ add query string representation (520da7e)
- โ add relation condition with tag (fe5bbf6)
- โ add support for ON UPDATE and ON DELETE rules on belongs-to relationships from struct tags (#533) (a327b2a)
- โ add tx methods to IDB (#587) (feab313)
- โ added raw query calls (#596) (127644d)
- bunotel: add option to enable formatting of queries (#547) (b9c768c)
- config.go: add sslrootcert support to DSN parameters (3bd5d69)
- create an extra module for newrelic (#599) (6c676ce)
- migrate: add WithMarkAppliedOnSuccess (31b2cc4)
- pgdialect: add hstore support (66b44f7)
- pgdialect: add identity support (646251e)
- pgdriver: expose pgdriver.ParseTime (405a7d7)
-
v1.1.5 Changes
May 12, 2022๐ Bug Fixes
- driver/sqliteshim: make it work with recent version of modernc sqlite (2360584)
-
v1.1.4 Changes
April 20, 2022 -
v1.1.3 Changes
March 29, 2022 -
v1.1.2 Changes
March 22, 2022 -
v1.1.0 Changes
February 28, 2022๐ 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.๐ improve nil ptr values handling (b398e6b)
๐ฅ 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
- append slice values (4a65129)
- check for nils when appeding driver.Value (7bb1640)
- cleanup soft deletes for mssql (e72e2c5)
- dbfixture: apply cascade option. Fixes #447 (d32d988)
- create table WithForeignKey() and has-many relation (3cf5649)
- do not emit m2m relations in WithForeignKeys() (56c8c5e)
- accept dest in select queries (33b5b6f)
-
v1.1.0-beta.1 Changes
February 22, 2022๐ 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