Skip to content

Commit 0bedc6a

Browse files
committed
Merge branch 'release/1.5.1'
2 parents 9918462 + 78ec028 commit 0bedc6a

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# v1.5.1
2+
## 03/17/2021
3+
4+
1. [](#improved)
5+
* Clearer instructions for composer initialization [#62](https://github.com/getgrav/grav-plugin-devtools/pull/62)
6+
* Comment out autoload subscription event by default now that Grav 1.7 is out [#62](https://github.com/getgrav/grav-plugin-devtools/pull/62)
7+
18
# v1.5.0
29
## 02/18/2021
310

blueprints.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: DevTools
22
slug: devtools
33
type: plugin
4-
version: 1.5.0
4+
version: 1.5.1
55
description: Plugin and Theme scaffolding utilities
66
icon: cogs
77
author:
@@ -14,7 +14,7 @@ bugs: https://github.com/getgrav/grav-plugin-devtools/issues
1414
license: MIT
1515

1616
dependencies:
17-
- { name: grav, version: '>=1.6.0' }
17+
- { name: grav, version: '>=1.7.0' }
1818

1919
form:
2020
validation: strict

classes/DevToolsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ protected function createComponent(): bool
244244
$this->output->writeln('Path: <cyan>' . $component_folder . '</cyan>');
245245
$this->output->writeln('');
246246
if ($type === 'plugin') {
247-
$this->output->writeln('<yellow>Make sure to run `composer update` to initialize the autoloader</yellow>');
247+
$this->output->writeln('<yellow>Please run `cd user/plugins/' . $name . '` and `composer update` to initialize the autoloader</yellow>');
248248
$this->output->writeln('');
249249
}
250250

components/plugin/blank/plugin.php.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class {{ component.name|camelize }}Plugin extends Plugin
2424
{
2525
return [
2626
'onPluginsInitialized' => [
27-
['autoload', 100000], // TODO: Remove when plugin requires Grav >=1.7
27+
// Uncomment following line when plugin requires Grav < 1.7
28+
// ['autoload', 100000],
2829
['onPluginsInitialized', 0]
2930
]
3031
];

0 commit comments

Comments
 (0)