Skip to content

Commit

Permalink
Release 8.6.0 (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims authored May 2, 2023
1 parent 433d708 commit b776758
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ body:
label: SDK Version
description: What version of our SDK are you running? (`composer show | grep auth0/auth0-php`)
options:
- 8.6
- 8.5
- 8.4
- 8.3
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog

## [Unreleased]
## [8.6.0](https://github.com/auth0/auth0-PHP/tree/8.6.0) - 2023-05-02

**Added**

- **[PAR (Pushed Authorization Request)](https://www.rfc-editor.org/rfc/rfc6749) support¹** ([#714](https://github.com/auth0/auth0-PHP/pull/714)):
- `Auth0\SDK\API\Authentication\PushedAuthorizationRequest` is a new class for issuing Pushed Authorization Requests and producing authorization links for them.
- `Auth0\SDK\API\Authentication::pushedAuthorizationRequest()` has been added as a shortcut method for returning a configured instantiation of the above class.
- `Auth0\SDK\Auth0::login()` has been updated to support issuing Pushed Authorization Requests and returning authorization links for them.
- `Auth0\SDK\Configuration\SdkConfiguration` has been updated to accept a `pushedAuthorizationRequest` boolean to enable this feature.
- `Auth0\SDK\Auth0::isAuthenticated()` has been added as a shortcut method. It is an alias for `getCredentials() !== null`.

¹ **Note:** To use this feature, an Auth0 tenant must have support for it enabled. This feature is not yet available to all tenants.

## [8.5.0](https://github.com/auth0/auth0-PHP/tree/8.5.0) - 2023-03-27

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"name": "auth0-samples/pushed-authorization-request",
"description": "Example of using Pushed Authorization Requests with Auth0 PHP",
"repositories": [
{
"type": "path",
"url": "vendor/auth0/auth0-php",
"options": {
"symlink": true
}
}
],
"require": {
"php": "^8.0",
"auth0/auth0-php": "@dev",
"auth0/auth0-php": "^8.6",
"nyholm/psr7": "^1.5",
"symfony/http-client": "^6.2"
},
Expand All @@ -27,20 +18,14 @@
}
},
"scripts": {
"start": [
"chmod +x setup.sh",
"bash setup.sh",
"serve": [
"php -S 127.0.0.1:3000 src/index.php"
],
"pre-update-cmd": [
"@symlink-package",
"pre-install-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"symlink-package": [
"mkdir -p vendor/auth0",
"rm -rf vendor/auth0/auth0-php",
"ln -s ./../../../../../../ vendor/auth0/auth0-php"
],
"pre-install-cmd": "@symlink-package"
"pre-update-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}
}
2 changes: 1 addition & 1 deletion src/Auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class Auth0 implements Auth0Interface
/**
* @var string
*/
public const VERSION = '8.5.0';
public const VERSION = '8.6.0';

/**
* Authentication Client.
Expand Down

0 comments on commit b776758

Please sign in to comment.