kana

A simple, portable CLI for efficient WordPress development

GPL-3.0 License

Stars
50

Bot releases are visible (Hide)

kana - 0.17.0

Published by ChrisWiegman 9 months ago

0.17.0 - 2024-01-21

Features

  • Add changelog command to help users understand what has changed between versions.
  • Add update command to self-update Kana for installations that didn't use Homebrew.
  • Will check for updates and warn users of a newer version if one is available.
kana - 0.16.0

Published by ChrisWiegman 9 months ago

0.16.0 - 2024-01-20

Breaking Changes

  • Removes the local flag and related configuration items. All sites that don't use the name flag now store their WordPress and database in the folder from which the site was initiated.

Features

  • Kana will ask for confirmation when starting a new site in a non-empty folder to avoid file conflicts with WordPress.

Bug Fixes

  • Environment will now be properly handled on export.

Chores

  • Update project dependencies.
  • Updated Moby to version 25.x.
kana - 0.15.0

Published by ChrisWiegman 10 months ago

0.15.0 - 2024-01-07

Features

  • Added configuration items for scriptdebug which controls the wp-config SCRIPT_DEBUG configuration item.
  • Added config option for environment which controls the wp-config WP_ENVIRONMENT_TYPE setting.
  • Default WP_ENVIRONMENT_TYPE to local to better reflect the nature of a given site in the tool.

Chores

  • Update GitHub actions to use Ubuntu 22.04 on all actions for consistency and ensure all actions are up to date.
kana - 0.14.1

Published by ChrisWiegman 10 months ago

0.14.1 - 2024-01-07

Chores

  • Update GitHub action versions
kana - 0.14.0

Published by ChrisWiegman 10 months ago

0.14.0 - 2024-01-06

Features

  • Allow for abstract PHP and MariaDB versions in the config.
  • Kana will now detect if a folder where a site is started is a theme or a plugin and start the appropriate site type.

Chores

  • Cleanup Go modules with go mod tidy
  • Update project dependencies
kana - 0.13.1

Published by ChrisWiegman 11 months ago

0.13.1 - 2023-11-15

Features

  • Change default image update check from 1 day to 7 days

Chores

  • Update project dependencies
kana - 0.13.0

Published by ChrisWiegman about 1 year ago

0.13.0 - 2023-09-30

Features

  • Only add Kana's SSL certificate to the MacOS keychain when it needs to be used.
  • Adds a trust-ssl command for Mac to easily add the SSL cert to the Mac system Keychain

Bug Fixes

  • Ensure the local SSL setting is respected to load the correct URL
  • Ensures the --ssl start flag is properly implemented and set.

Chores

  • Update project dependencies
kana - 0.12.0

Published by ChrisWiegman about 1 year ago

0.12.0 - 2023-09-17

Features

  • The list command no longer requires that Docker be running for use.
  • Add config setting that will delete the default WordPress plugins when starting a new site

Bug Fixes

  • Ensure we're properly checking for errors when files and other streams are closed.
  • Ensure the export command properly handles the databaseClient and multisite settings.

Chores

  • Update Go dependencies
kana - 0.11.2

Published by ChrisWiegman about 1 year ago

0.11.2 - 2023-09-04

Features

  • Use the current Docker context to find the correct Docker host. This results in more reliable connections to Docker, particularly with Docker Desktop.
  • Kana will no longer try to start Docker automatically if it cannot connect to it on Mac.

Bug Fixes

  • Removed the extra information that reiterated the empty site list on the list command as the table format has since made it redundant.
  • Upate confirmation text on stop command to make it easier to read.

Chores

  • Update project dependencies
kana - 0.11.1

Published by ChrisWiegman about 1 year ago

0.11.1 - 2023-08-16

Chores

  • Update project dependencies
  • Update CI/CD processes to Go 1.21
kana - 0.11.0

Published by ChrisWiegman about 1 year ago

0.11.0 - 2023-07-26

