Skip to content
Merged

2.1.0 #155

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
e7dba46
test: Cache Kirby downloads in tests/tmp instead of the system temp dir
ovenum Nov 6, 2026
b4bac3f
ci: bump shivammathur/setup-php in /.github/actions/setup-php (#139)
dependabot[bot] Nov 9, 2026
5f9a3b6
ci: bump reviewdog/action-suggester from 1.24.3 to 1.26.3 (#138)
dependabot[bot] Nov 9, 2026
ecfb379
ci: bump shivammathur/cache-extensions in /.github/actions/setup-php …
dependabot[bot] Nov 9, 2026
14586f2
feat: `kirby migrate:to:symfony-yaml`
distantnative Oct 10, 2026
0c2ce4d
fix: Handle Windows paths in migrate:to:symfony-yaml
afbora Nov 9, 2026
0ea08e6
fix: Report booleans that Symfony YAML reads as strings
afbora Nov 9, 2026
1679b99
fix: Do not convert YAML that only Symfony YAML can read
afbora Nov 9, 2026
90cc712
fix: Warn about YAML in plugin fields and fields without a blueprint
afbora Nov 9, 2026
7817c55
fix: Do not fail on plain text in fields without a blueprint
afbora Nov 10, 2026
9cca3d9
fix: Do not skip content with text that looks like a block scalar
afbora Nov 10, 2026
7016dd3
Merge pull request #142 from getkirby/fix/migrate-yaml-review
afbora Nov 10, 2026
6730bd4
Merge pull request #135 from getkirby/feat/migrate-yaml
bastianallgeier Nov 10, 2026
0e06899
test: Exclude cached Kirby downloads from the classmap
afbora Nov 10, 2026
8c35a2a
Merge pull request #140 from ovenum/test/kirby-cache-dir
afbora Nov 10, 2026
ed03639
fix: Skip models with changes in clean:content
afbora Nov 10, 2026
26e4057
fix: Run commands outside the command line #21
afbora Nov 10, 2026
26a95ad
fix: Show command names instead of file paths on Windows
afbora Nov 10, 2026
c86a6f8
Merge pull request #143 from getkirby/fix/clean-content-skip-changes
afbora Nov 10, 2026
fcf8885
test: Reset the blueprint cache between tests
distantnative Nov 10, 2026
d2e8337
fix: Compare content strictly in migrate:to:symfony-yaml
distantnative Nov 10, 2026
c2ed1d4
fix: Ignore Symfony block scalars in blueprints
distantnative Nov 10, 2026
de121ad
fix: Advise converting content right after switching to Symfony YAML
distantnative Nov 10, 2026
b90811d
fix: Do not exit successfully when the conversion is declined
distantnative Nov 10, 2026
28a2066
fix: Detect the YAML handler on Kirby 6
distantnative Nov 10, 2026
f0c33cd
fix: Detect the command line via the PHP SAPI #21
afbora Nov 10, 2026
a136e08
Merge pull request #144 from getkirby/fix/21-run-commands-outside-cli
afbora Nov 10, 2026
15e5990
Merge pull request #145 from getkirby/fix/windows-command-names
afbora Nov 10, 2026
9748c74
feat: Add --plain option to help command #30
afbora Nov 10, 2026
2e4e677
refact: Rename --plain option to --raw #30
afbora Nov 10, 2026
3d767db
feat: Sort the raw command list #30
afbora Nov 10, 2026
9724ac8
test: List commands in several groups only once #30
afbora Nov 10, 2026
994a1f4
Apply suggestion from @afbora
distantnative Nov 10, 2026
6e44a8f
Merge pull request #146 from getkirby/feature/30-plain-command-list
afbora Nov 10, 2026
1f9e274
Merge pull request #147 from getkirby/fix/migrate-yaml-followup
distantnative Nov 10, 2026
57c673d
Merge branch 'main' into develop
distantnative Nov 12, 2026
42a6f04
composer: bump guzzlehttp/guzzle from 8.3.1 to 8.5.0 (#149)
dependabot[bot] Nov 16, 2026
2e614d3
ci: bump reviewdog/action-suggester from 1.26.3 to 1.27.0 (#148)
dependabot[bot] Nov 16, 2026
3b128a0
composer: bump guzzlehttp/guzzle from 8.5.0 to 8.5.1 (#150)
dependabot[bot] Nov 20, 2026
e05ca83
ci: bump reviewdog/action-suggester from 1.27.0 to 1.27.1 (#151)
dependabot[bot] Nov 22, 2026
77a0fcd
composer: bump guzzlehttp/guzzle from 8.5.1 to 8.5.2 (#152)
dependabot[bot] Nov 23, 2026
e4d1bf5
composer: bump guzzlehttp/guzzle from 8.5.2 to 8.5.4 (#153)
dependabot[bot] Nov 24, 2026
ccf2328
test: Fix testConvertContent on Kirby 6
bastianallgeier Nov 24, 2026
52c9d9f
chore: Upgrade PHP dependencies
bastianallgeier Nov 24, 2026
a672a62
feat: PHP 8.6 support
bastianallgeier Nov 24, 2026
d905d2e
chore: Bump version number
bastianallgeier Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/setup-php/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
steps:
- name: Setup PHP cache environment
id: php-cache
uses: shivammathur/cache-extensions@04303762ce7e9a04b12c6dc5d8cd41e3e7b4950d # pin@1.15.10
uses: shivammathur/cache-extensions@695b1b465eba861efe67cbbc31252c27f5ed253d # pin@1.15.11
with:
php-version: ${{ inputs.php }}
extensions: ${{ inputs.extensions }}
Expand All @@ -36,7 +36,7 @@ runs:
restore-keys: ${{ steps.php-cache.outputs.key }}

- name: Setup PHP environment
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # pin@2.37.2
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # pin@2.40.0
with:
php-version: ${{ inputs.php }}
extensions: ${{ inputs.extensions }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.3", "8.4", "8.5"]
php: ["8.3", "8.4", "8.5", "8.6"]

steps:
- name: Checkout
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:

- name: Create code suggestions from the coding style changes (on PR only)
if: always() && github.event_name == 'pull_request'
uses: reviewdog/action-suggester@2558ba17e65a9039e73764a73009fc05fef28a46 # pin@v1.24.3
uses: reviewdog/action-suggester@fd22a83b1ebc13fd8aee5d57b06793fce6f20fb9 # pin@v1.27.1
with:
tool_name: PHP-CS-Fixer
fail_on_error: "true"
2 changes: 2 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
->exclude('node_modules')
// scaffolding stubs, copied verbatim by `kirby make`
->exclude('_templates')
// Kirby downloads cached by the test suite
->exclude('tests/tmp')
->in(__DIR__)
->append([__DIR__ . '/bin/kirby'])
);
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ This should print the Kirby CLI version and a list of available commands
- kirby make:user
- kirby migrate:to:public-folder
- kirby migrate:to:root-folder
- kirby migrate:to:symfony-yaml
- kirby plugin:install
- kirby plugin:remove
- kirby plugin:upgrade
Expand All @@ -80,6 +81,12 @@ This should print the Kirby CLI version and a list of available commands
- kirby version
```

To get a list of all available command names, one per line (e.g. to use them in scripts), use the `--raw` option:

```bash
kirby help --raw
```

## Writing commands

You can create a new command via the CLI:
Expand Down
3 changes: 3 additions & 0 deletions commands/migrate/to/symfony-yaml.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

return Kirby\CLI\Commands\Migrate\To\SymfonyYaml::class;
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "getkirby/cli",
"description": "Kirby command line interface",
"license": "MIT",
"version": "2.0.0",
"version": "2.1.0",
"keywords": [
"kirby",
"cms",
Expand All @@ -24,19 +24,22 @@
"source": "https://github.com/getkirby/cli"
},
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0",
"ext-zip": "*",
"composer-runtime-api": "^2.2",
"guzzlehttp/guzzle": "^8.3.1",
"league/climate": "^3.12.0"
"guzzlehttp/guzzle": "^8.6.0",
"league/climate": "^3.12.1"
},
"autoload": {
"psr-4": {
"Kirby\\": [
"src/",
"tests/"
]
}
},
"exclude-from-classmap": [
"tests/tmp/"
]
},
"bin": [
"bin/kirby"
Expand Down
75 changes: 39 additions & 36 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="Kirby\Cms\*" />
<referencedClass name="Kirby\Content\*" />
<referencedClass name="Kirby\Data\*" />
<referencedClass name="Kirby\Exception\*" />
<referencedClass name="Kirby\Filesystem\*" />
Expand Down
Loading
Loading