Skip to content

Releases: getkirby/cli

1.9.0

09 Dec 09:58

Choose a tag to compare

🎉 Features

  • PHP 8.5 support #102
  • The new kirby uuid:duplicates command 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 --fix flag 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-run option for the kirby clean:content command to check results before removing fields.

🐛 Bug fixes

  • Fix case sensitivity in kirby clean:content #94

1.8.0

13 Oct 13:30

Choose a tag to compare

✨ 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

21 Jul 14:39

Choose a tag to compare

🎉 Features

New license info commands (thanks to @ovenum)

  • kirby license:info
  • kirby license:renewal

🧹 Housekeeping

  • Updated PHP dependencies

1.6.0

13 Jan 13:41
dd587fd

Choose a tag to compare

  • PHP 8.4 support
  • New security command
  • Use getenv() for more stable KIRBY_HOST environment variable support
  • Updated dependencies

1.5.0

21 May 13:14
e1d1856

Choose a tag to compare

🎉 Features

New option to load a host-specific environment with the new KIRBY_HOST env variable #78

env KIRBY_HOST=production.com kirby mycommand

🐛 Bug fixes

Fixed typo in success message (thanks to @ovenum) #77

1.4.0

29 Feb 15:18
8cb3477

Choose a tag to compare

🎉 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:model command #31

🐛 Bug fixes

  • Fixed unzip command on Linux and Windows #44
  • Fix error handling in clean:content command #61
  • clean:content no longer throws exception on translations #72

1.3.0

06 Feb 10:16
1b7d168

Choose a tag to compare

🎉 Features

  • New clean:content command #42

🐛 Fixes

  • Improved error handling if a command does not exist or arguments are not valid
  • Fixed broken installation commands when the folder contains special chars #46

🏠 Housekeeping

  • Updated PHPUnit setup

1.2.0

21 Dec 11:56
1d6d72f

Choose a tag to compare

✨ Enhancements

  • bump guzzlehttp/guzzle from 7.5.0 to 7.5.1 #45
  • Show error trace for exceptions #54
  • Add check for index() expecting to live in vendor/ directory by @adamkiss in #50
  • PHP 8.3 support in #53

Full Changelog: 1.1.1...1.2.0

1.1.1

10 Feb 12:29
0e8074b

Choose a tag to compare

✨ Enhancements

  • Added support for PHP 8.2 (thanks to @FabienYt)

1.1.0

28 Nov 14:45
91138fa

Choose a tag to compare

🎉 Features

Kirby::plugin('your/plugin', [
  'commands' => [
    'your-plugin:test' => [
      'description' => 'Nice command',
      'args' => [],
      'command' => function ($cli) {
        $cli->success('My first plugin command');
      }
    ]
  ]
]);
  • New register command to register the current installation
kirby register --license K3-xxx --email [email protected]
  • New uuid:remove command to remove all uuids
kirby uuid:remove
  • New global --quiet option to suppress the output of the command. #20

✨ Enhancements

  • Added support for the XDG_CONFIG_HOME env 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:cache fallback #22
  • Fixed custom helper loading #12

🚨 Breaking Changes

  • Support for the kirby.cli.json has been removed in favour of loading the index.php