Skip to content

Commit

Permalink
Merge branch 'main' into store-module-bundle-map
Browse files Browse the repository at this point in the history
  • Loading branch information
johanfylling authored Jan 20, 2025
2 parents 99e792f + 304768b commit 8d93f26
Show file tree
Hide file tree
Showing 260 changed files with 36,119 additions and 26,377 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.23.1
1.23.5
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

### Dependency Updates

- github.com/dgraph-io/badger: v3.2103.5 -> v4.5.0 by @Juneezee in [#7239](https://github.com/open-policy-agent/opa/pull/7239)

## 1.0.0

> **_NOTES:_**
Expand Down
15 changes: 5 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2
github.com/containerd/containerd v1.7.25
github.com/containerd/errdefs v1.0.0
github.com/dgraph-io/badger/v3 v3.2103.5
github.com/dgraph-io/badger/v4 v4.5.0
github.com/fortytw2/leaktest v1.3.0
github.com/foxcpp/go-mockdns v1.1.0
github.com/fsnotify/fsnotify v1.8.0
Expand Down Expand Up @@ -57,25 +57,20 @@ require (
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/containerd/platforms v0.2.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/dgraph-io/ristretto v0.1.1 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/dgraph-io/ristretto/v2 v2.0.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v1.2.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/flatbuffers v1.12.1 // indirect
github.com/google/flatbuffers v24.3.25+incompatible // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
Expand Down
81 changes: 10 additions & 71 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v1/storage/disk/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"os"

badger "github.com/dgraph-io/badger/v3"
badger "github.com/dgraph-io/badger/v4"
"github.com/open-policy-agent/opa/v1/config"
"github.com/open-policy-agent/opa/v1/storage"
"github.com/open-policy-agent/opa/v1/util"
Expand Down
2 changes: 1 addition & 1 deletion v1/storage/disk/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"path/filepath"
"testing"

"github.com/dgraph-io/badger/v3"
"github.com/dgraph-io/badger/v4"
"github.com/open-policy-agent/opa/v1/logging"
)

Expand Down
2 changes: 1 addition & 1 deletion v1/storage/disk/disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import (
"sync/atomic"
"time"

badger "github.com/dgraph-io/badger/v3"
badger "github.com/dgraph-io/badger/v4"
"github.com/prometheus/client_golang/prometheus"

"github.com/open-policy-agent/opa/v1/logging"
Expand Down
2 changes: 1 addition & 1 deletion v1/storage/disk/disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"github.com/open-policy-agent/opa/v1/bundle"

badger "github.com/dgraph-io/badger/v3"
badger "github.com/dgraph-io/badger/v4"

"github.com/open-policy-agent/opa/v1/logging"
"github.com/open-policy-agent/opa/v1/storage"
Expand Down
2 changes: 1 addition & 1 deletion v1/storage/disk/txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"strconv"

badger "github.com/dgraph-io/badger/v3"
badger "github.com/dgraph-io/badger/v4"

"github.com/open-policy-agent/opa/v1/metrics"
"github.com/open-policy-agent/opa/v1/storage"
Expand Down
2 changes: 1 addition & 1 deletion v1/storage/disk/txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"math/rand"
"testing"

"github.com/dgraph-io/badger/v3"
"github.com/dgraph-io/badger/v4"
"github.com/open-policy-agent/opa/v1/logging"
"github.com/open-policy-agent/opa/v1/storage"
"github.com/open-policy-agent/opa/v1/util/test"
Expand Down
22 changes: 0 additions & 22 deletions vendor/github.com/cespare/xxhash/LICENSE.txt

This file was deleted.

50 changes: 0 additions & 50 deletions vendor/github.com/cespare/xxhash/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/cespare/xxhash/rotate.go

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/cespare/xxhash/rotate19.go

This file was deleted.

168 changes: 0 additions & 168 deletions vendor/github.com/cespare/xxhash/xxhash.go

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/github.com/cespare/xxhash/xxhash_amd64.go

This file was deleted.

Loading

0 comments on commit 8d93f26

Please sign in to comment.