Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Releases: zfcampus/zf-apigility-doctrine

zf-apigility-doctrine 2.3.0

24 Jan 10:23
2.3.0
Compare
Choose a tag to compare

Added

  • #317 adds support for PHP 7.3.

  • #319 adds support for DoctrineModule 2.1 and DoctrineORMModule 2.1.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zf-apigility-doctrine 2.2.1

03 Dec 17:03
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #316 updates the DoctrineResource::fetch() method to add the ZF\Apigility\ResourceEvent
    to the generated DoctrineResourceEvent prior to triggering the
    EVENT_FETCH_PRE event, ensuring users have access to all necessary data.

zf-apigility-doctrine 2.2.0

18 Jan 18:19
2.2.0
Compare
Choose a tag to compare

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

17 Oct 14:39
Compare
Choose a tag to compare

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 and ZF\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

05 Jul 16:49
Compare
Choose a tag to compare
2.0.5-beta Pre-release
Pre-release

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

03 Jul 22:24
Compare
Choose a tag to compare
2.0.4-beta Pre-release
Pre-release

Remove ServiceLocatorAwareInterface.

2.0.3-beta

12 Jun 01:53
Compare
Choose a tag to compare
2.0.3-beta Pre-release
Pre-release

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

16 Dec 22:19
Compare
Choose a tag to compare
2.0.2-beta Pre-release
Pre-release
  • 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

08 Dec 23:03
Compare
Choose a tag to compare
2.0.1-beta Pre-release
Pre-release
  • 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

21 Sep 01:08
Compare
Choose a tag to compare

Require ZF 2.5, Apigility 1.1, DoctrineORMModule 0.9, PHP 5.5