mirror of
https://github.com/starship/starship.git
synced 2024-11-28 03:04:43 +01:00
47ccc3603d
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
53 KiB
53 KiB
Changelog
1.21.1 (2024-10-18)
Reverts
1.21.0 (2024-10-17)
Features
- deno: add
deno.lock
file to defaultdetect_files
list (#6310) (22c6c52) - hostname: add option to replace hostnames with aliases (#6097) (68a8fc9)
- mojo: add module for Mojo language (#6108) (171746a)
- package: support alternative gradle module version syntax (#6079) (a62012e)
- python: Add detect env vars option (#4486) (8a2d944)
- python: detect pixi and ipynb files (#6228) (36134d8)
- release: codesign windows release binaries (#6273) (fcc697b)
Bug Fixes
- bash: fix variable leak in Bash integration (#6143) (e1189ed)
- cmd_duration: Make render_time format more consistent (#5825) (4abea6b)
- docker_context: Ignore Docker Desktop "desktop-linux" context. (#6314) (14babde)
- docs: correct username options (#6084) (d96fbc5)
- fish: add missing arguments for fish transient prompt functions (#6181) (d6814be), closes #6180
- fish: improve fish transient prompt (#6107) (274dff3)
- fish: use correct input function in transient execute (#6265) (244c2c6)
- Fixed "Click to download TOML" links (#6234) (0200d75)
- git_status: read proper name for core.fsmonitor flag (#6173) (33b3b8e)
- package: support alternative gradle module version syntax (#6080) (a62012e)
- python: improve parsing of
pyvenv.cfg
files (#6145) (7b65ad5) - use
whoami
for user/hostname queries again (#6311) (77f0883)
Performance Improvements
- fish: Skip unnecessary indirection in starship init fish (#6253) (798f640)
- Skip unnecessary indirection in starship init fish (798f640)
1.20.1 (2024-07-26)
Bug Fixes
1.20.0 (2024-07-26)
Features
- color: add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively (#6017) (9a3e87f)
- color: add prevfg,prevbg as color specifiers based on the previous foreground/background colors respectively (9a3e87f)
- gcloud: Disabled gcloud module when active config hasn't been set (#6039) (4d36d46)
- purescript: add support for spago-next configuration files (#6036) (e028186)
Bug Fixes
- direnv: replace nonexistent "orange" color with "bright-yellow" (#5969) (478d5cc)
- dotnet: Remove duplicate v in dotnet version (#6060) (52a89a5)
- improve non-msvc windows support by bumping stable dependencies (#5989) (50a6b84)
- k8s: don't trigger if scan config is set but env vars are not (#5979) (8c75822)
- preset: fix typo in Open Policy Agent module format string (#6118) (eba9748)
Performance Improvements
1.19.0 (2024-05-15)
Features
- container: show name if available (#5195) (3e3f18e)
- gleam: Add Gleam module (#5886) (34a8f7e)
- k8s: Add detect env vars option (#4488) (e3b5dff)
- nats: Add NATS Context (#5900) (5facd85)
- odin: Add Odin Lang module (#5873) (335c514)
- username: add aliases option (#5855) (9c1eadd)
Bug Fixes
- bash: fix handling of the preserved DEBUG trap (used in Bash <= 4.3) (#5908) (fe1a8df)
- bash: use
eval
instead of a procsub for the POSIX mode (#5020) (0f859e8) - bash: use eval instead of a procsub for the POSIX mode (0f859e8)
- bun: change default icon (#5880) (be4e97c)
- scala: use scala-cli first to avoid timeout (2221a88)
- xonsh: remove
| cat
workaround from xonsh init (#5113) (de5b7f0)
Performance Improvements
1.18.2 (2024-03-29)
Bug Fixes
Reverts
1.18.1 (2024-03-24)
Bug Fixes
- deps: update rust crate os_info to 3.8.2 (#5870) (d421f63)
- replace all remaining paths referring to vuepress (#5859) (d5861f9)
1.18.0 (2024-03-21)
Features
- $gemset variable for Ruby module (#5429) (938ea3c)
- bash: Support right prompt and transience (#4902) (5ead13d)
- bash: use PS0 for preexec hook (#5735) (ae711c0)
- direnv: use JSON status with direnv >= 2.33.0 (#5692) (482c7b7)
- docs: move to vitepress (#5785) (7485c90)
- install: Add version option to install script (f66bfd9)
- install: Add version option to install script (#5728) (f66bfd9)
- os: add new os symbols (#5849) (df65b21)
- quarto: Add Quarto module (#5820) (0e49f04)
- release: add winget arm64 push & repo sync (#5033) (aef1a3f)
- username: add detect_env_vars as option (#5833) (b8a812b)
Bug Fixes
- bash: Handle Unbound Variables Errors in Bash (#4972) (7093d5c)
- bash: improve integration with bash-preexec (#5734) (2aa711c)
- character: also handle vi edit mode in pwsh (#5775) (0891ec2)
- direnv: update to work with direnv v2.33 (#5657) (cec111a)
- git_branch: fall back to "HEAD" when there is no current branch (#5768) (6a96e84)
- nu: continuation prompt not being displayed correctly (#5851) (d308e91)
- status: fix pipestatus width calculation (#5036) (ab84043), closes #3162
- zsh: improve starship binary path escaping (#5574) (2bb57cf)
1.17.1 (2024-01-02)
Bug Fixes
Reverts
1.17.0 (2023-12-28)
Features
- add additional exit status code meanings from libc (#5412) (81c7d0c)
- add typst module (7b21705)
- aws: Adding the AWS SSO CLI env variable to profile list (#5640) (6d96df3)
- direnv: add new direnv module (#5157) (e47bfba)
- fossil_metrics: add fossil_metrics module (#4874) (e867cda)
- hostname: add detect_env_vars as option (#5196) (43b2d42)
- kubernetes: Add styling based on current context (#4550) (6b444e0)
- R lang packages version, remove .Rprofile from rlang detection (#5588) (5267c46)
- scanner: add option not to follow symlinks (#5325) (7b851fc)
- shell: allow distinguishing between pwsh and powershell (#5478) (d7a34b4)
Bug Fixes
- bash: unbound variable error with STARSHIP_PREEXEC_READY (#5438) (8168c21)
- docker_context: ignore unix domain socket path from Docker Context (#5616) (a910e09), closes #5548
- git_status: Avoid printing error on missing stash ref (#5434) (00d3dc8)
- git: prevent
core.fsmonitor
from executing external commands (#3981) (03278e4) - install: do not use curl installed through snap (#5442) (0e73817)
- pastel-powerline: remove
$path
from docker-context module format string (#5534) (6abc83d)
Performance Improvements
- git_status: avoid running in bare repos (#5581) (ac4a839)
- Skip unnecessary indirection in starship init zsh (#5322) (5ca8daa)
1.16.0 (2023-07-30)
Features
- pwsh: Support vi command mode indicator (#5049) (3180509)
- shlvl: add repeat_offset for repeated symbol (#5289) (3402f0e)
- update the nushell init file and make it valid module and overlay (#5188) (470aeb0)
Bug Fixes
- bash: Clear out completed jobs before counting NUM_JOBS (#5253) (0a05b5c)
- rprompt: remove lprompt modules from
$all
again (#5067) (b9a4b08)
Performance Improvements
1.15.0 (2023-06-06)
Features
- Add Solidity Module (#5047) (b2ebd5b)
- add typechange to git_status module (#4829) (edb96ca)
- aws: support aws sso with automatic authentication refresh (#5170) (297176b)
- azure: subscription name aliases (#4949) (27ffa37)
- gcloud: add
detect_env_vars
option (#5166) (d07a8e3) - git_metrics: add option to ignore submodules (#5052) (ce01423)
- golang: adding
mod_version
variable (#5177) (351bf9d) - nodejs: Add
expected_version
variable (#5081) (70d2014)
Bug Fixes
- bump libz-ng-sys (#5218) (6ab8f40)
- config: Make print-config not panic without a config (#5001) (ce7f984)
- ensure nested style variables are processed during formatting (e5cec9e)
- presets: Added ($style) to format in module 'sudo' in Bracketed Segments Preset (#5146) (1bd6db5)
- snap: Update snapcraft.yaml to add personal-files interface (#5131) (b3ccc0f)
- style: ensure nested style variables are processed during formatting (#5120) (e5cec9e)
- update of presets and default configuration to reflect changes in Nerd Fonts 3.0 (#5162) (2558c45)
1.14.2 (2023-04-12)
Bug Fixes
1.14.1 (2023-04-11)
Bug Fixes
- bootstrap manifest for release-please (#5087) (e392d14)
- trigger release (8bdb953)
- update the release-please manifest (cd501ec)
1.14.0 (2023-04-10)
Features
- aws: add support for source_profile (#3834) (d2801ac)
- aws: add support for source_profile (#4859) (d2801ac)
- aws: Adds support for AWS_CREDENTIAL_EXPIRATION environment variable (#5002) (74ce7fd)
- custom: add option to check if pwd is in a repo (#4822) (d29ce7c)
- fossil: detection of Fossil check-outs in subdirectories (#4910) (4bca74e)
- release: handle chocolatey starship.portable and starship.install pkg publishing (#4723) (b55774d)
Bug Fixes
- fossil_branch: fossil checkout database file name on windows (#4978) (c07a21d)
- fossil_branch: use proper fossil checkout database file name on windows (c07a21d)
- gradle: add support for unstable Gradle versions (#5021) (f7fe41f)
- init: avoid cygpath for starship binary path (#4970) (0ad0465)
- java: wrong version number when using Android Studio JDK (#4966) (de7e948)
- preset: add output-flag to avoid encoding issues (#4926) (5e78226)
- pulumi: Fix formatting on pulumi module when using version (#5038) (aef799b)
1.13.1 (2023-02-26)
Bug Fixes
- trigger release (ff82fb9)
1.13.0 (2023-02-24)
Features
- add pijul_channel module (#4765) (67b6376)
- config: Adds support for --profile <custom profile name> (#3467) (10433e3)
- env_var: Add support for env_var.VAR in format (#4497) (5d4cb6f)
- fennel: add fennel module (#4717) (e93dbf8)
- fossil_branch: add fossil_branch module (#4806) (41eb98b)
- gradle: add gradle module (#4423) (220844d)
- hg_branch: Add support for mercurial topics and find hg root dir (#4771) (8d2256a)
- java: Add
.sdkmanrc
for Java (#4888) (07c2298) - logger: delete old logs & avoid more dup logs (#4348) (e47ea57)
- nix: support new
nix shell
command (#4724) (19fdf9b)
Bug Fixes
- 'to to' -> 'to' (8c2135f)
- container: reduce docker, podman and systemd confusion (#4832) (85d683d)
- fish: enable transient prompt when in vi mode (#4826) (9ac924e)
- git_commit: fix potential test failure (#4734) (27d167b)
- Improve regex for extracting gradle package version from gradle.properties (#4759) (9093891)
- let-env warning when using nushell (#4893) (e6c5571)
- nodejs: apply
style
even if node version is unavailable (#4713) (e88484d) - package: Improve regex for extracting gradle version from gradle.properties (#4760) (9093891)
- Remove vulnerable time-0.1.x chrono dependency (#4750) (255f91c)
1.12.0 (2022-12-13)
Features
- add Haxe support (#4395) (2766c78)
- Add operating system module (#4109) (3109943)
- aws: add a fallback for
expiration
key (#4455) (5a2c85d) - azure: add username to azure module config (#4323) (6e15c00)
- bug-report: ask for confirmation before opening issue (#4543) (8bb9038)
- directory: add before_repo_root_style (#4595) (ea6249b)
- git_commit: support showing lightweight tags (#4632) (ac37792)
- guix_shell: Initial implementation (#4397) (d4bcc51)
- init: Use which-rs to resolve starship path (cc2c8c4)
- localip: use reserved remote address (#4648) (ddd54e9), closes #4614
- nu: enable right prompt (#4490) (a7abc0f), closes #3982
- Open Policy Agent module (#1740) (#4441) (865e68d)
- package: added showing gradle version based on the gradle.properties file (#4432) (14ee81b)
- preset: Add No Empty Icons preset (#4518) (1a3d51f)
- preset: Add no-nerd-font preset (#4517) (4d86a4c)
- release: add chocolatey publishing (#4637) (df37e8d)
Bug Fixes
- aws: enable when using .aws/credentials (#4604) (c8ac877)
- buf: broken icon on windows 10 (#4689) (7341607)
- ci: cache after selecting the toolchain (#4619) (e4dbff0)
- config: unrecognized config properties don't cause config error (#4547) (1b03ef2)
- container: avoid detecting WSL as a systemd-container (#4593) (b47a4fe)
- don't attempt to display cmd_duration notification if in TTY (#4535) (0427863)
- git: check
tag_disabled
option (#4527) (fd165b9) - java: Improved regex for Java version (starship#4610) (#4616) (a9eb65e)
- nu: remove -c parameter from
term size
(#4477) (4999530) - pwsh: fix error log display on older versions of pwsh (#4650) (ef83e7a)
- status: replace multiply with cross mark emoji (#4461) (186d99e)
1.11.0 (2022-10-14)
Features
- add user-defined color palette (#4209) (d93074d)
- fish: Enable left and right transience (#4204) (06281c2)
- module: Add a meson devenv indicator (#4389) (355800f)
- schema: deny unknown keys (#4270) (b5d3d8f)
- status: Support formatting of pipestatus separator (#4264) (6e35dfa)
Bug Fixes
- buf: fix spacing & harmonize docs with actual configuration (#4450) (3d45236)
- directory: don't strip duplicate directory names twice (#4295) (801fbab)
- pwsh: avoid potential deadlock in init (#4335) (fd55397)
Performance Improvements
1.10.3 (2022-09-07)
Performance Improvements
1.10.2 (2022-08-18)
Bug Fixes
1.10.1 (2022-08-15)
Bug Fixes
1.10.0 (2022-08-14)
Features
- add bun module (#4187) (85692d1)
- Add starship preset command (#4112) (c8a5adb)
- Add support for blink, hidden, and strikethrough styles. (#4138) (aaab920)
- Add the ability to have some file extensions prevent a module from triggering (#4043) (dd73447)
- Enable transience for Cmd and PowerShell (#4143) (6e9c013)
- git: replace
git2
withgit-repository
(#3883) (ac55a01) - k8s: Add folder detection to the k8s module. (#4157) (5c5969c)
- package: support cargo workspace versions (#4161) (0a1235e)
- status: Add pipestatus_segment_format option to status module (#4103) (6143848)
Bug Fixes
- aws: support official
AWS_SHARED_CREDENTIALS_FILE
variable (#4242) (1390036) - timings: count time spent on custom on 'when' command failure (#4121) (aae1ed0)
Performance Improvements
- pulumi: allow disabling upwards discovery (#4159) (af15de9)
- rust: avoid calling
rustup
in more conditions (#4174) (d8ac940)
Miscellaneous Chores
- master: release 1.10.0 (b974610)
1.9.1 (2022-06-27)
Bug Fixes
- regenerate changelog (8a6be8c)
Miscellaneous Chores
- master: release 1.9.1 (6cbc362)
1.9.0 (2022-06-26)
Features
Bug Fixes
- character: Standadise Vim config names (#4081) (6761938)
- install: Have fixed a spacing issue in output (#4082) (2ffe173)
1.8.0 (2022-06-16)
Features
- Add support for Daml (#4004) (3fe6cc0)
- kubernetes: add user alias (#4008) (df5c2d8)
- release: add windows msi installers (#4031) (89fd532)
Bug Fixes
- escape text segments in meta variables (#3563) (7d31bac)
- fish: add proper vi mode detection for fish shell (#3839) (1469763)
- install: ignore tarfile ownership values when installing as root (#4046) (1a91510)
- nu: don't use
cygpath
for starship binary path in init (#4001) (9b52475) - some typos (e7c1976)
1.7.1 (2022-05-24)
Bug Fixes
- trigger release (2cdf902)
1.7.0 (2022-05-24)
Features
- go: check for go.work file to show Go module in prompt (#3968) (9ebfce1)
- hostname: add
ssh_symbol
for ssh connections (#3806) (2bf30dc) - package: Extract package version from PEP 621 compliant pyproject.toml (#3950) (1b938fd)
- rust: Display toolchain names (#3414) (393d62c)
Bug Fixes
- ci: Version bump and fix Crowdin Pretranslate (#3992) (a0a6c94)
- Do not panic in config if editor not found (#3766) (2e80aec)
- module: list option not working (#3919) (6fe6735)
- nu: use the most recent starship init (#3908) (382445d)
- Use git2::Repository::open_ext() instead of discover() (#3591) (81a696a)
1.6.3 (2022-04-26)
Bug Fixes
- git_branch: correct variable name for remote branch (#3897) (bd7957f)
- schema: move config-schema into docs folder (#3878) (094f982)
Performance Improvements
Reverts
1.6.2 (2022-04-15)
Bug Fixes
- trigger another release (81d2ce6)
1.6.1 (2022-04-15)
Bug Fixes
- fix release-please permissions (23be606)
1.6.0 (2022-04-14)
Features
- Add a module for C projects (#3631) (0863146)
- allow printing config file schema (#3737) (18ad26f)
- aws: add option to force AWS display (#3720) (e04f126)
- cmd_duration: make notify feature optional (compat with nix darwin) (#3855) (efaab49)
- spack: Add
Spack
module (#3639) (3014284) - username: Detect Admin access in Windows (#2791) (c89c130)
Bug Fixes
- bash: ensure
checkwinsize
is enabled for$COLUMNS
(#3832) (0334327) - directory: enable repo_root_style when truncation_length is zero. (#3536) (441ebb3)
- docker_context: ignore the "default" context (#3803) (#3804) (230e85b)
- fish: allow generating session keys in older versions of fish (#3697) (0fb4219)
- init: Change Elvish init to
catch
for 0.18 (#3769) (538329d) - nu: Use
=
instead of space to pass command line parameters (#3833) (2608db3) - nu: use shell-provided terminal width (#3800) (859b780)