2.0.0-BETA1
Pre-release
Pre-release
Changelog
- BC Break: Dropped PHP 7.3 support,
- BC Break: Dropped support for Symfony:
>=5.1
&<5.4
(still with BC layer included), - BC Break:
OAuthExtension
is now a lazy Twig extension using a Runtime, - BC Break: removed support for
FOSUserBundle
, - BC Break: changed
process()
argument forForm/RegistrationFormHandlerInterface
, fromForm $form
toFormInterface $form
, - BC Break: changed form class name in template
Resources/views/Connect/connect_confirm.html.twig
fromfos_user_registration_register
toregistration_register
, - BC Break: removed configuration option
fosub
fromoauth_user_provider
, - BC Break: removed configuration options
hwi_oauth.fosub
, & all related DI parameters, - BC Break: removed DI parameter
hwi_oauth.registration.form.factory
in favour of declaring form class name as DI parameter:hwi_oauth.connect.registration_form
, - BC Break: changed
ResourceOwnerMapInterface::hasResourceOwnerByName
signature, update if you use a custom resource owner, - BC Break: changed
ResourceOwnerMapInterface::getResourceOwnerByName
signature, update if you use a custom resource owner, - BC Break: changed
ResourceOwnerMapInterface::getResourceOwnerByRequest
signature, update if you use a custom resource owner, - BC Break: changed
ResourceOwnerMapInterface::getResourceOwnerCheckPath
signature, update if you use a custom resource owner, - BC Break:
ResourceOwnerMap
uses service locator instead of DI container, - BC Break: Removed abstract services:
hwi_oauth.abstract_resource_owner.generic
,hwi_oauth.abstract_resource_owner.oauth1
&hwi_oauth.abstract_resource_owner.oauth2
, - BC Break: Removed
setName()
method fromOAuth/ResourceOwnerInterface
, - BC Break: changed
__construct()
argument forOAuth/ResourceOwner/AbstractResourceOwner
, fromHttpMethodsClient $httpClient
toHttpClientInterface $httpClient
, - BC Break: replaced
php-http/httplug-bundle
withsymfony/http-client
- BC Break: removed
hwi_oauth.http
configuration, - BC Break: reworked bundles structure to match Symfony best practices:
- bundle code moved to:
src/
, - tests moved to:
tests/
, - docs moved from
Resources/doc
into:docs/
,
- bundle code moved to:
- BC Break: routes provided by bundle now have
methods
requirements:hwi_oauth_connect_service
:GET
&POST
,hwi_oauth_connect_registration
:GET
&POST
,hwi_oauth_connect
:GET
,hwi_oauth_service_redirect
:GET
,
- Added support for PHP 8.1,
- Added support for Symfony
5.4
&6.0
,
Kudos to "Old" Contributors (random order)
New Contributors
- @sjerdo made their first contribution in #1822
- @rmlev made their first contribution in #1826
- @gassan made their first contribution in #1831
Full Changelog: 1.4.5...2.0.0-BETA1