Skip to content

Commit 8526a44

Browse files
h3n4lclaude
andauthored
chore: bump omni to pick up trailing-comma tolerance (#30)
* chore: bump omni to v0.0.0-20260509021101-01140a7b9722 Picks up bytebase/omni#127 — the mongo parser now accepts a single trailing comma in argument lists (matching mongosh / JS ES2017+ behavior). With this bump, statements of the form `db.coll.find({…},).sort({…})` parse cleanly through gomongo instead of erroring with `expected ,, got ")"`. No gomongo source changes — go.mod / go.sum bump only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore: bump go directive to 1.25.7 to satisfy new omni transitive deps The omni bump in the previous commit pulls in a transitive closure that requires Go ≥ 1.25.7. `go mod tidy` raises the main module's go directive accordingly, which CI verifies. Reverting it manually to 1.25.5 caused both the test job's tidy-diff check and the golangci-lint context loader to fail. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c7fe133 commit 8526a44

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/bytebase/gomongo
22

3-
go 1.25.5
3+
go 1.25.7
44

55
require (
6-
github.com/bytebase/omni v0.0.0-20260402100940-de2123e1bfb3
6+
github.com/bytebase/omni v0.0.0-20260509021101-01140a7b9722
77
github.com/google/uuid v1.6.0
88
github.com/stretchr/testify v1.11.1
99
github.com/testcontainers/testcontainers-go v0.41.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c h1:udKWzYgxTojEK
66
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
77
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
88
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
9-
github.com/bytebase/omni v0.0.0-20260402100940-de2123e1bfb3 h1:8llu1EtFX2sjXmOOE0WTD/FtWP8j4+7qEpRrEz9gt/s=
10-
github.com/bytebase/omni v0.0.0-20260402100940-de2123e1bfb3/go.mod h1:7kUVQrivlkckALafCX5j4W3M95Cg9+Kw69ZukIHKXhQ=
9+
github.com/bytebase/omni v0.0.0-20260509021101-01140a7b9722 h1:zeMIExVxJVNoU3DZfrKrMMrdZTmUJ264bihZ3fDNcqo=
10+
github.com/bytebase/omni v0.0.0-20260509021101-01140a7b9722/go.mod h1:EVG8nQbNPUnUBGKn6J0niSGOs3jgfKo3TciY22R4bfo=
1111
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
1212
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
1313
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=

0 commit comments

Comments
 (0)