Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.58 KB

CHANGELOG.md

File metadata and controls

43 lines (31 loc) · 1.58 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

This version introduces backward incompatible changes

Added

  • Use DI Container
  • Added options to provision command: --file, --wp-dir --wp-cli
  • Exceptions covering the domain structure of the application
  • New sub command wp-provision task <TASKFILE> to perform arbitrary tasks

Changes

  • Remove direct dependency on wp-cli/wp-cli to use Symfony 3.* components
  • Changed interface of task (provision) file
    • Task file must return a callable
    • That callable receives instances of WpProvision\Api\Versions, WpProvision\Api\WpCommandProvider and WpProvision\Api\ConsoleOutput. See README.md for example.
    • Remove WpProvision\Api\WpProvisioner
  • Internal architecture changes
  • Public API might throws exceptions (and do not hide every Throwable silently)
  • Fix required PHP version to >= 7 in composer.json (it already required this version before)

Fixed

  • Directory paths in bootstraping

Initial tag

Provides

  • API to use in a static defined provision.php file
  • CLI command to install versions defined in provision.php
  • API to basic WP-CLI commands core, plugin, user, site