- [BRK] Methods now use the typecast supported in php 7.1
- [BRK] Added
tecnocen\roa\hal\Contract::getSelfLink()
- [Enh] barebones fix of #35 hard coded self link
- [Enh] Can use Single Use token with 4.1.0 yii2-oauth2-server
- [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 useyii\filters\VerbFilter
to handle when a verb is not supported. - [ENh]
tecnocen\roa\hal\Contract
andtecnocen\roa\hal\ContractTrait
define and provide a simple implementation of a Hal contrat for ROA services.
- [Brk]
tecnocen\roa\hal\JsonResponseFormatter
deleted in favor ofyii\web\JsonResponseFormatter
(Faryshta) - [Brk]
tecnocen\roa\controllers\OAuth2Resource
andtecnocen\roa\controllers\OAuth2FileResource
deleted in favor oftecnocen\roa\controllers\Resource
(Faryshta) - [Enh] Action Filter classes are now implemented on
ApiVersion
andApiContainer
. See [docs/guide/action-filters.md] (Faryshta) - [Enh] New class
tecnocen\roa\controllers\Resource
which simplifies resource Creation by NOT implementing OAuth2 and other behaviors so they can be inherited by parent modules. See [docs/guide/action-filters.md] (Faryshta) - [Enh] ApiContainer::$responseFormatters declares formatteres to configure
Yii::$app->response->formatters
on eventbeforeAction
. (Faryshta) - [Enh]
ApiVersion::$apidoc
admits an URL string which links to the apidoc documentation. (Faryshta) - [Bug] When a verb is not supported by a resource 404 Http Status was sent, fixed to 405. (Faryshta)
- [Bug]
EmbeddableTrait::fields()
andEmbeddableTrait::extraFields()
turned into abstracts to prevent the trait to override implementations byyii\db\ActiveRecord
andyii\base\Model
(Faryshta)
- [Enh] New Support to curies (See https://tools.ietf.org/html/draft-kelly-json-hal-08) (Faryshta)
- [Enh] Implement support for nestable embedded relation on resources as in yii2.0.14 (Faryshta)
- Updated CHANGELOG.md (neverabe)
- [Bug] fix json validated in sequence (Faryshta)
- [Bug] Fix seeResponseMatchesJsonType Array - and self seeResponseContainsJson (neverabe)
- [Bug] 📖 typo (Faryshta)
- [Brk] Dropped dependency on filsh in favor of tecnocen/yii2-oauth2-server (Faryshta)
- [Brk]
composer.json
Upgrade php requirement to 5.6 (Faryshta) - [Brk]
tecnocen\roa\actions\Create
load GET and POST data before callingcheckAccess()
(Faryshta)
- [Enh]
tecnocen\roa\test
namespace with classes to enhance codeception Cest classes and improveCodeception\Actor
to easily create automated tests for roa resources. (Faryshta)
- [Enh]
tecnocen\roa\controllers\OAuth2Resource::$filterParams
parameters to filter the records using GET parameters. (Faryshta) - [Enh]
tecnocen\roa\hal\JsonResponseFormatter
formatter to return json using 'Content-Type:application/hal+json'. (Faryshta) - [Enh]
tecnocen\roa\hal\Embeddable
,tecnocen\roa\hal\EmbeddableTrait
interface and trait to create arrays using_embedded
property and nesting.
- [Bug]
tecnocen\roa\actions\LoadFileTrait
missing useyii\web\UploadedFile
. (jose1824)
- [Bug]
tecnocen\roa\actions\LoadFileTrait
missing useyii\web\UploadedFile
. (jose1824)
- [Bug] simplify slug calls (Faryshta)
- [Bug] load GET parameters directly (Faryshta)
- [Enh]
tecnocen\roa\actions\LoadFileTrait
trait to unify the procedure of loading uploaded files to the roa actions. (Faryshta) - [Enh]
tecnocen\roa\controllers\OAuth2FileResource
resource specialized on records which will load uploaded files. (Faryshta)
- [Enh]
tecnocen\roa\urlRules\Composite
,tecnocen\roa\urlRules\Modular
tecnocen\roa\urlRules\UrlRuleCreator
created for easier creation of routing rules (Faryshta) - [Enh]
tecnocen\roa\urlRules\Composite
,tecnocen\roa\urlRules\Modular
strict mode. - [Enh]
tecnocen\roa\tests
namespace created for tests, still in blank. - [Enh]
tecnocen\roa\urlRules\Composite
supports UrlNormalization. - [Enh]
tecnocen\roa\actions\Create
,tecnocen\roa\actions\Update
added the posibility to upload an update files with dynamic columns (jose1824) - [Enh]
tecnocen\roa\behaviors\Slug::$idAttribute
array support. (Faryshta)
-[Enh] Automatic testing was done, future releases might include automatic testing if possible. (Faryshta)