feat(firebase)!: promote to v1.0.0 — cache auth.Client, adopt xerrors, bump deps to v1

Cache auth.Client in OnInit (eliminates per-probe app.Auth call in HealthCheck).
Replace all fmt.Errorf with xerrors structured errors (ErrInvalidInput / ErrInternal).
Bump health/launcher/logz to v1.0.1, add xerrors v1.0.1, Go directive to 1.26.
API committed as stable.
This commit is contained in:
2026-05-12 18:15:57 +00:00
parent 3ef30c2354
commit b1d8e3f7ab
7 changed files with 113 additions and 23 deletions

9
go.mod
View File

@@ -1,11 +1,11 @@
module code.nochebuena.dev/go/firebase
go 1.25
go 1.26
require (
code.nochebuena.dev/go/health v0.9.0
code.nochebuena.dev/go/launcher v0.9.0
code.nochebuena.dev/go/logz v0.9.0
code.nochebuena.dev/go/health v1.0.1
code.nochebuena.dev/go/launcher v1.0.1
code.nochebuena.dev/go/logz v1.0.1
firebase.google.com/go/v4 v4.15.0
)
@@ -17,6 +17,7 @@ require (
cloud.google.com/go/iam v1.1.7 // indirect
cloud.google.com/go/longrunning v0.5.5 // indirect
cloud.google.com/go/storage v1.40.0 // indirect
code.nochebuena.dev/go/xerrors v1.0.1 // indirect
github.com/MicahParks/keyfunc v1.9.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.1 // indirect