Releases: tarantool/tt
v2.0.0
Overview
2.0.0 version includes changes in tt config format and the default layout of instance files: wal, snap, control socket, log, etc., bug-fixes and improvements in a number of tt commands.
Changed
- Print log messages to stderr.
- Global flags are required to be positioned only before child
commands. Example:tt --cfg tt.yaml install tt. - tt config format: separate tt environment options from application options.
- tt version: additional version information for non-release builds.
- Working directory is changed to an application source directory.
If the application is a script, new working directory will be created
in instances enabled location. - Re-worked application runtime artifacts layout:
appsection relative
paths are considered relative to working directory, which is an application
source directory. Application name sub-directory no longer used for relative
paths. Default names are changed for PID-files, control sockets and log files. - Enable logging to file by default for
tarantoolcluster instances.
Default log file name for an instance istarantool.log.tarantool's
stdout/stderr andttlogs go tott.logfile. - Remove URI with creds from console title and prompt.
- Ignore app-instance delimiters for Tarantool 3.0 instances.
- Don't use dash as an app-instance delimiter. At the same time,
cartridge_app-stateboard
treated as a special case. - Log rotation functionality and configuration is removed from
tt.
tt logrotatecommand re-opens a log file and sends SIGHUP to the child
tarantoolprocesses. tt cat: all diagnostic messages are printed to stderr.- Print
tarantoolstdout/stderr and watchdog logs to the same log file -tt.log.
Added
- tt completion: added luarocks completions.
- tarantool-ee: search and install development builds.
tt play: ability to pass username and password via flags and environment
variables.- tt cluster: credentials could be passed via environment variables and command
flags.
Fixed
tt rocks: broken--verboseoption.tt binaries: tarantool-ee binaries not shown.tt cluster: recognize app:instance as a etcd URL.
v1.3.1
Overview
This is primarily a security bug-fix release.
v1.3.0
Overview
1.3.0 version includes new tt cluster command, expanded formatting modes and install, connect, rocks, pack
commands improvements and bug-fixes.
Notable changes are:
- New
tt clustermodule to work with cluster and instance configuration with etcd support.
Seett help clusterfor the details. - Expanded formatting modes for the interactive console of the
tt connect.
Use\helpcommand in the console for further information. tt installnow supports installation from an arbitrary commit and PR.--tarantool-versionfortt packto build specific tarantool version in docker.
Changed
- Use CLI arg connect string for the prompt line and the title to avoid too long
prompt line when using 'app:instance' target format. tt rocks: luarocks version has been updated to 3.9.2.
Added
tt install tarantool/tt: ability to install tarantool and tt from an arbitrary commit.
The binary has the name tt/tarantool_ + seven-digit hash.- New
tt packflag--tarantool-versionis added to specify tarantool
version for pack in docker. It is supported only with--use-dockerenabled. - Module
tt cluster, to show or publish a cluster or an instance
configuration. tt connect: added command\helpto show the help with a list of available
commands.tt connect: added command\quitto quit from the console.tt connect: expanded formatting modes for the interactive console.tt rocks: addedadmincommands tree.
tt rocks adminimplementsluarocks-admincommands tree.
Fixed
- Installation failure from a commit hash.
- Crash on
tt install <tool> master. --with-binariesflag fortt packnot working while packing
with--cartridge-compat.tarantoolbinary afterpacknow always named"tarantool".
v1.2.0
Overview
1.2.0 version includes install, connect, pack commands improvements and bug-fixes.
Notable changes are:
tt connectnow supports multi-line commands.- New
installtarget -tarantool-devfor installation from local build directory. - Added
--cartridge-compatflag fortt packto enablecartridge-clibackward compatibility.
Changed
tt packnow skips all.gitfiles in packed environment, not only in main directory.tt connect: the reverse search function to work consistently with tarantool.
Added
tt install tarantool-dev: ability to install tarantool from the local build directory.tt uninstall: smart auto-completion. It shows installed versions of programs.tt uninstall: when removing symlinks and an existing installed version, the
symlink will be switched to the latest installed version, so thatttcan
continue working with the program.tt connect: support for multi-line commands in the history.- New
tt packflag--cartridge-compatis added to maintain backward compatibility
with the cartridge-cli. It is supported only bytgztype packing. tt pack: added option--without-modulesallowing not to take external
modules into the pack bundle.tt connect: added command\shortcutslisting all available
shortcuts and hotkeys in go-prompt.
Fixed
tt install tarantool: symlink to the directory with tarantool headers is now updated
when installing an existing version.tt connect: terminal failure after throwing an error.
v1.1.2
Changed
- Set
compat.fiber_slice_defaulttonewby default in cartridge application template. - Treat the directory containing the instances file (instances.y[a]ml) as an application.
Added
tt connect: support for the../and~/at the beginning of the URI, when using unix sockets.
Fixed
- Panic in tarantool 1.10.15 static build by
tt.
v1.1.1
Overview
This version includes shell completion enhancements and bug fixes.
Changed
tt buildnow hides building output if-Vis not provided.
Fixed
tt startnow does not start an instance if it is already running.tt rocksuses rocks repo path relative to tt environment config location.tt connectnow does not crash on\qinput.
Added
- smart auto-completion for
tt start,tt stop,tt restart,tt connect,tt build,
tt clean,tt logrotate,tt status. It shows suitable apps, in case of the pattern doesn't
contain delimiter:, and suitable instances otherwise. - support tt environment directories overriding using environment variables:
- TT_CLI_REPO_ROCKS environment variable value is used as rocks repository path if it is set and
there is no tt.repo.rocks in tt configuration file or tt.repo.rocks directory does not include
repository manifest file. - TT_CLI_TARANTOOL_PREFIX environment variable value is used for as tarantool installation prefix
directory for rocks commands if it is set and tarantool executable is found in PATH.
- TT_CLI_REPO_ROCKS environment variable value is used as rocks repository path if it is set and
- smart auto-completion for
tt create. It shows a list of built-in templates and
templates from the config. tt connect: support for the timestamp format in the history file.
v1.1.0
Overview
This release includes improvements for install and search commands.
Changed
tt install tarantoolwithout version specification now installs the latest release.tt install/search tarantool-eenow uses credentials fromtarantool.iocustomer zone.
Also, installation now requires specifying the version.tt search tarantool-eeoptions changed. A new--versionflag has been added to allow
search for a specific release. The--devand--dbgoptions have been merged into a
single--debugoption.
Added
--dynamicoption fortt install tarantoolcommand to build non-static tarantool executable.
Fixed
tt connectcommand does not break a console after executingos.exit()command anymore.
v1.0.2
Overview
This release contains semantic changes to the install / uninstall commands and fixes for some issues found in v1.0.1.
Fixed
tt cartridgecommand takes into account run dir path from thettenvironment. So most
of thett cartridgesub-commands are able to work without specifying--run-diroption.tt installcommand checks it's write rights to binary and include directories before
installing binaries.
Changed
tt install/uninstallcommand line interface is updated. Program names have become
sub-commands with their own options.
v1.0.1
Overview
This version contains pack, uninstall commands improvements, and fixes for some issues found in v1.0.0.
Added
- A configurable variable
cluster_cookiefortt create cartridgetemplate. tt buildaccepts application name for building.- Creating wal, vinyl and memtx directories for
tt pack. If these directories
are not located in the same directory in the environment for packing, the result package
will contain separate snap/vinyl/wal directories for corresponding artifacts.
Fixed
- Packing symlinks into RPM package.
Changed
tt uninstalldoes not ask version if only one version of a program is installed.tt rocks initis disabled.
v1.0.0
Overview
This is the first major release of TT, a new utility for managing tarantool instances and environments. Essentially, tt is a continuation of the development of the two existing cli (tarantoolctl and cartridge cli) with backward compatibility used for developing, deploying and running applications on tarantool.
Added
- Follow-up message support for application templates.
- tarantool_layout config option to enable compatibility mode with tarantoolctl artifacts layout.
If this option is set totrue,ttwill not create sub-directories for runtime artifacts such
as control socket, pid file and log file. This option affects only single instance applications. - An ability to set different directories for WAL, vinyl and snapshots artifacts.
tt instancescommand to print a list of enabled applications.- SSL options for
tt connectcommand. - An ability to pass arguments to a connect command.
tt binariescommand. It shows a list of installed binaries and their versions.
Changed
- tt config is renamed to tt.yaml.
- Do not use
makecommand options fortarantoolbuild ifMAKEFLAGS
environment variable
is set.
Fixed
- Output of the
helpwith all commands. - Allow more characters for URI credentials.