Skip to content

Latest commit

 

History

History
98 lines (68 loc) · 3.64 KB

CHANGELOG-v3.md

File metadata and controls

98 lines (68 loc) · 3.64 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

3.2.0 2020-09-02

Added

  • \OxidEsales\GraphQL\Base\Tests\Integration\TokenTestCase
  • Abstract sorting support through \OxidEsales\GraphQL\Base\DataType\Sorting OXDEV-3794
  • Send WWW-Authenticate: Bearer Header in case of 401 response.
  • \OxidEsales\GraphQL\Base\DataType\DateTimeImmutableFactory which produces null on 0 time

Changed

  • Improve exception handling to get a GraphQL error message instead of shop's maintenance page
  • \OxidEsales\GraphQL\Base\Exception\InvalidToken now returns 401 status code instead of 403

Deprecated

  • Authorizaion via oxuser.oxrights. From next major version on, this will be handled by user groups
  • \OxidEsales\GraphQL\Base\Framework\UserData::getUserGroup()

3.1.3 2020-06-26

Changed

  • Update dependency on thecodingmachine/graphqlite to ^3.1.2 to solve composer problems

3.1.2 2020-06-25

Changed

  • \OxidEsales\GraphQL\Base\Tests\Integration\TestCase
    • remove container reset for every test (speed up catalogue tests from 4.44 minutes to 46 seconds)
    • add the usage of ArrayAdapterCache for GraphQLite (speed up catalogue tests from 46 seconds to 37 seconds)

3.1.1 2020-06-24

Removed

  • .gitattributes file

3.1.0 2020-06-23

Added

  • $cache parameter to OxidEsales\GraphQL\Base\Framework\SchemaFactory::__construct
  • Cache flush on module events
  • OxidEsales\GraphQL\Base\Service\Authentication::getUserName()
  • OxidEsales\GraphQL\Base\Service\Authentication::getUserId()
  • OxidEsales\GraphQL\Base\Service\Legacy::login()
  • OxidEsales\GraphQL\Base\Framework\UserData

Deprecated

  • OxidEsales\GraphQL\Base\Service\Legacy::checkCredentials()
  • OxidEsales\GraphQL\Base\Service\Legacy::getUserGroup()

3.0.0 2020-05-19

Added

  • OxidEsales\GraphQL\Base\Framework\NullToken

Changed

  • OxidEsales\GraphQL\Base\Framework\RequestReader::getAuthToken now always returns with a Token object

Removed

  • Interfaces
    • OxidEsales\GraphQL\Base\Framework\SchemaFactoryInterface
    • OxidEsales\GraphQL\Base\Service\LegacyServiceInterface
    • OxidEsales\GraphQL\Base\Service\KeyRegistryInterface
    • OxidEsales\GraphQL\Base\Framework\ErrorCodeProviderInterface
    • OxidEsales\GraphQL\Base\Framework\GraphQLQueryHandlerInterface
    • OxidEsales\GraphQL\Base\Framework\RequestReaderInterface
    • OxidEsales\GraphQL\Base\Framework\ResponseWriterInterface
    • OxidEsales\GraphQL\Base\Service\AuthenticationServiceInterface
    • OxidEsales\GraphQL\Base\Service\AuthorizationServiceInterface
  • Classes
    • OxidEsales\GraphQL\Base\Service\AuthorizationService
    • OxidEsales\GraphQL\Base\Service\AuthenticationService
    • OxidEsales\GraphQL\Base\Service\LegacyService
    • OxidEsales\GraphQL\Base\Event\BeforeAuthorizationEvent
  • Methods
    • OxidEsales\GraphQL\Base\Service\Authorization::setToken
    • OxidEsales\GraphQL\Base\Service\Authentication::setToken