bluesky-social / indigo

Go source code for Bluesky's atproto services.
https://atproto.com
Apache License 2.0
661 stars 99 forks source link

go v1.22 and alpine v3.19 #635

Closed bnewbold closed 5 months ago

bnewbold commented 6 months ago

@ericvolp12 I'm not sure why gocql was in the dependency tree (go mod tidy removed it). maybe earlier experimentation, or an accidental commit?

No big rush on this, but the upgrade is pretty easy and feels like we might as well.

Go v1.22 release notes: https://go.dev/blog/go1.22

The main golang improvements are some smallish perf improvements; resolved the "for loop" gotcha; range over integers (yay!); concat slices (finally!); http server pattern matching.

Alpine v3.19 release notes: https://www.alpinelinux.org/posts/Alpine-3.19.0-released.html

bnewbold commented 6 months ago

hrm, sqlite failed to build, i'll need to resolve that

bnewbold commented 6 months ago

go-sqlite3 fixed the build issue a few months back. I'll try updating our version.

https://github.com/mattn/go-sqlite3/issues/1164