Skip to content

Commit

Permalink
Add v1.3.1 changelog entry (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris authored Nov 30, 2023
1 parent 9c9892c commit 30c8dec
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

<a name="v1.3.1"></a>

## [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))

<a name="v1.3.0"></a>

## [v1.3.0](https://github.com/auth0/go-auth0/tree/v1.3.0) (2023-11-10)
Expand Down
5 changes: 3 additions & 2 deletions authentication/authentication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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"])
})
Expand Down
4 changes: 3 additions & 1 deletion internal/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (
"time"

"github.com/stretchr/testify/assert"

"github.com/auth0/go-auth0"
)

func TestRetries(t *testing.T) {
Expand Down Expand Up @@ -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"])
})

Expand Down
5 changes: 3 additions & 2 deletions management/management_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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"])
})
Expand Down
5 changes: 2 additions & 3 deletions meta.go
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 30c8dec

Please sign in to comment.