github starship/starship v0.48.0

v0.48.0 (2021-01-02)

Bug Fixes

  • apply nightly clippy & fmt suggestions (#1922)
  • bg:none overwrites foreground colour (#1903)
  • bash: Fix background jobs with z/autojump (#1897)
  • config: log as error if failure to read config wasn't caused by NotFound (#1993)
  • git_commit: show last created tag on current commit (#1919)
  • git_state: Handle gitdir indirection when rebasing (#1744)
  • swift: parsing swift version (#1913)
  • user: Fix username detection on Windows (#2014)

Build

  • deps: bump native-tls from 0.2.6 to 0.2.7
  • deps: bump git2 from 0.13.14 to 0.13.15
  • deps: bump serde_json from 1.0.60 to 1.0.61
  • deps: bump rand from 0.7.3 to 0.8.0 (#2016)
  • deps: bump git2 from 0.13.13 to 0.13.14
  • deps: bump toml from 0.5.7 to 0.5.8
  • deps: bump git2 from 0.13.12 to 0.13.13
  • deps: bump indexmap from 1.6.0 to 1.6.1
  • deps: [security] bump ini from 1.3.5 to 1.3.8 in /docs (#1997)
  • deps: bump serde from 1.0.117 to 1.0.118
  • deps: bump quick-xml from 0.19.0 to 0.20.0
  • deps: bump serde_json from 1.0.59 to 1.0.60
  • deps: bump nix from 0.19.0 to 0.19.1
  • deps: bump unicode-segmentation from 1.7.0 to 1.7.1
  • deps: bump unicode-segmentation from 1.6.0 to 1.7.0

Chore

  • release: v0.48.0

Code Refactoring

  • specify all dependencies up to the patch/x.y.z level (#2002)
  • a few low-hanging optimizations (#1992)

Continuous Integration

  • i686: build Linux 32-bit version of Starship (#1966)

Docs

  • Add note about Crowdin-managed files to CONTRIBUTING.md (#2013)
  • fix typo in config (#2008)
  • add 'autocomplete' keyword to FAQ
  • Correct dotnet module default format to match code (#1983)
  • update rust icon in preset configuration (#1900)
  • conda: Fix default format in Conda module's config doc (#1965)
  • i18n: add French and Spanish doc translations (#1942)
  • i18n: New Crowdin updates (#1788)
  • preset: add a Nerd Font icon for "read_only" directories (#1968)

Features

  • Move cmd_duration after custom module (#1681)
  • battery: make module behaviour more obvious (#1950)
  • git_branch: show remote name (#1972)
  • git_branch: add remote branch name if different than local branch (#1915)
  • git_branch: add 'only_attached' config bool (#1910)
  • init: prefix STATUS and PREEXECREADY shell vars with STARSHIP (#1710)
  • java: Show Java module for Clojure projects (#966)
  • kotlin: Add the kotlin module (#2026)
  • nodejs: check node engines version in package.json (#1847)
  • package: Meson package support (#2001)
  • python: Smarter python binary usage (#1947)
  • rust: Support new rust-toolchain format (#1938)
  • shlvl: Add repeat option (#1995)
  • username: Try harder to guess if inside ssh (#1964)
  • utils: Support non-exe commands on Windows (#2019)

Performance Improvements

  • memory_usage: replace sysinfo with sys-info (#1886)

Style

  • Latest clippy suggestions (#2048)
  • Add comments for bash preexec fix (#1952)
latest releases: v0.57.0, v0.56.0, v0.55.0...
8 months ago