Releases: getkirby/cli
1.9.0
🎉 Features
- PHP 8.5 support #102
- The new
kirby uuid:duplicatescommand checks for multiple models that share the same UUID - which is of course not intended and can lead to bad side-effects, but can happen when content is copied or generated manually. You can use the--fixflag to regenerate all UUIDs that already exist. This can potentially break links in fields, such as the files, pages or users fields. Those links have to be recreated manually after running the command. - New
—-dry-runoption for thekirby clean:contentcommand to check results before removing fields.
🐛 Bug fixes
- Fix case sensitivity in
kirby clean:content#94
1.8.0
✨ Features
New Migration commands to switch to a public folder setup or back to a root folder setup.
kirby migrate:to:public-folder
kirby migrate:to:root-folder
🧹 Housekeeping
- Upgraded PHP dependencies
1.7.0
1.6.0
- PHP 8.4 support
- New
securitycommand - Use
getenv()for more stable KIRBY_HOST environment variable support - Updated dependencies
1.5.0
1.4.0
🎉 Features
New upgrade command
Upgrades your kirby folder and cleans the media/panel folder #71
kirby upgrade
To upgrade to a specific version, you can add the version as first argument
kirby upgrade 4.1.0
New backup command
Creates a zip file in a new backup folder. You can either backup your entire site or parts of it. #62
Entire site …
kirby backup
Only parts of it …
kirby backup content
The root argument refers to any root in your installation (e.g. site, accounts, media, etc.)
New clear:lock command
Removes all lock files in your content folder #59
kirby clear:lock
New clear:logins command
Removes the .logins file to unblock any failed login attempts. #60
kirby clear:logins
New make:user command
Creates a new user by taking you through a set of handy prompts. You can also pass email, password, etc. as arguments. #68
kirby make:user
New make:language command
Creates a new language by taking you through a set of handy prompts. You can also pass language code, reading direction, etc. as arguments. #69
kirby make:language
New plugin commands
plugin:install
Installs a Kirby plugin repository from Github
kirby plugin:install getkirby/kql
plugin:upgrade
Upgrades an already installed Kirby plugin
kirby plugin:upgrade getkirby/kql
plugin:remove
Removes a Kirby plugin
kirby plugin:remove getkirby/kql
New debug mode
Add -d or --debug to any command to get full error stacks #64
✨ Enhancements
- Use namespaced class names in
make:modelcommand #31
🐛 Bug fixes
1.3.0
1.2.0
1.1.1
1.1.0
🎉 Features
- Better Kirby instance detection by loading the index.php and getting settings from there. #17
- CLI commands can now be defined by Kirby plugins https://getkirby.com/docs/reference/plugins/extensions/commands #10
Kirby::plugin('your/plugin', [
'commands' => [
'your-plugin:test' => [
'description' => 'Nice command',
'args' => [],
'command' => function ($cli) {
$cli->success('My first plugin command');
}
]
]
]);- New
registercommand to register the current installation
kirby register --license K3-xxx --email [email protected]
- New
uuid:removecommand to remove all uuids
kirby uuid:remove
- New global
--quietoption to suppress the output of the command. #20
✨ Enhancements
- Added support for the
XDG_CONFIG_HOMEenv variable. #23 - Unit tests and CI
🐛 Bug Fixes
- Hidden files are now extracted correctly #19 & #16
- Old Kirby v2 and v1 installations get no longer loaded by accident #3
- Fixed
clear:cachefallback #22 - Fixed custom helper loading #12
🚨 Breaking Changes
- Support for the
kirby.cli.jsonhas been removed in favour of loading theindex.php