Features

  • Added the ability to open a database directly in TablePlus instead of PhpMyAdmin.
  • Add support for both subdirectory and subdomain multisite installations

Bug Fixes

  • Ensure the config item imageUpdateDays isn't case sensitive
  • Ensure the proper error message is displayed when a CLI command fails
  • Remove erroneous debugging statement when using the "activate" flag on startup.

Chores

  • Update Go dependencies
kana - 0.10.1

Published by ChrisWiegman over 1 year ago

0.10.1 - 2023-07-08

Chores

  • Update GoLang upstream dependencies
  • Update GoReleaser config to fix deprecations.
kana - 0.10.0

Published by ChrisWiegman over 1 year ago

0.10.0 - 2023-06-25

Features

  • Added flush command which flushes the cache and deletes all transients
kana - 0.9.0

Published by ChrisWiegman over 1 year ago

0.9.0 - 2023-06-25

Breaking Changes

  • Renamed phpmyadmin flag to database on the open command to better reflect its operation.
  • Changed default MariaDB version from 10 to 11.

Features

  • Users can now choose between MariaDB 10 or 11 using the config command or settings files.

Bug Fixes

  • PHP version will properly revert to default if an invalid configuration is entered into settings
kana - 0.8.1

Published by ChrisWiegman over 1 year ago

0.8.1 - 2023-06-19

Bug Fixes

  • Ensure Xdebug can be installed when running Kana on Linux
kana - 0.8.0

Published by ChrisWiegman over 1 year ago

0.8.0 - 2023-06-18

Features

  • Add xdebug command to make managing Xdebug easier
  • Suppress non-JSON output when downloading new images if --output-json flag is set on the command.

Bug Fixes

  • Show an empty array rather than null when there are no sites and the kana list command is used with the --output-json flag

Chores

  • Update Go project dependencies
kana - 0.7.0

Published by ChrisWiegman over 1 year ago

0.7.0 - 2023-06-10

Breaking Changes

  • Kana now requires Docker Desktop 4.20.0 or greater or Docker Engine 24 or greater

Features

  • Add ability to only check for image updates with configurable ImageUpdateDays config setting
  • Kana will automatically activate plugin or theme projects when starting a new site. This can be turned off with the activate config option

Bug Fixes

  • Remove duplicate image checks
  • Ensure project is available for wp-cli commands if type is set as "plugin" or "theme"
  • Fixed a bug that would cause the list command to fail

Chores

  • Updated upstream Go dependencies
  • Update base Traefik image to 2.10
kana - 0.6.2

Published by ChrisWiegman over 1 year ago

0.6.2 - 2023-05-13

Security Fixes

kana - 0.6.1

Published by ChrisWiegman over 1 year ago

0.6.1 - 2023-04-22

Features

  • Improve Xdebug output by setting PHP's html_errors to true and setting xdebug.mode to debug,develop,trace. This will give much more informative and readable debugging output.
  • Introduced wpdebug setting to ensure WP_DEBUG is always available when needed.
  • Always show pull status for Docker images.
  • Improved output ot list command with better messaging when the list is empty.
  • Prevent users from starting a new site using their homedir as the working directory

Chores

  • Update project dependencies
kana - 0.6.0

Published by ChrisWiegman over 1 year ago

0.6.0 - 2023-02-26

Breaking Changes

  • Sites no longer start with forced SSL by default. See the ssl config item to adjust
  • Remove PhpMyAdmin configuration and flag. It will now open on demand

Features

  • Add SSL config item to make it easier to use https or http in site configurations
  • Kana will no longer error out when running the open command on Mailpit of PhpMyAdmin if the apps haven't been started. Instead it will start the apps and open as appropriate.

Bug Fixes

  • Fix various typos and default settings the the project README
  • Ensure Mailpit configuration item is in export
  • PhpMyAdmin will now open and operate correctly on Linux

Chores

  • Update test suite and increase test coverage