Releases: zfcampus/zf-apigility-doctrine
zf-apigility-doctrine 2.3.0
zf-apigility-doctrine 2.2.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #316 updates the
DoctrineResource::fetch()
method to add theZF\Apigility\ResourceEvent
to the generatedDoctrineResourceEvent
prior to triggering the
EVENT_FETCH_PRE
event, ensuring users have access to all necessary data.
zf-apigility-doctrine 2.2.0
Added
-
#291 adds ability to use factory (doctrine instantiator instance) to create new entities. To configure factory for a specific resource use:
'zf-apigility' => [ 'doctrine-connected' => [ 'Api\\V1\\Rest\\...Resource' => [ 'entity_factory' => 'key_in_service_manager', ... ], ], ],
-
#304 adds support for PHP 7.2.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- #304 removes support for HHVM.
Fixed
-
#289 fixes configuration keys, which resolves issue with Apigility Admin and populating forms from config file and writing duplicated values into config file.
-
#290 fixes Doctrine Resource listener attached via config. These are now correctly dispatched.
-
#298 fixes data passed to listener on patch method.
-
#293 fixes binding parameters with type. In case of custom field type php value was not converted to database value.
-
#303 fixes version query parameter as it is restricted by apigility to indicate version of the api.
zf-apigility-doctrine 2.1.0
Added
- #267 adds support for version 3 releases of zend-servicemanager and zend-eventmanager, while retaining compatibility for v2 releases.
Changes
- #267 exposes the module to zendframework/zend-component-installer, exposing both
ZF\Apigility\Doctrine\Admin
andZF\Apigility\Doctrine\Server
. The former should be installed in the development configuration, and the latter in your application modules. - #267 updates dependency requirements for the following modules and components:
- zfcampus/zf-apigilty-admin ^1.5
- phpro/zf-doctrine-hydration-module ^3.0
- doctrine/DoctrineModule ^1.2
- doctrine/DoctrineORMModule ^1.1
- doctrine/DoctrineMongoODMModule ^0.11
Deprecated
- Nothing.
Removed
- #267 removes support for PHP 5.5.
Fixed
- #267 adds a ton of tests to the module, and fixes a number of issues encountered.
2.0.5-beta
Fixes by @matwright
Correct DoctrineAutodiscoveryModel to be in-line with https://github.com/zfcampus/zf-apigility-admin/releases/tag/1.4.2
Add int
type for MongoDB
2.0.4-beta
Remove ServiceLocatorAwareInterface.
2.0.3-beta
Removed auto hydration strategy from collections.
Keep in beta. Until doctrine/DoctrineModule#548 is merged this module will remain in beta.
2.0.2-beta
- Replaced static event manager with shared event manager
- Pass $data to query providers for update and patch
- Rolled back to zend-stdlib 2.4
2.0.1-beta
- Support per-resource hydrators
- The hydrator is already part of the resource. Now resource hydrators are configured independently. Two resource may now hydrate a Doctrine entity differently.
- Added ORM & ODM modules to composer suggest
- Some route parameters restricted in doctrine resource.
- Added installation note for Apache AllowEncodedSlashes
- Fixed typo in the use statement of InvalidArgumentException
The 2.0 series will move into ZF 2.5 and beyond.
1.1.0
Require ZF 2.5, Apigility 1.1, DoctrineORMModule 0.9, PHP 5.5