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)