Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ cli:
plugins:
sources:
- id: trunk
ref: v1.7.2
ref: v1.7.6
uri: https://github.com/trunk-io/plugins

# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]

# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
Expand All @@ -26,25 +26,26 @@ lint:
- contrib/**
- protos/pb/pb.pb.go
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected].7
- [email protected].467
- [email protected].11
- [email protected].513
- [email protected]
- git-diff-check
- [email protected]
- hadolint@2.12.1-beta
- markdownlint@0.45.0
- osv-scanner@2.2.2
- oxipng@9.1.5
- prettier@3.6.2
- renovate@41.91.3
- hadolint@2.14.0
- markdownlint@0.48.0
- osv-scanner@2.3.5
- oxipng@10.1.0
- prettier@3.8.1
- renovate@43.95.0
- [email protected]
- [email protected]
- tflint@0.59.1
- trufflehog@3.90.5
- yamllint@1.37.1
- tflint@0.61.0
- trufflehog@3.94.1
- yamllint@1.38.0
actions:
enabled:
- trunk-announce
Expand Down
4 changes: 2 additions & 2 deletions chunker/rdf_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func lexText(l *lex.Lexer) lex.StateFn {
// Assumes that caller has consumed initial '<'
func lexIRIRef(l *lex.Lexer, styp lex.ItemType, sfn lex.StateFn) lex.StateFn {
if err := lex.IRIRef(l, styp); err != nil {
return l.Errorf(err.Error())
return l.Errorf("%s", err.Error())
}
return sfn
}
Expand Down Expand Up @@ -384,7 +384,7 @@ forLoop:
return nil
case r == quote:
if err := l.LexQuotedString(); err != nil {
return l.Errorf(err.Error())
return l.Errorf("%s", err.Error())
}
l.Emit(itemText)
default:
Expand Down
6 changes: 3 additions & 3 deletions dql/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func lexContent(l *lex.Lexer, leftRune, rightRune rune, returnTo lex.StateFn) le
return l.Errorf("Matching brackets not found")
case quote:
if err := l.LexQuotedString(); err != nil {
return l.Errorf(err.Error())
return l.Errorf("%s", err.Error())
}
case leftRune:
depth++
Expand Down Expand Up @@ -291,7 +291,7 @@ func lexFuncOrArg(l *lex.Lexer) lex.StateFn {
{
empty = false
if err := l.LexQuotedString(); err != nil {
return l.Errorf(err.Error())
return l.Errorf("%s", err.Error())
}
l.Emit(itemName)
}
Expand Down Expand Up @@ -449,7 +449,7 @@ func lexQuery(l *lex.Lexer) lex.StateFn {

func lexIRIRef(l *lex.Lexer) lex.StateFn {
if err := lex.IRIRef(l, itemName); err != nil {
return l.Errorf(err.Error())
return l.Errorf("%s", err.Error())
}
return l.Mode
}
Expand Down
96 changes: 45 additions & 51 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module github.com/dgraph-io/dgraph/v25

go 1.25.7
go 1.26.1

require (
contrib.go.opencensus.io/exporter/prometheus v0.4.2
github.com/HdrHistogram/hdrhistogram-go v1.2.0
github.com/IBM/sarama v1.46.3
github.com/IBM/sarama v1.47.0
github.com/Masterminds/semver/v3 v3.4.0
github.com/blevesearch/bleve/v2 v2.5.7
github.com/dgraph-io/badger/v4 v4.9.0
github.com/dgraph-io/badger/v4 v4.9.1
github.com/dgraph-io/dgo/v250 v250.0.0
github.com/dgraph-io/gqlgen v0.13.2
github.com/dgraph-io/gqlparser/v2 v2.2.2
github.com/dgraph-io/graphql-transport-ws v0.0.0-20210511143556-2cef522f1f15
github.com/dgraph-io/ristretto/v2 v2.3.0
github.com/dgraph-io/ristretto/v2 v2.4.0
github.com/dgraph-io/simdjson-go v0.3.0
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da
github.com/dgryski/go-groupvarint v0.0.0-20230630160417-2bfb7969fb3c
Expand All @@ -22,19 +22,19 @@ require (
github.com/dustin/go-humanize v1.0.1
github.com/go-jose/go-jose/v4 v4.1.3
github.com/go-sql-driver/mysql v1.9.3
github.com/golang-jwt/jwt/v5 v5.3.0
github.com/golang/geo v0.0.0-20251229110840-fd652594c94c
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/golang/geo v0.0.0-20260302211937-87f5a40ea07a
github.com/golang/glog v1.2.5
github.com/golang/snappy v1.0.0
github.com/google/codesearch v1.2.0
github.com/google/go-cmp v0.7.0
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/graph-gophers/graphql-go v1.8.0
github.com/hashicorp/vault/api v1.22.0
github.com/klauspost/compress v1.18.2
github.com/mark3labs/mcp-go v0.43.2
github.com/minio/minio-go/v7 v7.0.98
github.com/hashicorp/vault/api v1.23.0
github.com/klauspost/compress v1.18.5
github.com/mark3labs/mcp-go v0.46.0
github.com/minio/minio-go/v7 v7.0.99
github.com/paulmach/go.geojson v1.5.0
github.com/pkg/errors v0.9.1
github.com/pkg/profile v1.7.0
Expand All @@ -48,44 +48,42 @@ require (
github.com/twpayne/go-geom v1.6.1
github.com/viterin/vek v0.4.3
github.com/xdg/scram v1.0.5
go.etcd.io/etcd/raft/v3 v3.5.26
go.etcd.io/etcd/raft/v3 v3.5.28
go.opencensus.io v0.24.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.64.0
go.opentelemetry.io/contrib/zpages v0.64.0
go.opentelemetry.io/otel v1.40.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0
go.opentelemetry.io/otel/sdk v1.40.0
go.opentelemetry.io/otel/trace v1.40.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0
go.opentelemetry.io/contrib/zpages v0.67.0
go.opentelemetry.io/otel v1.42.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.42.0
go.opentelemetry.io/otel/sdk v1.42.0
go.opentelemetry.io/otel/trace v1.42.0
go.uber.org/zap v1.27.1
golang.org/x/crypto v0.47.0
golang.org/x/exp v0.0.0-20260112195511-716be5621a96
golang.org/x/mod v0.32.0
golang.org/x/net v0.49.0
golang.org/x/sync v0.19.0
golang.org/x/sys v0.40.0
golang.org/x/term v0.39.0
golang.org/x/text v0.33.0
golang.org/x/tools v0.41.0
google.golang.org/grpc v1.78.0
golang.org/x/crypto v0.49.0
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90
golang.org/x/mod v0.34.0
golang.org/x/net v0.52.0
golang.org/x/sync v0.20.0
golang.org/x/sys v0.42.0
golang.org/x/term v0.41.0
golang.org/x/text v0.35.0
golang.org/x/tools v0.43.0
google.golang.org/grpc v1.79.3
google.golang.org/protobuf v1.36.11
gopkg.in/yaml.v3 v3.0.1
)

require (
filippo.io/edwards25519 v1.1.1 // indirect
filippo.io/edwards25519 v1.2.0 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/agnivade/levenshtein v1.2.1 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.24.4 // indirect
github.com/blevesearch/bleve_index_api v1.3.0 // indirect
github.com/blevesearch/geo v0.2.4 // indirect
github.com/blevesearch/bleve_index_api v1.3.5 // indirect
github.com/blevesearch/geo v0.2.5 // indirect
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
github.com/blevesearch/segment v0.9.1 // indirect
github.com/blevesearch/snowballstem v0.9.0 // indirect
github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
Expand All @@ -97,7 +95,6 @@ require (
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/eapache/go-resiliency v1.7.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/felixge/fgprof v0.9.5 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
Expand All @@ -110,8 +107,9 @@ require (
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/flatbuffers v25.12.19+incompatible // indirect
github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.4 // indirect
github.com/google/jsonschema-go v0.4.2 // indirect
github.com/google/pprof v0.0.0-20260302011040-a15ffb7f9dcc // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
Expand All @@ -123,7 +121,6 @@ require (
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/hcl v1.0.1-vault-7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/invopop/jsonschema v0.13.0 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
Expand All @@ -132,7 +129,6 @@ require (
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/klauspost/crc32 v1.3.0 // indirect
github.com/mailru/easyjson v0.9.1 // indirect
github.com/minio/crc64nvme v1.1.1 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
Expand All @@ -146,14 +142,14 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.1 // indirect
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
github.com/pelletier/go-toml/v2 v2.3.0 // indirect
github.com/philhofer/fwd v1.2.0 // indirect
github.com/pierrec/lz4/v4 v4.1.23 // indirect
github.com/pierrec/lz4/v4 v4.1.26 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/procfs v0.19.2 // indirect
github.com/prometheus/statsd_exporter v0.28.0 // indirect
github.com/prometheus/procfs v0.20.1 // indirect
github.com/prometheus/statsd_exporter v0.29.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
github.com/rs/xid v1.6.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
Expand All @@ -162,19 +158,17 @@ require (
github.com/subosito/gotenv v1.6.0 // indirect
github.com/tinylib/msgp v1.6.3 // indirect
github.com/viterin/partial v1.1.0 // indirect
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
github.com/xdg/stringprep v1.0.3 // indirect
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 // indirect
go.opentelemetry.io/otel/metric v1.40.0 // indirect
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect
go.opentelemetry.io/otel/metric v1.42.0 // indirect
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/time v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260114163908-3f89685c29c3 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260114163908-3f89685c29c3 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
golang.org/x/time v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260319201613-d00831a3d3e7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260319201613-d00831a3d3e7 // indirect
gotest.tools/v3 v3.5.2 // indirect
)
Loading
Loading