github starship/starship v0.49.0

v0.49.0 (2021-01-29)

Bug Fixes

  • Adjust default format strings (#2165)
  • Applied clippy warnings (#2153)
  • bash: Fix broken bash init script (#2100)
  • bash: bash-preexec detection and implementation (#2091)
  • cmake: Fix spacing with missing variable (#2135)
  • docker_context: enable if either yml or yaml is found (#2053)
  • install: improve supported target detection (#2121)
  • install: Detect cygwin_nt as Windows (#1989)
  • pwsh: disable builtin venv prompt (#2090)

Build

  • Add additional build information to version and bug report (#2124)
  • add builds for various targets (#2137)
  • add aarch64 windows build (#2213)
  • deps: bump log from 0.4.13 to 0.4.14
  • deps: bump sys-info from 0.7.0 to 0.8.0
  • deps: bump serde from 1.0.120 to 1.0.122
  • deps: bump process_control from 3.0.0 to 3.0.1
  • deps: bump git2 from 0.13.16 to 0.13.17
  • deps: bump serde from 1.0.122 to 1.0.123
  • deps: bump rust-ini from 0.16.0 to 0.16.1
  • deps: bump git2 from 0.13.15 to 0.13.16
  • deps: bump rand from 0.8.2 to 0.8.3
  • deps: bump serde from 1.0.119 to 1.0.120
  • deps: bump path-slash from 0.1.3 to 0.1.4
  • deps: bump rand from 0.8.1 to 0.8.2
  • deps: bump tempfile from 3.1.0 to 3.2.0
  • deps: bump log from 0.4.11 to 0.4.13
  • deps: bump serde from 1.0.118 to 1.0.119
  • deps: bump rand from 0.8.0 to 0.8.1
  • deps: bump notify-rust from 4.0.0 to 4.1.0
  • deps: bump notify-rust from 4.1.1 to 4.2.2
  • deps: bump regex from 1.4.2 to 1.4.3
  • deps: bump attohttpc from 0.16.0 to 0.16.1
  • deps: bump notify-rust from 4.1.0 to 4.1.1
  • deps: bump yaml-rust from 0.4.4 to 0.4.5
  • deps-dev: bump vuepress from 1.7.1 to 1.8.0 in /docs (#2119)
  • deps-dev: bump @vuepress/plugin-google-analytics in /docs (#2120)

Chore

  • change default Crowdin commit message
  • release: v0.49.0

Code Refactoring

  • apply more clippy lints
  • simplify print::handle_module
  • simplify StringFormatter::new
  • git_status: simplify git status with once-cell (#2150)

Continuous Integration

  • ignore RUSTSEC-2020-0100 (#2179)
  • fix use-cross condition (#2122)
  • deploy: fix failing Linux GNU builds (#2054)
  • macos: install mercurial with brew (#2174)

Docs

  • Comment about spaces in nix-shell config (#2106)
  • update license to include 2021 (#2207)
  • update package default format to replace /via/is (#2067)
  • highlight powershell in vuepress (#2147)
  • fix custom containers to work with Crowdin
  • i18n: New Crowdin updates (#2108)
  • i18n: add Vietnamese doc translations
  • i18n: new Crowdin updates (#2068)
  • i18n: New Crowdin updates (#1941)
  • installation: add advanced installation (#1643)
  • status: fix the format string to match the default (#2211)
  • terraform: Make version perf issue obvious (#2107)

Features

  • Add support for cygwin/msys2/git-bash evironment (#2020)
  • command: add 'toggle' command (#1917)
  • directory: Add home directory symbol (#2198)
  • status: Convert known status code to their meaning (#1948)

Perf

  • purescript: Lazy eval purescript (#2191)

Performance Improvements

  • use built-in EPOCHREALTIME env-var to compute cmd_duration for ZSH5+ (#1751)
  • evaluate swift version lazily (#2159)
  • crystal: Lazily evaluate version command (#2129)
  • custom: evaluate command lazily (#2173)
  • dart: Lazy eval dart (#2166)
  • elixir: evaluate version lazily (#2172)
  • elm: Lazy eval elm (#2167)
  • init: Use random for session-key in fish (#1904)
  • java: Lazy eval java (#2168)
  • kotlin: Lazy eval kotlin (#2186)
  • lua: Lazy eval lua (#2185)
  • nodejs: evaluate nodejs format string lazily (#2160)
  • ocaml: evaluate version lazily; adjust format string; update test (#2188)
  • perl: Lazy eval perl (#2189)
  • php: Lazy eval php (#2190)
  • python: Lazy eval of python version command (#2158)
  • utils: Add timeout to utils::exec_cmd (#2171)
  • zig: Lazy eval zig (#2187)

Test

  • avoid setting $HOME (#2155)
  • enable logging in tests (#2151)
  • docker_context: Add basic tests to module (#2205)
latest releases: v0.58.0, v0.57.0, v0.56.0...
7 months ago