Commit 018a430
committed
chore(deps): upgrade Go dependencies and migrate mongo-driver v1 → v2
Bump all outdated Go modules (alecthomas/chroma, go.starlark.net,
modernc.org/sqlite, golang.org/x/*, charmbracelet/* indirects, etc.)
and migrate go.mongodb.org/mongo-driver v1→v2 (166 files).
Breaking changes fixed for v2 BSON driver:
- Replace primitive.D/M/A/Binary with bson.D/M/A/Binary (subpackage
merged into main bson package)
- Replace bsontype.Binary/String with bson.TypeBinary/TypeString
- Replace bson.D.Map() with manual key iteration (method removed)
- Replace bson.RawArray.Elements() with Values() (API renamed)
- Add bson.Type(cv.Type) cast for bsoncore→bson type conversion
- Handle v2 behaviour change: nested docs inside bson.M / map[string]any
now decode as bson.D instead of bson.M; all type-switch and assertion
sites updated (scan.go, parser.go, supplement_describe.go,
nav_compat.go x18 sites, resolver.go, domainmodel_modelsdk_test.go)
Rebuild helpdesk-golden after nav_compat.go bsonD fix.
All tests pass; benchmarks show no regression.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 5f2568c commit 018a430
336 files changed
Lines changed: 648 additions & 964 deletions
File tree
- cmd
- check_bson
- compare_pages
- debug
- dump_page
- extract_page
- modelsdk-codegen
- mxcli
- bson
- generated/metamodel
- internal
- bsoncompare
- codegen/emitter
- expr
- daemon
- scan
- goldenfs
- mdl-examples/use-cases/helpdesk
- mdl
- backend
- mpr
- repos
- bsonutil
- catalog
- executor
- exprcheck
- linter/rules
- modelsdk
- codec
- poc
- element
- gen
- appservices
- authentication
- businessevents
- changedatacapture
- client
- codeactions
- connectorkit
- constants
- customblobdocuments
- customicons
- customwidgets
- databaseconnector
- datasets
- datatransformers
- datatypes
- documenttemplates
- domainmodels
- enumerations
- exceldataimporter
- exportmappings
- expressions
- images
- importmappings
- integrationoverview
- javaactions
- javascriptactions
- jsonstructures
- kafka
- mappings
- messagedefinitions
- metamodelversion
- microflows
- mlmappings
- nanoflows
- nativepages
- odatapublish
- pages
- projects
- queues
- regularexpressions
- reports
- rest
- scheduledevents
- security
- services
- settings
- texts
- url
- webservices
- workflows
- xmlschemas
- mprread
- mpr
- property
- widgets
- model
- testdata
- helpdesk-golden-clean
- helpdesk-golden
- mprcontents
- 01/dc
- 05/c0
- 07/13
- 08
- 14
- 7a
- 0a/1a
- 0b
- b7
- f9
- 10
- 08
- 92
- 11
- 3a
- bd
- 12
- 94
- a1
- 13/ba
- 18
- 40
- 68
- 70
- 19/88
- 1c/cd
- 22
- 35
- a2
- 24/dd
- 27
- 25
- 95
- 28/50
- 2c
- 2b
- c4
- f7
- 2f
- 2b
- 44
- 7f
- 30/42
- 36/56
- 38
- 1b
- ae
- 3a/99
- 3d/67
- 3e/01
- 41
- bf
- f3
- 44/1b
- 47/f2
- 49/7e
- 4e/62
- 4f/5c
- 50
- 51
- 9e
- b1
- 52/19
- 54/28
- 59
- 4b
- 71
- 5a/0e
- 5b/82
- 5c/86
- 5f/4c
- 62/03
- 66
- 71
- d1
- 6f/d2
- 70
- 03
- 29
- 38
- 71/8d
- 72/6b
- 73/ef
- 76/d3
- 78/17
- 79
- 33
- 60
- ee
- 7a/60
- 7b
- 02
- a4
- 7c/cf
- 7d/a0
- 80/83
- 82/b5
- 83/ea
- 84/f9
- 87/01
- 91/33
- 93/29
- 94
- 06
- 86
- a5
- ca
- 98
- 75
- ca
- 99/5c
- 9e
- 5a
- 79
- 9f/19
- a1/35
- a3
- 56
- ae
- a4/ca
- a7/8d
- a8/c5
- a9/85
- ab/d0
- ac/b5
- ad/f0
- ae/d8
- af/60
- b4/be
- b5
- 60
- 87
- 95
- fd
- b6/29
- b8/68
- bd/6f
- bf/2c
- c1/65
- c2/2c
- c3
- 4f
- b2
- c6/87
- c7/e4
- c9/96
- cf/8f
- d0/4e
- d5/ef
- d9/fb
- db/2d
- dc/8e
- e2/97
- e5
- 47
- cc
- e7
- 03
- 2d
- ea/24
- ee/71
- f4/8c
- f6/5c
- f7/4d
- f9/49
- fa
- 3d
- bc
- fd/dd
- fe
- 2f
- b2
- ef
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments