Releases: starship/starship
Releases · starship/starship
v0.51.0
v0.51.0 (2021-03-23)
Bug Fixes
- correct fish syntax error when setting variables (#2320)
- Add a fallback prompt under TERM=dumb (#1594)
- update vulnerable generic-array package (#2412)
- bash: escape interpretable characters (#2404)
- cmake: Change cmake symbol to unicode triangle (#2456)
- directory: contract git repo with display path (#2304)
- directory: Handle non-UTF-8 folder names (#2303)
- docs: "Command Duration" section link target (#2416)
- init: Quote path for elvish init (#2294)
- init: make log messages on pwsh visible again (#2295)
- java: use consistent separators for java path (#2455)
- nodejs: Change symbol to nerd-font (#1649)
- package: fix meson version extraction if 'meson_version' is present (#2397)
- python: Handle PyPy python version correctly (#2374)
- tcsh: remove quotes and escape backticks (#2429)
- utils: Sefely unwrap the command output (#2305)
- zsh: Set PROMPT just once (#2428)
Build
- add more architectures to Snap package (#2382)
- fix aarch64-apple-darwin builds (#2300)
- deps: bump attohttpc from 0.16.1 to 0.16.3
- deps: bump regex from 1.4.3 to 1.4.4
- deps: bump open from 1.5.1 to 1.6.0
- deps: bump byte-unit from 4.0.9 to 4.0.10
- deps: bump serde from 1.0.123 to 1.0.124
- deps: bump indexmap from 1.6.1 to 1.6.2
- deps: bump open from 1.5.0 to 1.5.1
- deps: bump once_cell from 1.7.0 to 1.7.2
- deps: bump open from 1.4.0 to 1.5.0
- deps: bump serde_json from 1.0.63 to 1.0.64
- deps: bump notify-rust from 4.2.2 to 4.3.0
- deps: bump serde_json from 1.0.62 to 1.0.63
- deps: bump once_cell from 1.6.0 to 1.7.0
- deps: bump quick-xml from 0.21.0 to 0.22.0
- deps: bump once_cell from 1.5.2 to 1.6.0
- deps: bump serde_json from 1.0.61 to 1.0.62
- deps: bump regex from 1.4.4 to 1.4.5
- deps: bump nix from 0.19.1 to 0.20.0
- deps: bump serde from 1.0.124 to 1.0.125
- deps: bump quick-xml from 0.20.0 to 0.21.0
- deps-dev: bump vuepress-theme-default-prefers-color-scheme from 1.1.2 to 2.0.0 in /docs (#1946)
- deps-dev: bump @vuepress/plugin-google-analytics in /docs (#2317)
- deps-dev: bump vuepress from 1.8.0 to 1.8.1 in /docs (#2318)
- deps-dev: bump @vuepress/plugin-google-analytics in /docs (#2367)
- deps-dev: bump vuepress from 1.8.1 to 1.8.2 in /docs (#2368)
Chore
- run cargo update (#2434)
- update Discord link to use vanity URL
- release: v0.51.0
Code Refactoring
- replace RootModuleConfig with Default (#2458)
- clippy: fix new lints (#2297)
- directory: Introduce
logical-path
argument which allows a shell to explicitly specify both a logical and physical filesystem path (#2104) - dotnet: ".NET" instead of "•NET" (#2471)
- log: change output colors to shades of blue for trace and debug to make them more visible (#2299)
Continuous Integration
- remove AUR deploy (#2411)
- fix changelog generation (#2267)
- docs: only publish site on release (#2322)
Docs
- Update README.md with instructions for termux (#2257)
- Add install for chocolatey (#2372)
- Clarify wording on add_newline option (#2308)
- Update Nix installation documentation (#2291)
- config: Clarify the changing starship config (#2339)
- faq: Add
starship explain
to FAQ (#2387) - i18n: New Crowdin updates (#2275)
- i18n: New Crowdin updates (#2362)
- i18n: New Crowdin updates (#2219)
- status: Remove status_ prefix from status module variables (#2260)
Features
- allow changing default command timeout (#2283)
- create shell module (#2329)
- add support for tcsh (#2288)
- aws: add support for getting profile from awsu (#2451)
- cmake: Configure when the module is shown (#2280)
- crystal: Configure when the module is shown (#2310)
- dart: Configure when the module is shown (#2312)
- docker_context: Configure when module is shown (#2315)
- dotnet: Configure when module is shown (#2327)
- elixir: Configure when module is shown (#2340)
- elm: Configure when the module is shown (#2341)
- erlang: Configure when the module is shown (#2346)
- golang: Configure when the module is shown (#2325)
- helm: Configure when the module is shown (#2352)
- install: make install script posix compliant (#2228)
- java: Configure when the module is shown (#2353)
- julia: Configure when the module is shown (#2358)
- kotlin: Configure when the module is shown (#2359)
- lua: Configure when the module is shown (#2326)
- nim: Configure when the module is shown (#2347)
- nodejs: Configure when the module is shown (#2348)
- ocaml: Configure when the module is shown (#2354)
- perl: Configure when the module is shown (#2355)
- php: Configure when the module is shown (#2356)
- purescript: Configure when the module is shown (#2357)
- python: Configure when the module is shown (#2264)
- ruby: Configure when the module is shown (#2351)
- rust: Configure when the module is shown (#2350)
- scala: Add scala module (#2409)
- swift: Configure when the module is shown (#2349)
- terraform: Configure when the module is shown (#2324)
- test: allow dynamic mocking of commands (#2307)
- vagrant: Configure when the module is shown (#2314)
- zig: Configure when the module is shown (#2311)
Performance Improvements
- init: Prefer set -x over export for fish users (#2292)
- username: get uid without external command (#2286)
Style
- aws: Add spacing between profile and region (#2417)
v0.50.0
v0.50.0 (2021-02-02)
Bug Fixes
- bash: Count jobs with for loop to fix MacOS count issue (#2250)
- install: use correct arch name in 32-bit test (#2234)
- windows: fix windows terminal ANSI escape sequences (#2258)
Build
- add x86_64 freebsd build (#2233)
- deps: bump shadow-rs from 0.5.23 to 0.5.24
Chore
- update issue template config to correctly use "Q&A" category
- update Crowdin PR title
- release: v0.50.0
Continuous Integration
- continue release on error (#2237)
Features
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
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 PREEXEC_READY 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
v0.47.0
v0.47.0 (2020-11-15)
Bug Fixes
- bug-report: verify exit code of open, always print url (#1839)
- gcloud: respect overides of the active gcloud config (#1846)
- install: Better platform detection (#1827)
- kubernetes: Parse stacked kubeconfigs (#1678)
- pwsh: fix crash on error in shell with old pwsh (#1861)
- pwsh: Switched pwsh profile to use dollar hook for a more accurate success/failure handling (#1745)
- pwsh: preserve original console encondings (#1810)
- windows: configure console to enable ANSI support (#1646)
- zsh: Ensure existing keymap change functions are not overriden (#1826)
Build
- deps: bump once_cell from 1.5.1 to 1.5.2
- deps: bump once_cell from 1.5.0 to 1.5.1
- deps: bump once_cell from 1.4.1 to 1.5.0
- deps: bump native-tls from 0.2.5 to 0.2.6
- deps: bump native-tls from 0.2.4 to 0.2.5
- deps: bump battery from 0.7.7 to 0.7.8
- deps: bump regex from 1.4.1 to 1.4.2
- deps: bump os_info from 3.0.0 to 3.0.1
- deps: bump dirs-next from 1.0.2 to 2.0.0
- deps: bump rayon from 1.4.1 to 1.5.0
- deps: bump battery from 0.7.6 to 0.7.7
- deps: bump quick-xml from 0.19.0 to 0.20.0
- deps-dev: bump @vuepress/plugin-google-analytics in /docs (#1808)
- deps-dev: bump vuepress from 1.6.0 to 1.7.1 in /docs (#1809)
- deps-dev: bump vuepress-theme-default-prefers-color-scheme (#1807)
Chore
- fix the double compiling of lib and bin (#1616)
- context: Use monotonic clock for timeout (#1802)
- release: v0.47.0
Continuous Integration
- Run against nightly version of rust (#1814)
Docs
- Alphabetic sorting of config subsections (#1877)
- cmd_duration: Document cmd_duration notifications (#1831)
- memory: Remove removed options from Memory example (#1800)
Features
- cmake: Add CMakeCache.txt detection to CMake module (#1795)
- git_commit: add git tag to module (#950)
- logger: don't create empty log files (#1836)
- lua: Add a Lua module (#1815)
- openstack: Add module for OpenStack (#1664)
- terraform: Add hcl extension support to Terraform module (#1875)
Performance Improvements
- init: use $RANDOM env-var instead of starship session to generate session-key (#1755)
v0.46.2
v0.46.2 (2020-10-14)
Bug Fixes
- replace emoji for cmake and erlang (#1787)
- apply clippy suggestions (#1756)
- build: add serde_derive to dependency list (#1762)
- directory: preserve substitution order (#1782)
- git_state: remove unwrap in
describe_rebase
(#1761)
Build
- deps: bump sysinfo from 0.15.2 to 0.15.3
- deps: bump dirs-next from 1.0.1 to 1.0.2
- deps: bump git2 from 0.13.11 to 0.13.12
- deps: bump nix from 0.18.0 to 0.19.0
- deps: bump serde_json from 1.0.58 to 1.0.59
- deps: bump toml from 0.5.6 to 0.5.7
- deps: bump regex from 1.3.9 to 1.4.1
- deps: bump attohttpc from 0.15.0 to 0.16.0
Chore
- log: Add context to logger failure messages (#1764)
- release: v0.46.2
- release: v0.46.1
Continuous Integration
- temporarily disable GH Actions cache
- temporarily disable nightly tests
Docs
- Update document for installing on windows (#1760)
- fix typo in CONTRIBUTING.md (#1772)
- Update defaults in config docs (#1759)
- fix wrong syntax in the format string and standardize doc tense (#1758)
- i18n: new Crowdin updates (#1719)
Performance Improvements
- git_status: Improved git_status module performance (#1777)
Test
- aws: Ignore tests that check .aws files (#1775)
v0.46.0
v0.46.0 (2020-10-08)
Bug Fixes
- Pass
--no-gpg-sign
togit commit
in tests (#1718) - bug-report: use correct path for ion config (#1726)
- python: Read venv prompt from pyvenv.cfg (#1747)
- readonly: change module to match docs (#1728)
- utils: reduce log level of errors in utils. (#1730)
Build
- deps: bump serde_json from 1.0.57 to 1.0.58
- deps: bump chrono from 0.4.18 to 0.4.19
Chore
- release: v0.46.0
Docs
- clarify missing info in 0.45.0 migration doc (#1714)
- FAQ: add FAQ about shell completions
- python: Update the python_binary option (#1731)
Features
- directory: strip Microsoft.PowerShell.Core\FileSystem:: prefix on windows (#1732)
- directory: add ellipsis to truncated paths (#1563)
Style
- install: Simple code style fix in install.sh (#1690)
Test
- git-state: tests failing when git init.defaultBranch set (#1692)
v0.45.2
v0.45.2 (2020-09-30)
Bug Fixes
- Fix compilation on iOS targets
Build
- deps: bump starship_module_config_derive from 0.1.0 to 0.1.2
Chore
- release: v0.45.2
- release: release starship_module_config_derive v0.1.2
Docs
v0.45.1
v0.45.0
v0.45.0 (2020-09-29)
💥 Breaking Changes
prompt_order
has been replaced by a root-levelformat
property- Module
prefix
andsuffix
properties have been replaced by aformat
property
👉 Migration guide: https://starship.rs/migrating-to-0.45.0/
Bug Fixes
- $EDITOR argument parsing (#1595)
- fix compilation with battery feature disabled (#1509)
- restore the
pyenv_prefix
option to python (#1668) - actually disable per default disabled modules (#1677)
- restore add_newline configuration (#1592)
- use suffixes for modules before directory (#1645)
- re-add add_newline to root config (#1598)
- fixed a typo: permission → permissions (#1459)
- bash: init breaks if PROMPT_COMMAND includes starship_precmd as an intermediate command (#1541)
- config: don't panic when hex color is too short (#1473)
- docs: Fix Explore The Starship link in guide (#1553)
- explain: align table correctly (#1482)
- git-state: Fix discrepancy between v0.44.0 and master (#1672)
- git_state: panic on interactive rebase (#1552)
- git_status: Fix file rename inconsistency compared to git (#1411)
- install: switch to install the musl binaries by default (#1590)
- nodejs: remove line break from version (#1464)
- ocaml: Stop new line being included in ocaml version (#1479)
-
pwsh: update init script to propagate
$LASTEXITCODE and $ ? - pwsh: stop paths from being interpreted as patterns (#1569)
- test: do NOT quote argument values for mocked invocations (#1527)
-
zsh: work when
setopt ksh_arrays
is set (#1612)
Build
- deps: bump sysinfo from 0.14.14 to 0.14.15
- deps: bump sysinfo from 0.14.10 to 0.14.13
- deps: bump log from 0.4.8 to 0.4.11
- deps: bump chrono from 0.4.15 to 0.4.18
- deps: bump quick-xml from 0.18.1 to 0.19.0
- deps: bump sysinfo from 0.15.1 to 0.15.2
- deps: bump git2 from 0.13.10 to 0.13.11
- deps: bump battery from 0.7.5 to 0.7.6
- deps: bump lodash from 4.17.15 to 4.17.19 in /docs (#1488)
- deps: bump rayon from 1.3.1 to 1.4.0
- deps: bump sysinfo from 0.14.13 to 0.14.14
- deps: bump git2 from 0.13.6 to 0.13.8
- deps: bump git2 from 0.13.8 to 0.13.10 (#1606)
- deps: bump once_cell from 1.4.0 to 1.4.1
- deps: bump chrono from 0.4.13 to 0.4.15
- deps: bump sysinfo from 0.15.0 to 0.15.1
- deps: bump clap from 2.33.2 to 2.33.3
- deps: bump sysinfo from 0.14.9 to 0.14.10
- deps: bump os_info from 2.0.7 to 2.0.8
- deps: [security] bump prismjs from 1.20.0 to 1.21.0 in /docs (#1566)
- deps: [security] bump elliptic from 6.5.2 to 6.5.3 in /docs (#1534)
- deps: bump byte-unit from 4.0.8 to 4.0.9
- deps: bump os_info from 2.0.6 to 2.0.7
- deps: bump serde_json from 1.0.56 to 1.0.57
- deps: bump nix from 0.17.0 to 0.18.0
- deps: bump sysinfo from 0.14.15 to 0.15.0
- deps-dev: bump vuepress from 1.5.2 to 1.5.3 in /docs (#1572)
- deps-dev: bump @vuepress/plugin-google-analytics in /docs (#1571)
- deps-dev: bump vuepress from 1.5.3 to 1.5.4 in /docs (#1614)
- deps-dev: bump vuepress-theme-default-prefers-color-scheme (#1494)
- deps-dev: bump @vuepress/plugin-google-analytics in /docs (#1613)
- deps-dev: bump @vuepress/plugin-google-analytics in /docs (#1684)
- deps-dev: bump vuepress from 1.5.4 to 1.6.0 in /docs (#1686)
- deps-dev: bump vuepress-theme-default-prefers-color-scheme (#1685)
Chore
- update v0.45.0 removal notice (#1687)
- remove unused name from Segment and remove some of the misleading underscores (#1584)
- add sublime configuration to .gitignore (#1495)
- release: v0.45.0
Code Refactoring
- java: parse version using regex (#1496)
Continuous Integration
- Run clippy on all OSs (#1547)
- Fix failing CI builds (#1532)
- Auto publish for the AUR (#1360)
- revert back to actions-rs (#1457)
- rewrite project GH Actions (#1450)
- python: Use the default version of python in CI (#1449)
Doc
- small doc fixups
Docs
- Update example config to remove old var (#1546)
- add a migration guide for the format string changes (#1624)
- update clippy command in the CONTRIBUTING.md (#1665)
- Improvements in docs for custom modules (#1615)
- Drop inexistent "number" variable from hostname section (#1586)
- Add perl official logo in NerdFont (#1558)
- fix code block overflow on mobile (#1492)
- add uninstallation instructions to FAQ (#1474)
- update font in FAQ from Fira Code → FiraCode Nerd Font
- replace powerline requirement with nerd font requirement
- git_status: Update git_status module docs (#1667)
- i18n: New Crowdin translations (#1366)
Features
- Add gcloud module (#1493)
- add error messaging (#1576)
- Add timings subcommand (#1629)
- Add Undistract Me Feature (#1019)
- refactor modules to use format strings (#1374)
- cmake: Add CMake module (#1456)
- conda: add ignore_base option (#1539)
- dart: add Dart module (#1392)
- directory: Show lock symbol if current directory is read only (#1298)
- helm: Add Helm module (#1463)
- package: Add support for Helm charts (#1525)
- package: Add Maven pom.xml version support (#1511)
- perl: Added perl version module (#1382)
- shlvl: Add shlvl module (#1385)
- status: add the status module (#1651)
- swift: add Swift module (#1261)
Performance Improvements
- only check timeout every 256 files (#1499)
Style
- make rustfmt use the default configuration (#1661)