Skip to content

Releases: tarantool/tt

v2.2.1

04 Apr 12:50
Compare
Choose a tag to compare

Overview

Replicaset management enhancements.

Added

  • tt replicaset promote: command to promote an instance in the tarantool replicaset with
    cluster config (3.0) or cartridge orchestrator.
  • tt replicaset demote: command to demote an instance in the tarantool replicaset with
    cluster config (3.0) orchestrator.
  • tt cluster replicaset: module to manage replicaset via 3.0 cluster config storage.
    • tt cluster replicaset promote: command to promote an instance in the replicaset.
    • tt cluster replicaset demote: command to demote an instance in the replicaset.
  • tt connect --binary: connect to instance using binary port.
  • tt kill: command to stop instance(s) with SIGQUIT and SIGKILL signals.

Changed

  • tt start now creates binary port.

v2.2.0

11 Mar 13:14
Compare
Choose a tag to compare

Overview

Bug-fixes and tt pack systemd improvements.

Changed

  • tt pack generates a separate systemd unit for each packed application.
    Common (all instances) unit is removed.
  • tt pack default data, run, log files location is changed for rpm/deb
    packages to /var/[log | run | lib]/tarantool/<env_name>
  • create /var/[log | run | lib]/tarantool/<env_name> on target system
    for packed applications.

Fixed

  • tt start: not working on FreeBSD.
  • tt pack and tt build fail in verbose mode with "invalid argument"
    error.
  • tt pack packs applications, which are not valid: instances file is
    empty, for example.
  • tt pack with --use-docker fails due to incompatible versions of tt
    between local system and docker container. Install current tt version
    in docker image if possible.
  • tt binaries list invalid argument error if tarantool is not a symlink.
  • if a user provides pre or post install script to tt pack rpm, it
    uses file name as a script instead of its content.

v2.1.2

02 Feb 15:54
Compare
Choose a tag to compare

Overview

Linux-aarch64, FreeBSD build support, new command for tarantool SDK download (tt download), application template for Tarantool 3.0 vshard cluster (vshard_cluster).

Added

  • Built-in vshard cluster application template.
  • Building tt in Linux-aarch64, FreeBSD environments.
  • tt binaries switch: switch to installed binary.
  • tt download: download Tarantool SDK.

Changed

  • tt replicaset: prefer cartridge instances without critical issues on it during discovery.
  • tt binaries renamed to tt binaries list

Fixed

  • tt rocks: not working on macOs.
  • tt install tarantool fails due to checkout error.
  • tt binaries list: not showing active tag for master version.
  • missing 3.0 SDK in search results for tarantool-ee.

v2.1.1

15 Jan 16:59
Compare
Choose a tag to compare

Overview

Bug-fixes and minor improvements.

Added

  • Module tt replicaset, to manage replicasets:
    • tt replicaset status to show a cluster status information.

Changed

  • Disable tt run tarantool flag parsing.

Fixed

  • tt start: not working global tt flags.

v2.1.0

15 Dec 13:49
Compare
Choose a tag to compare

Overview

New tt env command, major improvements in tt cluster command.

Changed

  • Make cartridge app dependencies less strict.
  • tt connect auto-completion shows directories and files when there are no
    running apps.
  • tt rocks --server now accepts several URL's.

Added

  • tt env: add current environment binaries location to the PATH variable.
  • tt cluster: add an ability to specify a key for show/publish via URI.
  • tt cluster: add an ability to publish/show configuration from tarantool
    config storage.

v2.0.0

13 Nov 17:13
Compare
Choose a tag to compare

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: app section 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 tarantool cluster instances.
    Default log file name for an instance is tarantool.log. tarantool's
    stdout/stderr and tt logs go to tt.log file.
  • 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 logrotate command re-opens a log file and sends SIGHUP to the child
    tarantool processes.
  • tt cat: all diagnostic messages are printed to stderr.
  • Print tarantool stdout/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 --verbose option.
  • tt binaries: tarantool-ee binaries not shown.
  • tt cluster: recognize app:instance as a etcd URL.

v1.3.1

23 Oct 15:47
Compare
Choose a tag to compare

Overview

This is primarily a security bug-fix release.

v1.3.0

29 Sep 10:16
Compare
Choose a tag to compare

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 cluster module to work with cluster and instance configuration with etcd support.
    See tt help cluster for the details.
  • Expanded formatting modes for the interactive console of the tt connect.
    Use \help command in the console for further information.
  • tt install now supports installation from an arbitrary commit and PR.
  • --tarantool-version for tt pack to 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 pack flag --tarantool-version is added to specify tarantool
    version for pack in docker. It is supported only with --use-docker enabled.
  • Module tt cluster, to show or publish a cluster or an instance
    configuration.
  • tt connect: added command \help to show the help with a list of available
    commands.
  • tt connect: added command \quit to quit from the console.
  • tt connect: expanded formatting modes for the interactive console.
  • tt rocks: added admin commands tree.
    tt rocks admin implements luarocks-admin commands tree.

Fixed

  • Installation failure from a commit hash.
  • Crash on tt install <tool> master.
  • --with-binaries flag for tt pack not working while packing
    with --cartridge-compat.
  • tarantool binary after pack now always named "tarantool".

v1.2.0

18 Aug 13:07
Compare
Choose a tag to compare

Overview

1.2.0 version includes install, connect, pack commands improvements and bug-fixes.

Notable changes are:

  • tt connect now supports multi-line commands.
  • New install target - tarantool-dev for installation from local build directory.
  • Added --cartridge-compat flag for tt pack to enable cartridge-cli backward compatibility.

Changed

  • tt pack now skips all .git files 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 that tt can
    continue working with the program.
  • tt connect: support for multi-line commands in the history.
  • New tt pack flag --cartridge-compat is added to maintain backward compatibility
    with the cartridge-cli. It is supported only by tgz type packing.
  • tt pack: added option --without-modules allowing not to take external
    modules into the pack bundle.
  • tt connect: added command \shortcuts listing 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

16 Jun 17:24
Compare
Choose a tag to compare

Changed

  • Set compat.fiber_slice_default to new by 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.