Skip to content

Latest commit

 

History

History
605 lines (368 loc) · 15 KB

CHANGELOG.md

File metadata and controls

605 lines (368 loc) · 15 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

2.4.0 - TBD

Added

  • #22 adds support for PHP 8.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #22 removes support for PHP versions prior to 7.3.

Fixed

  • Nothing.

2.3.2 - 2020-10-27

Fixed

  • #19 provides a change that ensures the plugin re-uses the root package repository within the post-package-install event context, preventing errors in multiple Composer commands when the plugin is present.

Release Notes for 2.3.2

2.3.x bugfix release (patch)

2.3.2

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 2

Bug

2.3.1 - 2020-10-24

Fixed

  • #16 Fixed issue with detection packages in composer v2 as dev dependencies.

Release Notes for 2.3.1

2.3.x bugfix release (patch)

2.3.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug

2.3.0 - 2020-09-02

Added

  • Nothing.

Changed

  • #9 modifies the installer to add development dependencies to the development.config.php file instead of the modules.config.php file in MVC applications.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

Release Notes for 2.3.0

2.3.0

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 2

Enhancement

2.2.0 - 2020-07-01

Added

  • #8 adds PHP 7.4 for travis build matrix

  • #7 Added support for composer v2

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

2.1.2 - 2019-09-04

Added

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

2.1.1 - 2018-03-21

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

2.1.0 - 2018-02-08

Added

  • zendframework/zend-component-installer#52 adds the ability to whitelist packages exposing config providers and/or modules. When whitelisted, the installer will not prompt to inject configuration, but instead do it automatically. This is done at the root package level, using the following configuration:

    "extra": {
      "laminas": {
        "component-whitelist": [
          "some/package"
        ]
      }
    }

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

2.0.0 - 2018-02-06

Added

  • Nothing.

Changed

  • zendframework/zend-component-installer#49 modifies the default options for installer prompts. If providers and/or modules are discovered, the installer uses the first discovered as the default option, instead of the "Do not inject" option. Additionally, the "remember this selection" prompt now defaults to "y" instead of "n".

Deprecated

  • Nothing.

Removed

Fixed

  • Nothing.

1.1.1 - 2018-01-11

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • zendframework/zend-component-installer#47 fixes an issue during package removal when a package defines multiple targets (e.g., both "component" and "config-provider") and a ConfigInjectorChain is thus used by the plugin; previously, an error was raised due to an attempt to call a method the ConfigInjectorChain does not define.

1.1.0 - 2017-11-06

Added

Deprecated

  • Nothing.

Removed

Fixed

1.0.0 - 2017-04-25

First stable release.

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.7.1 - 2017-04-11

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • zendframework/zend-component-installer#38 fixes an issue with detection of config providers in ConfigAggregator-based configuration files. Previously, entries that were globally qualified (prefixed with \\) were not properly detected, leading to the installer re-asking to inject.

0.7.0 - 2017-02-22

Added

Changes

  • zendframework/zend-component-installer#34 updates the internal architecture such that the Composer IOInterface no longer needs to be passed during config discovery or injection; instead, try/catch blocks are used within code exercising these classes, which already composes IOInterface instances. As such, a number of public methods that were receiving IOInterface instances now remove that argument. If you were extending any of these classes, you will need to update accordingly.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.6.0 - 2017-01-09

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.5.1 - 2016-12-20

Added

  • Nothing.

Changes

  • zendframework/zend-component-installer#29 updates the composer/composer dependency to ^1.2.2, and, internally, uses Composer\Installer\PackageEvent instead of the deprecated Composer\Script\PackageEvent.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.5.0 - 2016-10-17

Added

  • zendframework/zend-component-installer#24 adds a new method to the InjectorInterface: setModuleDependencies(array $modules). This method is used in the ComponentInstaller when module dependencies are discovered, and by the injectors to provide dependency order during configuration injection.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

0.4.0 - 2016-10-11

Added

  • zendframework/zend-component-installer#12 adds a DiscoveryChain, for allowing discovery to use multiple discovery sources to answer the question of whether or not the application can inject configuration for the module or component. The stated use is for injection into development configuration.
  • zendframework/zend-component-installer#12 adds a ConfigInjectorChain, which allows injecting a module or component into multiple configuration sources. The stated use is for injection into development configuration.
  • zendframework/zend-component-installer#16 adds support for defining both a module and a component in the same package, ensuring that they are both injected, and at the appropriate positions in the module list.
  • zendframework/zend-component-installer#20 adds support for modules that define getModuleDependencies(). When such a module is encountered, the installer will now also inject entries for these modules into the application module list, such that they always appear before the current module. This change ensures that dependencies are loaded in the correct order.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.3.1 - 2016-09-12

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

0.3.0 - 2016-06-27

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

Fixed

  • zendframework/zend-component-installer#8 fixes how the DevelopmentConfig discovery and injection works. Formerly, these were looking for the development.config.php file; however, this was incorrect. laminas-development-mode has development.config.php.dist checked into the repository, but specifically excludes development.config.php from it in order to allow toggling it from the .dist file. The code now correctly does this.

0.2.0 - 2016-06-02

Added

  • zendframework/zend-component-installer#5 adds support for arrays of components/modules/config-providers, in the format:

    {
      "extra": {
        "laminas": {
          "component": [
            "Some\\Component",
            "Other\\Component"
          ]
        }
      }
    }

    This feature should primarily be used for metapackages, or config-providers where some configuration might not be required, and which could then be split into multiple providers.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.1.0 - TBD

First tagged release.

Previously, PHAR releases were created from each push to the master branch. Starting in 0.1.0, the architecture changes to implement a composer plugin. As such, tagged releases now make more sense, as plugins are installed via composer (either per-project or globally).

Added

  • zendframework/zend-component-installer#2 adds:
    • All classes in the Laminas\ComponentInstaller\ConfigDiscovery namespace. These are used to determine which configuration files are present and injectable in the project.
    • All classes in the Laminas\ComponentInstaller\Injector namespace. These are used to perform the work of injecting and removing values from configuration files.
    • Laminas\ComponentInstaller\ConfigOption, a value object mapping prompt text to its related injector.
    • Laminas\ComponentInstaller\ConfigDiscovery, a class that loops over known configuration discovery types to return a list of ConfigOption instances

Deprecated

  • Nothing.

Removed

Fixed

  • zendframework/zend-component-installer#2 updates Laminas\ComponentInstaller\ComponentInstaller:
    • to act as a Composer plugin.
    • to add awareness of additional configuration locations:
      • modules.config.php (Laminas API Tools)
      • development.config.php (laminas-development-mode)
      • config.php (Mezzio with mezzio-config-manager)
    • to discover and prompt for known configuration locations when installing a package.
    • to allow re-using a configuration selection for remaining packages in the current install session.