- …
- Fix release.
koyeb service unapplied-changes <service_id>
: display "no changes" when there is no stashed deployment, or when the stashed deployment is the same as the current deployment.koyeb service update
: fix when changing the type of an environment variable given with--type
- Add the
snapshots
subcommand to manage volume snapshots. - Add the
--snapshot
flag to the volume creation command, to create a volume from a snapshot. - Add command
koyeb service unapplied-changes <service_id>
to view the changes that have been made withkoyeb service update --save-only
.
- Add
--deployment-strategy
which can have the valuerolling
,blue-green
orimmediate
to service. - Fix the logic on how validation is performed for
--port
to avoid raising an error whenTCP
ports are used and--routes
are not set.
- Breaking change: the application name needs to be provided with
koyeb db
commands. In the past, the commandkoyeb db create mydb
created a database namedmydb
under the hardcoded applicationkoyeb-db-preview-app
. With this new version, it is mandatory to specify the service name, for example withkoyeb db create myapp/mydb
orkoyeb db create mydb --app myapp
. - Allow to rename a database with
koyeb db update myapp/mydb --name newname
.
- Change the
volumes
subcommand to handle sizes in GB. - Add
--checks-grace-period
to set the grace period for health checks, for example withkoyeb service update app/service --checks 8000:http:/healtcheck --checks-grace-period 8000=10
. - Add
--since
tokoyeb service logs
,koyeb deployment logs
andkoyeb instance logs
. - Reconnect logs when the websocket is closed.
- Add
volumes
subcommand. - Allow to edit service volumes with
koyeb service update --volume
. - Better error message when performing actions requiring a user context with an organization token.
- Fix release.
- Add
--autoscaling-concurrent-requests
and--autoscaling-requests-response-time
tokoyeb service create
andkoyeb service update
.
- Fix nil dereference in
koyeb deployment logs -t build
. - Create new command
koyeb archives create <path>
to store an archive. This command will be necessary for the future deployment of a directory. - Add
--archive
parameters tokoyeb service create
andkoyeb service update
to deploy an archive instead of a Docker image. The archive is stored in GCS and can be created withkoyeb archives create
. - Add command
koyeb deploy <directory> <app_name>/<service_name>
. - Allow to specify
--git-sha
inkoyeb service update
andkoyeb service create
. Warning: if the service is deployed with a specific git sha (which is the case if the deployment has been triggered by the "git push" webhook),koyeb service update
without--git-sha
will no longer deploy the latest commit, but the commit set in the configuration. To deploy the latest commit, usekoyeb service update --git-sha ''
.
- Add
koyeb service update <app>/<service> --name <new_name>
to rename a service - Fix when changing the source of a project from Docker to Git.
- Add
koyeb apps update --domain <subdomain> <app>
to change the autoassigned subdomain
- Add warning when accessing logs of a deployment with skipped build.
- Add instance ID to
koyeb service logs
,koyeb deployment logs
andkoyeb instance logs
- Add the
--save-only
flag to thekoyeb services update
command, that only saves the changes and does not trigger an immediate deploy. - Support
-o json
forkoyeb service logs
,koyeb deployment logs
andkoyeb instance logs
- Add command
koyeb metrics get
to get the metrics of a service or an instance - It is now possible to create services only available from the mesh, for example with
koyeb service create app/service --docker nginx --port 80:tcp
. With only--port 80
(equivalent to--port 80:http
), the service is also exposed to the internet.
- Add the
--skip-build
flag for thekoyeb services redeploy
andkoyeb services update
commands. - Add
--app
and--service
flags tokoyeb deployments list
to filter deployments by app and service. - Add
--deployment
tokoyeb regional-deployments list
to filter regional deployments by deployment ID.
- Display date in
koyeb service logs
andkoyeb instance logs
- Display the log stream in
koyeb service logs
andkoyeb instance logs
- Better help message for
koyeb cp
- The version 3.8.0 had never been released because the github action has not been triggered. This version is a re-release of the version 3.8.0.
koyeb service update
: remove autoscaling targets when --min-scale is equal to --max-scalekoyeb deployment get
andkoyeb deployment describe
now display the GIT commit hash for git services types- Check the validity of the docker image when creating or updating a service
- Add
koyeb db update <name> --instance-type <type>
to update the instance type of a database
- Add
koyeb regional-deployments list
andkoyeb regional-deployments get
. Also works with the aliasesrd
,rdeployment
andrdeployments
. - Stop hardcoding the maximum usage time and the database size displayed by
koyeb db list
andkoyeb db get
- Always fetch the latest git commit with
koyeb service update
. It should fix the issue where an old commit is deployed instead of the latest one.
koyeb service create
andkoyeb service update
accept the parameters--autoscaling-average-cpu
,--autoscaling-average-mem
and--autoscaling-requests-per-second
to set the autoscaling policy.- Add the option
--skip-cache
tokoyeb service update
- Fix
koyeb service update --git-build-command
andkoyeb service update --git-run-command
when the service has already a build command or a run command configured.
- Fix build. See v3.5.0 for the other changes.
- Fix nil pointer dereference when
--url
is invalid - Fix error when the token is invalid and the user tries to switch organization
- Stop rendering partial connection string during the provisioning of a database
- Allow to manage registry secrets with
koyeb service create --type registry-<type>
andkoyeb service update
- Add
koyeb instance cp
to copy files from and to an instance, for example withkoyeb instance cp file.txt <instance_id>:/tmp/
orkoyeb instance cp <instance_id>:/tmp/file.txt .
This version has never been released and is replaced with v3.5.1.
- Accept the two syntaxes
--app xxx
and<app>/<service_name>
for koyeb service commands - Update the user agent from 'OpenAPI-Generator/1.0.0/go' to 'koyeb-cli/version'
- The new flag
--override
ofkoyeb service update
allows to override the service configuration instead of merging the other options provided with the existing configuration. - Support
koyeb secret reveal <secret_name>
(orkoyeb secret show <secret_name>
). The API behind this command is not stable yet and may change in the future. This command can break at any time and will require an update of the CLI. - Fix an issue where running
koyeb organizations switch
without specifying an organization or specifying more than one organization would crash. - The default --port and --route for
koyeb service create
is now the port 8000 to match the default of https://app.koyeb.com koyeb service create
: set default branch tomain
- Implement
koyeb database list
,koyeb database create
,koyeb database get
andkoyeb database delete
- Dynamically set
--port
and--route
. Now,koyeb service create xxx --app yyy --port 8000
automatically creates the route/:8000
. Similarly,koyeb service create xxx --app yyy --route /:9999
automatically creates the port9999:http
. If--port
and--route
are both omitted, as before, the default port80:http
and route/:80
are created.
- Fix a bug where
koyeb services exec
/koyeb instances exec
would not work for users being members of multiple organizations
- Add the flag
--privileged
tokoyeb service create
andkoyeb service update
- The option
--min-scale
and--max-scale
ofkoyeb service update
where ignored, and the service was always scaled to 1. This is now fixed. Also, add the option--scale
which sets both--min-scale
and--max-scale
to the same value. If--min-scale
or--max-scale
is set, it overrides--scale
. - Add completion for fish shell, thanks to @razvanazamfirei
- The option
--git-builder
ofkoyeb service update
was ignored when we wanted to update the git builder. This is now fixed. - Add support for organizations. Use command
koyeb organization list
to list the organizations you are a member of, andkoyeb organization use
to switch to another organization. - Fix
koyeb service logs
when using the non-default organization - Fix
--regions
options ofkoyeb service create
andkoyeb service update
. To deploy an existing service to a new region, usekoyeb service update <app>/<service> --region <region>
. To remove a region from a service, usekoyeb service update <app>/<service> --region '!<region>'
. On service creation, the service is still deployed tofra
if no region is specified. If more than two regions are specified, a warning message is displayed to avoid billing surprises.
Unfortunately, we didn't keep a changelog before v3.0.2. We will try to do better in the future.