Latest release

Apigility 1.5.0

@weierophinney weierophinney released this May 8, 2018 · 2 commits to master since this release

Added

  • #159 adds a development requirement on zendframework/zend-test, ensuring users
    have the ability to run existing unit tests, as well as write and execute new ones out of the box.

Changed

  • #164 updates all dependencies to versions that will work with PHP 7.2, where possible.

  • #154 modifies the config/autoload/.gitignore rules to omit *.local-development.php files.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

Apigility 1.4.2

@ezimuel ezimuel released this Mar 28, 2018 · 36 commits to master since this release

Added

  • Nothing.

Changes

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #162 fixes a compatibility issue with PHP 7.2

Apigility 1.4.1

@weierophinney weierophinney released this Oct 17, 2016 · 40 commits to master since this release

Added

  • Nothing.

Changes

  • #146 updates the Vagrant configuration to use bento/ubuntu-16.04 as its base.
  • #147 updates the minimum supported versions of the following dependencies:
    • zend-component-installer: 0.5.0
    • zf-apigility-documentation: 1.2.3
    • zf-apigility-admin: 1.5.9
  • #148 updates the public/index.php to allow intercepting calls to it for enabling and disabling development mode (e.g., php public/index.php development enable). These calls now proxy to the official zf-development-mode scripts. The change was made to allow backwards compatibility in existing toolsets such as Zend Studio, which would enable development mode when invoking the admin GUI.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #136 fixes the shipped error view scripts to accommodate PHP 7 Throwable instances.
  • #138 fixes the Docker configuration of the Apache virtual host such that it will work correctly.
  • #145 adds a missing bootstrap directive to the shipped phpunit.xml.dist.

Apigility 1.4.0

@weierophinney weierophinney released this Aug 15, 2016 · 76 commits to master since this release

This version bumps the minimum supported PHP version to 5.6.

