SocialConnect Auth v3.0.0 Release Notes

Release Date: 2019-09-12 // over 4 years ago
  • ๐Ÿš€ It's first release of 3.x branch

    ๐Ÿš€ This release contain a lot of internals change with number of public API changes. Most of internal changes are done to do re-architecture to follow PSR standarts.

    187 commits, 208 files was changed

    ๐Ÿš€ It's a major release, do help you with migration, there are:

    Big thanks to @ADmad for this review!

    ๐Ÿ”‹ Features

    • Moving to PSR-18 interfaces for HTTP Client
    • Start using PSR-7 interfaces for Request/Response
    • Introduce request API for all providers, and rework all Providers to it
    • Introduce hierarchy for Exceptions
    • [OpenID] Feature: Check timestamp from nonce

    Code

    • App code quality and now code coverage is 80%+
    • Start using PHPStan as static analyzer
    • โž• Add documentation & site

    Infra

    • ๐Ÿšš Move socialconnect/common to this repository
    • Extract HTTP Client implementation from socialconnect/common to socialconnect/http-client
    • ๐Ÿ‘ Extract JWT/JWK support to external repository socialconnect/jwx

    ๐Ÿ’ฅ Breaking changes

    • BC: PHP 7.1 is the minimal PHP version
    • [OAuth2] BC: AccessToken - uid must be string
    • [OAuth2] BC: Rename setUid to setUserId

    Diff: 2.x...3.0.0