NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #530 by repository stars
Latest stable
v1.3.0
Last release today
26 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Most releases are documented
notes for 51 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
769 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
automatically set nullzero when there is default:value option
SetColumn("col_name", "upper(?)", "hello") in addition to
Set("col_name = upper(?)", "hello") which works for all 4 supported DBMS.ID int64 as pk and autoincrement. 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 to soft_delete fields.
Removed nopk and allowzero options.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
In the coming v1.1.x release, Bun will stop automatically adding ,pk,autoincrement options on ID int64/int32 fields. This version (v1.0.23) only print
In the coming v1.1.x release, Bun will stop automatically adding ,pk,autoincrement options on
ID int64/int32 fields. This version (v1.0.23) only prints a warning when it encounters such
fields, but the code will continue working as before.
To fix warnings, add missing options:
type Model struct {
- ID int64
+ ID int64 `bun:",pk,autoincrement"`
}
To silence warnings:
bun.SetWarnLogger(log.New(ioutil.Discard, "", log.LstdFlags))
Bun will also print a warning on soft delete
fields without a ,nullzero option. You can fix the warning by adding missing ,nullzero or
,allowzero options.
In v1.1.x, such options as ,nopk and ,allowzero will not be necessary and will be removed.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
properly discover json.Marshaler on ptr field
bun:",pk,autoincrement" options if you are using autoincrements.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.