Skip to main content

Changelog

All notable changes to the VIKTOR CLI will be documented in this file.


v0.42.0 - 18/11/2024

Added

  • Added --use-pip flag on the install command to switch to 'pip' as package manager (default is 'uv')

Changed

  • The install command now uses 'uv' as package manager by default to improve performance

Fixed

  • Fix setting incorrect UID / GID when running docker isolation on Windows

v0.41.5 - 11/11/2024

Fixed

  • Fix quickstart command from unnecessarily prompting for registered-name

v0.41.4 - 06/11/2024

Added

  • Added --registered-name flag on the clear command

Changed

  • Don't Prompt IDE when no IDEs are found on the machine of the user

v0.41.3 - 04/11/2024

Fixed

  • Update false positive in check-system to properly handle new error format

v0.41.2 - 29/10/2024


v0.41.1 - 24/10/2024

Changed

  • When running the start, quickstart, or clean-start commands the cli automatically updates to the latest version

v0.41.0 - 24/10/2024

Added

  • Support environment variable VIKTOR_JS_SDK_PATH used for WebView interaction
  • When running the start command the user is prompted to upgrade if a new cli version is available
  • Warn when starting an app that has no registered_name defined
  • Added --registered-name flag on the start command

Changed

  • Removed environment variable VIKTOR_SUBDOMAIN which was incorrect and therefore has no use

Fixed

  • Set ownership to HOME directory (docker isolation mode) to fix warnings regarding writing to cache (e.g. matplotlib, fontconfig etc.)

v0.40.0 - 09/10/2024

Added

  • Added marker for active account for account selection prompt
  • Support for Python 3.13

Changed

  • Automatically detect changes to assets_path when developing

v0.39.0 - 05/09/2024

Added

  • Added hello-viktor app to quickstart command
  • Added activate command
  • Added resources to the output table of the apps command

Changed

  • Updated the embedded app templates to use a single viktor import
  • Updated style of the output table of the apps command

v0.38.0 - 12/08/2024

  • Support blank apps in quickstart command

v0.37.0 - 29/07/2024

Added

  • Support Excel converter in quickstart command

v0.36.2 - 24/07/2024

Fixed

  • Disable CGO

v0.36.1 - 24/07/2024

Changed

  • Updated golang to v1.22 and the dependencies to the latest versions

Fixed

  • Remove venv when Python version check cannot be completed

v0.36.0 - 25/06/2024

Added

  • Added quickstart command to start developing from a sample app

Fixed

  • Ignore nested __pycache__ directories when gathering app files for publishing

v0.35.0 - 29/04/2024

Changed

  • Make --tag flag optional in publish command
  • Read registered_name from viktor.config.toml and make --registered-name flag optional in publish command

Fixed

  • Fix URL to documentation in demo app

v0.34.1 - 09/04/2024

Changed

  • Removed installation of demo app from get-started command
  • When using create-app in GitHub Codespaces, the codespace Python version is set in viktor.config.toml
  • When using publish in GitHub Codespaces, the --use-filesystem flag will always be true
  • Ignore __pycache__ directories when gathering app files for publishing

v0.34.0 - 03/04/2024

Added

  • Added clean-start command which combines clear + install + start
  • Support tag on ci-publish command

Changed

  • Maximum length of publish tag increased from 20 to 128 characters

v0.33.5 - 11/03/2024

Added

  • Support environment variable VIKTOR_CREDENTIALS used for cloud-based development (e.g. GitHub Codespaces)

Changed

  • Command upgrade logs new version when successfully upgraded
  • Set x_axis_to_right=True on GeometryView in demo
  • Command check-system now also verifies credentials
  • Removed neverssl check in check-system command

v0.33.4 - 16/02/2024

Changed

  • Improved internal error logging when freezing of virtual environment fails

v0.33.3 - 12/02/2024

Changed

  • Command install now uninstalls previous installation instead of removing the entire venv directory to resolve vscode intellisense (Pylance) issues
  • Omit the <NAME> argument in the create-app command to create a new app in the current directory

v0.33.2 - 02/02/2024

Changed

  • Per user installation of CLI to no longer require administrator privileges

v0.33.1 - 11/01/2024

Changed

  • Set default Python version of demo app to 3.12

Fixed

  • Unpin numpy in demo app to fix compatibility with Python 3.12

v0.33.0 - 08/01/2024

Added

  • Support for Python 3.12
  • Show message to user if token has been deactivated

Deprecated

  • Deprecated Python 3.8

v0.32.0 - 24/11/2023

Added

  • Support 'packages' in viktor.config.toml

v0.31.2 - 01/11/2023

Changed

  • Add a flag to use pip truststore, this allows users to disable installation with truststore

v0.31.1 - 31/10/2023