It incorporates the following components and modules at the specified versions; these versions likely contain bugfixes, and, if noted, additional features. Additional Zend Framework components are also present, but not noted here.

  • zendframework/zend-component-installer: 0.3.0
  • zendframework/zend-developer-tools: 1.1.0
  • zfcampus/zf-api-problem: 1.2.1
  • zfcampus/zf-apigility: 1.3.0
    • Support in ZF\Apigility\Application for handling PHP 7 Throwables.
  • zfcampus/zf-apigility-admin: 1.5.6
    • Extracts all factories defined in the Module class to their own classes.
    • Extracts all listeners defined in the Module class to their own classes.
    • Adds a patchList() stub to the REST resource class template, so that it is present by default.
    • Adds support for working with modules using PSR-4 directory format, and the ability to generate PSR-4-style modules.
    • Adds a vendor script, apigility-upgrade-to-1.5, for upgrading an existing Apigility application so that it may use Zend Framework component v3 releases.
    • Adds the ability to generate all configuration files using short array syntax and ::class notation.
    • Adds a new API endpoint for reporting the current Apigility skeleton version.
  • zfcampus/zf-apigility-admin-ui: 1.3.7
    • Displays the current Apigility skeleton version as returned by the zf-apigility-admin API.
    • Uses full controller service names when interacting with the zf-apigility-admin API; this resolves some lingering UI issues due to version mismatch.
    • Adds a "field type" input to new field entries, allowing you to provide this information via the UI (previously the information could only be provided by manually updating configuration files). This allows communicating field type information to documentation systems such as Swagger.
    • Numerous UI fixes, particularly with regards to sidebar behavior.
  • zfcampus/zf-apigility-documentation: 1.2.2
    • Adds support for displaying documentation of APIs in nested PHP namespaces.
    • Adds support for transforming Markdown documentation to HTML, and enables it by default.
    • Displays field types, if provided, by default.
  • zfcampus/zf-apigility-provider: 1.2.0
    • Deprecates the Module class. You no longer need to list the ZF\Apigility\Provider module in your application module configuration.
  • zfcampus/zf-asset-manager: 1.1.1
    • New in this version. Uses configuration from rwoverdijk/assetmanager to expose asset directories in the document root of your application. It acts as a Composer plugin, and copies configured asset directories under your public/ directory, adding an entry to that directory's .gitignore file to prevent checking those files into version control. Updates to modules are honored, and removal of a module will remove the files from your source tree.
  • zfcampus/zf-composer-autoloading: 1.0.0
    • New in this version. Provides a vendor binary for adding an autoloading entry to your Composer configuration for the module you specify, and then updates autoloading rules locally.
  • zfcampus/zf-configuration: 1.2.1
    • Adds a new configuration switch, zf-configuration.class_name_scalars, allowing you to configure whether or not generated configuration will use ::class notation.
  • zfcampus/zf-console: 1.3.0
    • Adds the ability to substitute your own dispatcher via the ZF\Console\DispatcherInterface
    • Adds the ability to disable output of the application banner.
    • Adds the ability to compose a container-interop container with the dispatcher, which allows providing service names as console handlers.
    • The exception handler now catches PHP 7 Throwable instances as well.
  • zfcampus/zf-content-negotiation: 1.2.2
  • zfcampus/zf-content-validation: 1.3.4
    • Adds support for mapping input filters to GET requests. This feature is not yet supported in the admin UI, however.
  • zfcampus/zf-deploy: 1.2.0
  • zfcampus/zf-development-mode: 3.0.0
    • This new release now ships as a standalone vendor binary, instead of using the deprecated MVC <-> Console integration.
  • zfcampus/zf-hal: 1.4.2
    • Adds an interface, concrete classes, and configuration for allowing alternate "self" and generic link generation strategies. As such, usage of the server url and url helpers with the Hal plugin is now deprecated.
    • Adds service factories for the two link extraction services, allowing the ability to provide alternate facilities if needed.
    • Adds a new method to the Hal plugin, resetEntityHashStack(); this can be used when rendering multiple responses or payloads within the same request cycle to allow re-use of the same entity instances.
  • zfcampus/zf-mvc-auth: 1.4.2
  • zfcampus/zf-oauth2: 1.4.0
    • Adds support for the ext/mongodb extension.
    • Adds token revocation suport.
  • zfcampus/zf-rest: 1.3.1
  • zfcampus/zf-rpc: 1.3.0
  • zfcampus/zf-versioning: 1.2.0

Please read the migration documentation for more details on upgrading.

Apigility 1.3.3

@weierophinney weierophinney released this Mar 16, 2016 · 143 commits to master since this release

Incorporates the following fix from zf-apigility-admin-ui:

  • #100, which provides a fix for handling database table names that contain underscore-separated words.

Apigility 1.3.2

@weierophinney weierophinney released this Jan 27, 2016 · 145 commits to master since this release

Incorporates the following fixes from zf-apigility-skeleton:

Additionally, the following modules have updates incorporated in this release:

  • zf-development-mode updated to 2.1.2; brings in fixes for configuration cache settings when switching between development and production modes.
  • zend-apigility-admin 1.4.1 fixes an issue in the RpcServiceModel to ensure that a correct pattern is generated when fetching a service by name.
  • zend-apigility-admin-ui 1.2.2 fixes a number of issues discovered, including:
    • DB Autodiscovery was failing due to inability to properly select the DB adapter name.
    • Custom authentication adapters are now displayed.
    • The regex for validating custom content-types was fixed to ensure it only allows valid MIME type specifications.
    • Fixes validation for REST and RPC service names, raising a warning on invalid input.

Apigility 1.3.1

