diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4e1a2168..12680378 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change Log
+
+
+## [v1.3.1](https://github.com/auth0/go-auth0/tree/v1.3.1) (2023-11-28)
+
+[Full Changelog](https://github.com/auth0/go-auth0/compare/v1.3.0..v1.3.1)
+
+### Changed
+
+- Allow `Scopes` in `ClientGrant` to be sent as an empty array ([#318](https://github.com/auth0/go-auth0/pull/318))
+
## [v1.3.0](https://github.com/auth0/go-auth0/tree/v1.3.0) (2023-11-10)
diff --git a/authentication/authentication_test.go b/authentication/authentication_test.go
index 10395ff6..885c0e21 100644
--- a/authentication/authentication_test.go
+++ b/authentication/authentication_test.go
@@ -20,6 +20,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
+ "github.com/auth0/go-auth0"
"github.com/auth0/go-auth0/authentication/database"
"github.com/auth0/go-auth0/authentication/oauth"
"github.com/auth0/go-auth0/internal/client"
@@ -208,7 +209,7 @@ func TestAuth0Client(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "go-auth0", auth0Client.Name)
- assert.Equal(t, "latest", auth0Client.Version)
+ assert.Equal(t, auth0.Version, auth0Client.Version)
assert.Equal(t, runtime.Version(), auth0Client.Env["go"])
})
s := httptest.NewTLSServer(h)
@@ -263,7 +264,7 @@ func TestAuth0Client(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "go-auth0", auth0Client.Name)
- assert.Equal(t, "latest", auth0Client.Version)
+ assert.Equal(t, auth0.Version, auth0Client.Version)
assert.Equal(t, runtime.Version(), auth0Client.Env["go"])
assert.Equal(t, "bar", auth0Client.Env["foo"])
})
diff --git a/internal/client/client_test.go b/internal/client/client_test.go
index 26b7dec8..eaa1fca6 100644
--- a/internal/client/client_test.go
+++ b/internal/client/client_test.go
@@ -13,6 +13,8 @@ import (
"time"
"github.com/stretchr/testify/assert"
+
+ "github.com/auth0/go-auth0"
)
func TestRetries(t *testing.T) {
@@ -247,7 +249,7 @@ func TestWrapAuth0ClientInfo(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "go-auth0", auth0Client.Name)
- assert.Equal(t, "latest", auth0Client.Version)
+ assert.Equal(t, auth0.Version, auth0Client.Version)
assert.Equal(t, runtime.Version(), auth0Client.Env["go"])
})
diff --git a/management/management_test.go b/management/management_test.go
index 111c2bfb..3a762913 100644
--- a/management/management_test.go
+++ b/management/management_test.go
@@ -16,6 +16,7 @@ import (
_ "github.com/joho/godotenv/autoload"
"github.com/stretchr/testify/assert"
+ "github.com/auth0/go-auth0"
"github.com/auth0/go-auth0/internal/client"
)
@@ -299,7 +300,7 @@ func TestAuth0Client(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "go-auth0", auth0Client.Name)
- assert.Equal(t, "latest", auth0Client.Version)
+ assert.Equal(t, auth0.Version, auth0Client.Version)
assert.Equal(t, runtime.Version(), auth0Client.Env["go"])
})
s := httptest.NewServer(h)
@@ -343,7 +344,7 @@ func TestAuth0Client(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "go-auth0", auth0Client.Name)
- assert.Equal(t, "latest", auth0Client.Version)
+ assert.Equal(t, auth0.Version, auth0Client.Version)
assert.Equal(t, runtime.Version(), auth0Client.Env["go"])
assert.Equal(t, "bar", auth0Client.Env["foo"])
})
diff --git a/meta.go b/meta.go
index faa0bb25..bdd46a38 100644
--- a/meta.go
+++ b/meta.go
@@ -1,5 +1,4 @@
package auth0
-// Version of this library. This value is generated automatically during the
-// release process; DO NOT EDIT.
-var Version = "latest"
+// Version is the package version.
+var Version = "1.3.1"