Changed

  • Removed neverssl check from newAPI function

v0.31.0 - 24/10/2023

Changed

  • When available use truststore feature of pip to prevent SSL installation errors

v0.30.7 - 23/10/2023

Fixed

  • Warning for Python version was always triggered instead of only for invalid Python versions

v0.30.6 - 17/10/2023

Changed

  • Log warning when found Python version with Python Launcher is not supported for use with VIKTOR

v0.30.5 - 11/10/2023

Changed

  • Added 'command' sentry tag on all commands
  • Print files to be uploaded during publish and prompt user to continue

v0.30.4 - 19/09/2023

Changed

  • Updated golang to v1.21 and the dependencies to the latest versions

v0.30.3 - 28/08/2023

Changed

  • Capture actual error message when activation code cannot be obtained

v0.30.2 - 07/08/2023

Fixed

  • get-started now installs demo app in temporary dir to fix potential permission errors
  • check-system removed fall-back on ping command when curl is not available since it is unable to receive

v0.30.1 - 18/07/2023

Added

  • Added a prompt to overwrite configuration file entry if it is already present while rerunning the get-started command

v0.30.0 - 11/07/2023

Added

  • Read 'assets_path' from viktor.config.toml and upload assets to S3

Removed

  • Removed --region flag from publish, ci-publish, apps, describe commands since apps are now automatically synced

v0.29.11 - 16/06/2023

  • Only autoselect Python installation when running get-started, print the selected path and give hint how to change

v0.29.10 - 09/06/2023

Added

  • Add max-memory flag to install and test command to prevent container crashing on large packages

Changed

  • check-system command shouldn't fail because curl or ping is not installed, instead a nil error is returned and message is logged in Sentry

v0.29.9 - 24/05/2023

Changed

  • Updated the text of the last step in demo app including utm source tag for tracking the clickthrough rate into the tutorial

v0.29.8 - 16/05/2023

Added

  • Added Stdout output to error tracking in Sentry when installation of the demo app fails

Fixed

  • Properly skip virtual environment and .git directories during publish

v0.29.7 - 26/04/2023

Changed

  • Removed sentry error tracking when directory cannot be created or app files cannot be copied in create-app command

v0.29.6 - 13/04/2023

Changed

  • Select the currently active account by default instead of the default account when running configure without --name flag

Fixed

  • Exclude false positive curl error from system check

v0.29.5 - 12/04/2023

Fixed

  • Demo app crashes due to removed UserException in SDK v14

v0.29.4 - 12/04/2023

Changed

  • Get latest SDK from PyPI instead of system

Removed

  • Removed U83 flag from app templates

v0.29.3 - 17/03/2023

Fixed

  • Fixed numpy in demo app not compatible with Python 3.7

v0.29.2 - 17/03/2023

Changed

  • Raise error when defining viktor in requirements.txt with a leading hashtag in combination with SDK > v13

Deprecated

  • Python 3.7

v0.29.1 - 02/03/2023

Changed

  • Cleaned up sentry error tracking and included curl exit status in sentry error tracking

v0.29.0 - 24/02/2023

Added

  • Added support for viktor in requirements.txt without a leading hashtag
  • Support Python 3.11 in viktor.config.toml

Changed

  • Upgrade to go 1.20
  • Added available options for app-type in create-app command help

Deprecated

  • Defining viktor in requirements.txt with a leading hashtag

Fixed

  • Fix bug that autoreload didn't work if app folder name starts with "test"
  • Reverted pip install arguments back to a slice of strings as a single string doesn't work on Windows

v0.28.0 - 08/02/2023

Changed

  • Updated install command to be able to insert additional environment variables
  • Added "SDK version" to output of apps command
  • Added "App type", "SDK version", and "Python version" to output of describe command

v0.27.6 - 03/02/2023

Changed

  • Added provided path to error message when python installation is not valid
  • Added --region flag for multi-region architecture

v0.27.5 - 02/02/2023

Changed

  • Added clearer error messages why a Python version is not valid and when the activation code is expired

v0.27.4 - 27/01/2023

Changed

  • Track exact error that python path prompt returns, added cli version to sentry message

v0.27.3 - 25/01/2023

Changed

  • Add message to get-started command that window shouldn't be closed

v0.27.2 - 23/01/2023

Fixed

  • Fixed bug in regex that didn't handle spaces in Python paths correctly

v0.27.1 - 20/01/2023

Added

  • Implemented Sentry to track errors in the get-started flow

v0.27.0 - 17/01/2023

Changed

  • change configuration name generation to support multiregion
  • Place activation code for get-started on newline
  • Update warning for python version on how development version can be changed
  • Watch entire project folder, instead of just app.py or /app/ folder

Fixed

  • Support Python launcher 3.11 regex format when gathering available python installations