1.4.0 Changelog

Laminas API Tools 1.4.0

Based on https://github.com/zfcampus/zf-apigility-skeleton/releases/tag/1.4.0 (commit 64c335d3b296527afefc0bb2162976ad8f99d355 in this repo)

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 Laminas components are also present, but not noted here.

  • laminas/laminas-component-installer: 0.3.0
  • laminas/laminas-developer-tools: 1.1.0
  • laminas-api-tools/api-tools-api-problem: 1.2.1
  • laminas-api-tools/api-tools: 1.3.0
    • Support in Laminas\ApiTools\Application for handling PHP 7 Throwables.
  • laminas-api-tools/api-tools-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, api-tools-upgrade-to-1.5, for upgrading an existing Laminas API Tools application so that it may use Laminas 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 Laminas API Tools skeleton version.
  • laminas-api-tools/api-tools-admin-ui: 1.3.7
    • Displays the current Laminas API Tools skeleton version as returned by the api-tools-admin API.
    • Uses full controller service names when interacting with the api-tools-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.
  • laminas-api-tools/api-tools-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.
  • laminas-api-tools/api-tools-provider: 1.2.0
    • Deprecates the Module class. You no longer need to list the Laminas\ApiTools\Provider module in your application module configuration.
  • laminas-api-tools/api-tools-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.
  • laminas/laminas-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.
  • laminas-api-tools/api-tools-configuration: 1.2.1
    • Adds a new configuration switch, api-tools-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.
  • laminas-api-tools/api-tools-content-negotiation: 1.2.2
  • laminas-api-tools/api-tools-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
  • laminas/laminas-development-mode: 3.0.0
    • This new release now ships as a standalone vendor binary, instead of using the deprecated MVC <-> Console integration.
  • laminas-api-tools/api-tools-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.
  • laminas-api-tools/api-tools-mvc-auth: 1.4.2
  • laminas-api-tools/api-tools-oauth2: 1.4.0
    • Adds support for the ext/mongodb extension.
    • Adds token revocation suport.
  • laminas-api-tools/api-tools-rest: 1.3.1
  • laminas-api-tools/api-tools-rpc: 1.3.0
  • laminas-api-tools/api-tools-versioning: 1.2.0

Please read the migration documentation for more details on upgrading.