on main help sign in
chore: update ncruces/go-sqlite3 to v0.33.0 (#2461)

This release migrates away from `wazero` in favor of `wasm2go`, which should bring better performance, specially on startup time. For more information, see: * https://github.com/ncruces/go-sqlite3/releases/tag/v0.33.0 * https://github.com/ncruces/go-sqlite3/discussions/361

commit91bec12ceb49c9272c3f28ebc27728c7ea63f113 authorAndrey Nering <andreynering@users.noreply.github.com> dateMon 23 Mar 2026, 17:18 (7 months ago) parentcbf3e5d
3 files changed+6−7
go.mod+2−2 go.sum+4−4 internal/db/connect_ncruces.go−1
go.mod+2−2
@@ -48,7 +48,7 @@ require (
4848 github.com/lucasb-eyer/go-colorful v1.3.0
4949 github.com/mattn/go-isatty v0.0.20
5050 github.com/modelcontextprotocol/go-sdk v1.4.1
51− github.com/ncruces/go-sqlite3 v0.32.0
51+ github.com/ncruces/go-sqlite3 v0.33.0
5252 github.com/nxadm/tail v1.4.11
5353 github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
5454 github.com/posthog/posthog-go v1.11.1
@@ -151,6 +151,7 @@ require (
151151 github.com/muesli/mango-cobra v1.2.0 // indirect
152152 github.com/muesli/mango-pflag v0.1.0 // indirect
153153 github.com/muesli/roff v0.1.0 // indirect
154+ github.com/ncruces/go-sqlite3-wasm v1.0.1-0.20260321101821-261d0f98d39c // indirect
154155 github.com/ncruces/go-strftime v1.0.0 // indirect
155156 github.com/ncruces/julianday v1.0.0 // indirect
156157 github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
@@ -164,7 +165,6 @@ require (
164165 github.com/sethvargo/go-retry v0.3.0 // indirect
165166 github.com/spf13/pflag v1.0.9 // indirect
166167 github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af // indirect
167− github.com/tetratelabs/wazero v1.11.0 // indirect
168168 github.com/tidwall/match v1.1.1 // indirect
169169 github.com/tidwall/pretty v1.2.1 // indirect
170170 github.com/u-root/u-root v0.14.1-0.20250807200646-5e7721023dc7 // indirect
go.sum+4−4
@@ -291,8 +291,10 @@ github.com/muesli/mango-pflag v0.1.0 h1:UADqbYgpUyRoBja3g6LUL+3LErjpsOwaC9ywvBWe
291291github.com/muesli/mango-pflag v0.1.0/go.mod h1:YEQomTxaCUp8PrbhFh10UfbhbQrM/xJ4i2PB8VTLLW0=
292292github.com/muesli/roff v0.1.0 h1:YD0lalCotmYuF5HhZliKWlIx7IEhiXeSfq7hNjFqGF8=
293293github.com/muesli/roff v0.1.0/go.mod h1:pjAHQM9hdUUwm/krAfrLGgJkXJ+YuhtsfZ42kieB2Ig=
294−github.com/ncruces/go-sqlite3 v0.32.0 h1:hNBUXp88LrfQCsuyXLqWTbTUG35sUuktDsqhhgHvU20=
295−github.com/ncruces/go-sqlite3 v0.32.0/go.mod h1:MIWTK60ONDl0oVY073zYvJP21C3Dly6P9bxVpgkLwdQ=
294+github.com/ncruces/go-sqlite3 v0.33.0 h1:zLYfXirbHVPK4JqbZocaDk4IK0EBFhqC6k+AS9MlBBM=
295+github.com/ncruces/go-sqlite3 v0.33.0/go.mod h1:YA1q3NlNV2YOnVKvsjiSIjDBj1ML1oepMAI5VRqUu8o=
296+github.com/ncruces/go-sqlite3-wasm v1.0.1-0.20260321101821-261d0f98d39c h1:Tk/hXfffPUvI/O8hMdWvo2+1EN/Mq8LwQL15qgY0I7w=
297+github.com/ncruces/go-sqlite3-wasm v1.0.1-0.20260321101821-261d0f98d39c/go.mod h1:960AVTpUNboXybvga3pr+8Ig2tayYQlpiabdL5C+tmg=
296298github.com/ncruces/go-strftime v1.0.0 h1:HMFp8mLCTPp341M/ZnA4qaf7ZlsbTc+miZjCLOFAw7w=
297299github.com/ncruces/go-strftime v1.0.0/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
298300github.com/ncruces/julianday v1.0.0 h1:fH0OKwa7NWvniGQtxdJRxAgkBMolni2BjDHaWTxqt7M=
@@ -364,8 +366,6 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
364366github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
365367github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af h1:6yITBqGTE2lEeTPG04SN9W+iWHCRyHqlVYILiSXziwk=
366368github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af/go.mod h1:4F09kP5F+am0jAwlQLddpoMDM+iewkxxt6nxUQ5nq5o=
367−github.com/tetratelabs/wazero v1.11.0 h1:+gKemEuKCTevU4d7ZTzlsvgd1uaToIDtlQlmNbwqYhA=
368−github.com/tetratelabs/wazero v1.11.0/go.mod h1:eV28rsN8Q+xwjogd7f4/Pp4xFxO7uOGbLcD/LzB1wiU=
369369github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
370370github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
371371github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
internal/db/connect_ncruces.go−1
@@ -8,7 +8,6 @@ import (
88
99 "github.com/ncruces/go-sqlite3"
1010 "github.com/ncruces/go-sqlite3/driver"
11− _ "github.com/ncruces/go-sqlite3/embed"
1211)
1312
1413func openDB(dbPath string) (*sql.DB, error) {