Releases: tecnocen-com/yii2-roa
Releases · tecnocen-com/yii2-roa
TypeCast Supported in PHP 7.1
[Enh] barebones fix of #35 hard coded self link
Merge pull request #37 from tecnocen-com/selflinkfix2 barebones fix of #35 hard coded self link
Change dependency yii2-oauth2-server
- [Enh] Can use Single Use token with 4.1.0 yii2-oauth2-server
Profile Resource and Contract
- [Bug]
ProfileResource
supports options action for the OPTIONS verb. - [Enh] Simplified
ProfileResource
by extendingyii\rest\Controller
directly eliminating the need of several methods. - [Bug]
Resource
andProfileResource
has unpredictable errors when
searching for unexisten actions or matching verbs and actions. - [Bug]
Resource
andProfileResource
now use
yii\filters\VerbFilter
to handle when a verb is not supported. - [ENh]
tecnocen\roa\hal\Contract
and
tecnocen\roa\hal\ContractTrait
define and provide a simple
implementation of a Hal contrat for ROA services.
Resmatered ActionFilters
OAuth2Resource
was deleted in favor of a simpler implementation Resource
ApiVersion
, ApiContainer
and Resource
all can handle ActionFilters now to make it easier to declare an specific behavior for a version, resource or the entire api. This will help for example CORS headers and OAuth2 configuration. Read [CHANGELOG.md] for more information.
[bugfix]
[Enh] Curies and Embedded
- Enh: New Support to curies (See https://tools.ietf.org/html/draft-kelly-json-hal-08)
- Enh: Implement support for nestable embedded relation on resources as in yii2.0.14
- Updated CHANGELOG.md
[bugfix] fix test for record resource response
0.2.3 fix json validated in sequence.
[Bugfix] self and responseJson
0.2.2 Fix seeResponseMatchesJsonType Array - and self seeResponseContainsJson
[Bugfix] Pass oauth2 module to filters
0.2.1 :book: typo