From 704fe28d66fafc3480f0850c134fda7cca62ec5c Mon Sep 17 00:00:00 2001 From: nfebe Date: Sat, 4 Jul 2026 13:43:09 +0100 Subject: [PATCH] docs: Prepare 1.2.0 release Bumps the package to 1.2.0 with changelog entries for installing a plugin's own dependencies into the host and for local directory paths as an install source. --- CHANGELOG.md | 7 +++++++ composer.json | 2 +- composer.lock | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9791027..5311866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [1.2.0] - 2026-07-04 + +### Added +- Installing a plugin now installs the plugin's own declared dependencies into the host application, so packages the plugin relies on are available at runtime instead of failing with class-not-found +- Local directory paths are a supported install source: `plugin:install ./path/to/plugin` copies the plugin into place, alongside the existing package-name and repository-URL sources +- Dependency installation integrates with `wikimedia/composer-merge-plugin` when the host enables it, and otherwise installs the plugin's requirements directly + ## [1.1.0] - 2026-06-07 ### Added diff --git a/composer.json b/composer.json index c104f63..2add7de 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "A flexible plugin engine for Laravel applications", "type": "library", "license": "proprietary", - "package-version": "1.1.0", + "version": "1.2.0", "autoload": { "psr-4": { "WhileSmart\\LaravelPluginEngine\\": "src/" diff --git a/composer.lock b/composer.lock index b359b7b..0b08e77 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4fddc38db5ede904f47f388b3a38bcac", + "content-hash": "b8ec48352185449cfd3fa7b9a3406d59", "packages": [ { "name": "brick/math",