@weierophinney weierophinney released this Jul 23, 2015 · 163 commits to master since this release

  • zfcampus/zf-oauth2#112 fixes a parse error in the receive code template, and updates the cURL examples on that page to use the current request scheme.
  • Fixes for AG2015-01, which patch a user spoofing vector in zf-oauth2.
  • zfcampus/zf-mvc-auth#94 fixes HTTP authentication to ensure that omitting an Authorization header no longer results in a 401 status, and instead falls back to using the GuestIdentity as it did prior to 1.1.0.
  • zfcampus/zf-apigility-admin#305 and zfcampus/zf-apigility-admin-ui#69 allow DB adapters that do not support metadata features to be used for DB-Connected REST services.
  • #105 updates the Vagrant setup to ensure it includes PHP 5.6, allowing it to work with versions 1.3+.

Apigility 1.2.1

@weierophinney weierophinney released this Jul 23, 2015 · 176 commits to master since this release

  • zfcampus/zf-oauth2#112 fixes a parse error in the receive code template, and updates the cURL examples on that page to use the current request scheme.
  • Fixes for AG2015-01, which patch a user spoofing vector in zf-oauth2.
  • zfcampus/zf-mvc-auth#94 fixes HTTP authentication to ensure that omitting an Authorization header no longer results in a 401 status, and instead falls back to using the GuestIdentity as it did prior to 1.1.0.
  • zfcampus/zf-apigility-admin#305 and zfcampus/zf-apigility-admin-ui#69 allow DB adapters that do not support metadata features to be used for DB-Connected REST services.

Apigility 1.3.0

@weierophinney weierophinney released this Jul 15, 2015 · 169 commits to master since this release

This version bumps the minimum supported PHP version to 5.5.

It incorporates the following modules at the specified versions; if no changes are specified, assume that the only changes were updating the minimum supported PHP version.

  • zfcampus/zf-apigility: 1.2.1
  • zfcampus/zf-apigility-admin: 1.3.0
  • zfcampus/zf-apigility-admin-ui: 1.2.0
  • zfcampus/zf-apigility-documentation: 1.1.0
  • zfcampus/zf-apigility-documentation-apiblueprint 1.1.0
  • zfcampus/zf-apigility-documentation-swagger: 1.1.0
  • zfcampus/zf-apigility-provider: 1.1.0
  • zfcampus/zf-api-problem: 1.1.0
  • zfcampus/zf-configuration: 1.1.0
  • zfcampus/zf-console: 1.2.0
  • zfcampus/zf-content-negotiation: 1.1.0
  • zfcampus/zf-content-validation: 1.2.0
  • zfcampus/zf-deploy: 1.1.0
    • #31 improves the check for ZF2 applications.
    • #33 fixes the usage of the --modules option to target only application-specific modules (not installed 3rd party modules).
    • #43 updates the minimum PHP version to 5.5.
  • zfcampus/zf-development-mode: 2.1.0
  • zfcampus/zf-hal: 1.2.0
  • zfcampus/zf-http-cache: 1.1.0
  • zfcampus/zf-mvc-auth: 1.3.0
  • zfcampus/zf-oauth2: 1.3.0
  • zfcampus/zf-rest: 1.2.0
  • zfcampus/zf-rpc: 1.2.0
  • zfcampus/zf-versioning: 1.1.0

Apigility 1.2.0

@weierophinney weierophinney released this Jul 15, 2015 · 176 commits to master since this release

This release includes the following changes and fixes:

  • #87 Fix incorrect closing tag in layout
  • #88 Change order in which zf-oauth2 and zf-mvc-auth are loaded, and adds global configuration to override the ZF\OAuth2\Service\OAuth2Server factory to ensure the one from zf-mvc-auth is used.
  • #92 Promote zf-development-mode to a production requirement
  • #99 Add Docker environment
  • #98 Separate module list into a config/modules.config.php
  • #100 Use ZF\Apigility\Application instead of Zend\Mvc\Application

