Skip to content

Commit f2039bc

Browse files
Merge pull request #1413 from cel-expr/vanity-cel-go-import
Switch module and import paths to cel.dev/cel-go
2 parents 4715f2f + 7851422 commit f2039bc

285 files changed

Lines changed: 983 additions & 1024 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Common Expression Language
22

3-
[![Go Report Card](https://goreportcard.com/badge/github.com/google/cel-go)](https://goreportcard.com/report/github.com/google/cel-go)
4-
[![GoDoc](https://godoc.org/github.com/google/cel-go?status.svg)][6]
3+
[![Go Report Card](https://goreportcard.com/badge/cel.dev/cel-go)](https://goreportcard.com/report/cel.dev/cel-go)
4+
[![GoDoc](https://pkg.go.dev/badge/cel.dev/cel-go.svg)][6]
55

66
> [!WARNING]
77
> **On June 16, 2026, this repository will move to
88
> github.com/cel-expr/cel-go!**
99
>
1010
> Please update your links and dependencies. See the [pinned
11-
> issue](https://github.com/google/cel-go/issues/1329) for details.
11+
> issue](https://github.com/cel-expr/cel-go/issues/1329) for details.
1212
1313
The Common Expression Language (CEL) is a non-Turing complete language designed
1414
for simplicity, speed, safety, and portability. CEL's C-like [syntax][1] looks
@@ -64,7 +64,7 @@ Let's expose `name` and `group` variables to CEL using the `cel.Variable`
6464
environment option:
6565

6666
```go
67-
import "github.com/google/cel-go/cel"
67+
import "cel.dev/cel-go/cel"
6868

6969
env, err := cel.NewEnv(
7070
cel.Variable("name", cel.StringType),
@@ -285,9 +285,9 @@ bazel test ...
285285

286286
Released under the [Apache License](LICENSE).
287287

288-
[1]: https://github.com/google/cel-spec
288+
[1]: https://github.com/cel-expr/cel-spec
289289
[2]: https://groups.google.com/forum/#!forum/cel-go-discuss
290-
[3]: https://github.com/google/cel-cpp
291-
[4]: https://github.com/google/cel-go/issues
290+
[3]: https://github.com/cel-expr/cel-cpp
291+
[4]: https://github.com/cel-expr/cel-go/issues
292292
[5]: https://bazel.build
293-
[6]: https://godoc.org/github.com/google/cel-go
293+
[6]: https://pkg.go.dev/cel.dev/cel-go

cel/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ go_library(
2323
"validator.go",
2424
],
2525
embedsrcs = ["templates/authoring.tmpl"],
26-
importpath = "github.com/google/cel-go/cel",
26+
importpath = "cel.dev/cel-go/cel",
2727
visibility = ["//visibility:public"],
2828
deps = [
2929
"//cel/async:go_default_library",

cel/async/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ go_library(
99
srcs = [
1010
"async.go",
1111
],
12-
importpath = "github.com/google/cel-go/cel/async",
12+
importpath = "cel.dev/cel-go/cel/async",
1313
visibility = ["//visibility:public"],
1414
deps = [
1515
"//common/decls:go_default_library",

cel/async/async.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import (
2121
"errors"
2222
"time"
2323

24-
"github.com/google/cel-go/common/decls"
25-
"github.com/google/cel-go/common/functions"
26-
"github.com/google/cel-go/common/types"
27-
"github.com/google/cel-go/common/types/ref"
28-
"github.com/google/cel-go/interpreter"
24+
"cel.dev/cel-go/common/decls"
25+
"cel.dev/cel-go/common/functions"
26+
"cel.dev/cel-go/common/types"
27+
"cel.dev/cel-go/common/types/ref"
28+
"cel.dev/cel-go/interpreter"
2929
)
3030

3131
// Call describes a pending or completed asynchronous function call.

cel/async/async_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import (
2222
"testing"
2323
"time"
2424

25-
"github.com/google/cel-go/cel/async"
26-
"github.com/google/cel-go/common/decls"
27-
"github.com/google/cel-go/common/functions"
28-
"github.com/google/cel-go/common/types"
29-
"github.com/google/cel-go/common/types/ref"
25+
"cel.dev/cel-go/cel/async"
26+
"cel.dev/cel-go/common/decls"
27+
"cel.dev/cel-go/common/functions"
28+
"cel.dev/cel-go/common/types"
29+
"cel.dev/cel-go/common/types/ref"
3030
)
3131

3232
type retryableTestErr struct{}

cel/cel_example_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import (
1919
"fmt"
2020
"log"
2121

22-
"github.com/google/cel-go/cel"
23-
"github.com/google/cel-go/common/types"
24-
"github.com/google/cel-go/common/types/ref"
22+
"cel.dev/cel-go/cel"
23+
"cel.dev/cel-go/common/types"
24+
"cel.dev/cel-go/common/types/ref"
2525
)
2626

2727
func Example() {

cel/cel_test.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ import (
3232
"google.golang.org/protobuf/reflect/protodesc"
3333
"google.golang.org/protobuf/reflect/protoreflect"
3434

35-
"github.com/google/cel-go/checker"
36-
celast "github.com/google/cel-go/common/ast"
37-
"github.com/google/cel-go/common/env"
38-
"github.com/google/cel-go/common/operators"
39-
"github.com/google/cel-go/common/overloads"
40-
"github.com/google/cel-go/common/types"
41-
"github.com/google/cel-go/common/types/ref"
42-
"github.com/google/cel-go/common/types/traits"
43-
"github.com/google/cel-go/interpreter"
44-
"github.com/google/cel-go/parser"
45-
"github.com/google/cel-go/test"
35+
"cel.dev/cel-go/checker"
36+
celast "cel.dev/cel-go/common/ast"
37+
"cel.dev/cel-go/common/env"
38+
"cel.dev/cel-go/common/operators"
39+
"cel.dev/cel-go/common/overloads"
40+
"cel.dev/cel-go/common/types"
41+
"cel.dev/cel-go/common/types/ref"
42+
"cel.dev/cel-go/common/types/traits"
43+
"cel.dev/cel-go/interpreter"
44+
"cel.dev/cel-go/parser"
45+
"cel.dev/cel-go/test"
4646

4747
exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
4848
descpb "google.golang.org/protobuf/types/descriptorpb"
@@ -51,8 +51,8 @@ import (
5151
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
5252
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
5353

54-
proto2pb "github.com/google/cel-go/test/proto2pb"
55-
proto3pb "github.com/google/cel-go/test/proto3pb"
54+
proto2pb "cel.dev/cel-go/test/proto2pb"
55+
proto3pb "cel.dev/cel-go/test/proto3pb"
5656
)
5757

5858
func Test_ExampleWithBuiltins(t *testing.T) {

cel/decls.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ package cel
1717
import (
1818
"fmt"
1919

20-
"github.com/google/cel-go/common/ast"
21-
"github.com/google/cel-go/common/decls"
22-
"github.com/google/cel-go/common/functions"
23-
"github.com/google/cel-go/common/types"
24-
"github.com/google/cel-go/common/types/ref"
20+
"cel.dev/cel-go/common/ast"
21+
"cel.dev/cel-go/common/decls"
22+
"cel.dev/cel-go/common/functions"
23+
"cel.dev/cel-go/common/types"
24+
"cel.dev/cel-go/common/types/ref"
2525

2626
celpb "cel.dev/expr"
2727
exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"

cel/decls_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ import (
2121
"strings"
2222
"testing"
2323

24-
chkdecls "github.com/google/cel-go/checker/decls"
25-
"github.com/google/cel-go/common/decls"
26-
"github.com/google/cel-go/common/functions"
27-
"github.com/google/cel-go/common/operators"
28-
"github.com/google/cel-go/common/overloads"
29-
"github.com/google/cel-go/common/stdlib"
30-
"github.com/google/cel-go/common/types"
31-
"github.com/google/cel-go/common/types/ref"
32-
"github.com/google/cel-go/common/types/traits"
24+
chkdecls "cel.dev/cel-go/checker/decls"
25+
"cel.dev/cel-go/common/decls"
26+
"cel.dev/cel-go/common/functions"
27+
"cel.dev/cel-go/common/operators"
28+
"cel.dev/cel-go/common/overloads"
29+
"cel.dev/cel-go/common/stdlib"
30+
"cel.dev/cel-go/common/types"
31+
"cel.dev/cel-go/common/types/ref"
32+
"cel.dev/cel-go/common/types/traits"
3333

3434
exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
3535
)

cel/env.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ import (
2323
"strings"
2424
"sync"
2525

26-
"github.com/google/cel-go/checker"
27-
chkdecls "github.com/google/cel-go/checker/decls"
28-
"github.com/google/cel-go/common"
29-
celast "github.com/google/cel-go/common/ast"
30-
"github.com/google/cel-go/common/containers"
31-
"github.com/google/cel-go/common/decls"
32-
"github.com/google/cel-go/common/env"
33-
"github.com/google/cel-go/common/functions"
34-
"github.com/google/cel-go/common/stdlib"
35-
"github.com/google/cel-go/common/types"
36-
"github.com/google/cel-go/common/types/ref"
37-
"github.com/google/cel-go/interpreter"
38-
"github.com/google/cel-go/parser"
26+
"cel.dev/cel-go/checker"
27+
chkdecls "cel.dev/cel-go/checker/decls"
28+
"cel.dev/cel-go/common"
29+
celast "cel.dev/cel-go/common/ast"
30+
"cel.dev/cel-go/common/containers"
31+
"cel.dev/cel-go/common/decls"
32+
"cel.dev/cel-go/common/env"
33+
"cel.dev/cel-go/common/functions"
34+
"cel.dev/cel-go/common/stdlib"
35+
"cel.dev/cel-go/common/types"
36+
"cel.dev/cel-go/common/types/ref"
37+
"cel.dev/cel-go/interpreter"
38+
"cel.dev/cel-go/parser"
3939

4040
exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
4141
"google.golang.org/protobuf/reflect/protoreflect"

0 commit comments

Comments
 (0)