Skip to content

2.0.0-BETA1

Pre-release
Pre-release
Compare
Choose a tag to compare
@stloyd stloyd released this 10 Dec 19:21
· 191 commits to master since this 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 for Form/RegistrationFormHandlerInterface, from Form $form to FormInterface $form,
  • BC Break: changed form class name in template Resources/views/Connect/connect_confirm.html.twig from fos_user_registration_register to registration_register,
  • BC Break: removed configuration option fosub from oauth_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 from OAuth/ResourceOwnerInterface,
  • BC Break: changed __construct() argument for OAuth/ResourceOwner/AbstractResourceOwner, from HttpMethodsClient $httpClient to HttpClientInterface $httpClient,
  • BC Break: replaced php-http/httplug-bundle with symfony/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/,
  • 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

Full Changelog: 1.4.5...2.0.0-BETA1