Additionally, it includes the following modules at the following versions, with the specified changes:

  • zfcampus/zf-api-problem: 1.0.3
    • #33 Ensure non-HTTP exception codes are cast to 500
  • zfcampus/zf-apigility: 1.1.0
    • #120 Extend Zend\Mvc\Application to catch route event exceptions
  • zfcampus/zf-apigility-admin: 1.2.0
    • #279 Do not save an empty DSN to configuration
    • #288 digest_domains option is now required when creating HTTP Digest authentication
    • #289 Write application module list to a separate file to prevent evaluation and subsequent writing of application.config.php
    • #292 Sort services by name in API
    • #297 Return 409 status when attempting to create a REST service that already exists
    • #299 Ensure module is PHP 5.3 compatible
    • #300 Raise 409 status if new service route conflicts with existing route
  • zfcampus/zf-apigility-admin-ui: 1.1.5
    • #45 digest_domains option is now required when creating HTTP Digest authentication
    • #61 Ensure file upload flag is sent properly to the API
    • #63 Ensure the API version is sent when fetching authorization details
    • #63 Improved text in delete filter modal
    • #66 Strip error message from update filter payload when empty
  • zfcampus/zf-apigility-documentation: 1.0.6
    • #29 QA toolchain updates
  • zfcampus/zf-apigility-provider: 1.0.2
    • #7 QA toolchain updates
    • #5 Updated requirements section in README.md
  • zfcampus/zf-configuration: 1.0.3
    • #11 QA toolchain updates
  • zfcampus/zf-console: 1.1.1
    • #22 Do not call cli_set_process_title on Mac OS X
    • #24 Set minimum zend-console version to 2.3, since we depend on features of 2.3+
  • zfcampus/zf-content-negotiation: 1.0.8
    • #40 Better trimming of whitespace around JSON before deserialization
    • #42 Return 400 status when multipart body cannot be parsed
    • #43 Refactor listener factories for better maintainability
  • zfcampus/zf-content-validation: 1.1.1
    • #50 QA toolchain updates
  • zfcampus/zf-deploy: 1.0.5
    • #42 Improved error reporting and status codes
    • #41 Updated QA toolchain
    • #35 Fix directory separator issue in ZIP packages created under Windows
  • zfcampus/zf-development-mode: 2.0.6
    • #11 Updated QA toolchain
  • zfcampus/zf-hal: 1.1.1
    • #100 Re-instate renderEntity.post event
    • #102 Eliminate double-rendering of links
    • #106 Improved testing of HalJsonRenderer
  • zfcampus/zf-mvc-auth: 1.2.0
    • #77 Merge default zf-oauth2 config when creating adapters
    • #80 Remove obsolete bin entry in composer.json
    • #83 Use oauth2-server-php response status if invalid or missing credentials are presented, or invalid for scope
    • #85 Allow custom HTTP authentication resolvers via configuration.
    • #90 Only attach listeners during HTTP requests
  • zfcampus/zf-oauth2: 1.2.0
    • #98 Update HTTPie examples in README.md
    • #100 Add support for oauth2-server-php unset_refresh_token_after_use option
    • #108 Fix content-negotiation configuration for OAuth2 controller
  • zfcampus/zf-rest: 1.1.1
    • #75 Return 400 status for non-array values passed to replaceList()
    • #78 Handle exceptions from Paginators for non-integer page numbers
    • #80 Extract method triggerEvent() for triggering events with common short-circuit callbacks
    • #81 Extract methods createApiProblemFromException(), isPreparedResponse(), createHalEntity(), createHalCollection() to reduce duplication
    • #83 Return 400 status for out of range page size query string parameters
    • #84 Allow returning zf-hal entities and collections from zf-rest resource listeners.
    • #85 Return 400 status for non-array values passed to patchList()
  • zfcampus/zf-rpc: 1.1.0
    • #7 Allow pulling RPC callbacks via the ControllerManager or ServiceManager
  • zfcampus/zf-versioning: 1.0.3
    • Updated dependencies to ensure PHP 5.3 compatibility.