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
\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
- 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
- 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
- Update dependency on
thecodingmachine/graphqlite
to^3.1.2
to solvecomposer
problems
3.1.2 2020-06-25
\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
.gitattributes
file
3.1.0 2020-06-23
$cache
parameter toOxidEsales\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
OxidEsales\GraphQL\Base\Service\Legacy::checkCredentials()
OxidEsales\GraphQL\Base\Service\Legacy::getUserGroup()
3.0.0 2020-05-19
OxidEsales\GraphQL\Base\Framework\NullToken
OxidEsales\GraphQL\Base\Framework\RequestReader::getAuthToken
now always returns with a Token object
- 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