github spaceship-prompt/spaceship-prompt v4.0.0

latest releases: v4.15.2, v4.15.1, v4.15.0...
20 months ago

4.0.0 (2022-09-01)

Bug Fixes

  • add permissions to scripts (7c3e427)
  • add x permissions to files (9a34149)
  • async: remove obsolete runtime variables (2128ab0)
  • cherry pick #1089 (52448c1)
  • cli: Add missing commands in help message (c2eb3e3)
  • compdef only when compdef is available (c309af6)
  • docker: add additional utils inside docker image (8813eb0)
  • fix command-line completion leving one letter on the beginning of prompt (6a4abd5), closes #1064
  • git: Add explicit variable for async rendering (cfa95e6)
  • git: fix ahead/behind indicators (a067c4d)
  • git: Fix typo in a section signature (f8ed612)
  • hg: Add options for async rendering (d5bdfa4)
  • kubectl: fix kubectl section (1b71e09)
  • make core variables readonly (1cd4756)
  • NEWLINE variable doesn't work (28b37f5)
  • ps2: print PS2 properly (0d9766c)
  • put user config loading in a proper place (5c68702)
  • python: use python3 command (0466bb8)
  • renderer: fix missing options for globes (107429c)
  • rendering docker context (b6a49f8)
  • Resolve newline issue with command expansion (bcfce70)
  • scripts: Stop on errors (ccee8e9)
  • set proper message if no account (#1099) (69f906c)
  • support CLOUDSDK_CONFIG env (#1122) (ae348f9), closes #1117
  • tests: render prefixes and suffixes only when they are not empty (73c2c71)
  • upsearch: Check repo properly (4764ed9)

Code Refactoring

  • ember: remove ember from built-in sections (05beb8b)
  • gradle: migrate Gradle to a separate repo (984bc01)
  • install: simplify the installation process (824f876)
  • maven: migrate Maven to a separate repo (3efd48b)
  • vi_mode: move vi_mode to external section (9ce611b), closes #586

Features

  • add ability to forcefully render a section synchronously (216f0f2)
  • add IBM Cloud CLI section (#912) (30b4b60)
  • Add is_async util (d539ee5)
  • Add java section (713f406)
  • async: add an option to globaly disable/enable async rendering (0ca1463)
  • async: introduce async jobs indicator (f0a75ce)
  • cli: add a print command for CLI (6843105)
  • cli: add CLI (205cb16)
  • cli: add command completions for cli (2ae45a4)
  • cli: Add edit command (b029587)
  • cli: CLI for inserting and removing sections (5dcce40), closes #318
  • config: Add ability to store config in ~/.config/spaceship (b5dee37)
  • config: introduce config file resolution (e087459), closes #508
  • docker: add docker image and publishing it to ghcr.io (77d7457)
  • exec_time: display exec time with precision (7b04aed)
  • git: add ability to customize git and hg orders (8a54cb3), closes #391
  • haskell: Look for .hs files (b2eb8a3)
  • ibmcloud: Enable async rendering for ibmcloud (8391054)
  • package: Add composer and julia support (3f8bb1e)
  • perf: Compile to zwc (3549bbf)
  • registry: Add custom sections registry (86d64dd)
  • renderer: render sync section on every render (4e93ae0)
  • section: migrate default section to v4 (0684171)
  • section: Migrate sections to new signature (b3249fb)
  • section: Named arguments for section (201496b)
  • testkit: add a simple testkit (1ceca85)
  • Upsearch for project files up the tree (08f6d70)
  • vsc: Make git and hg async (9ddb9be)

Performance Improvements

  • zwc: Precompile root file and async (ee5afc5)
  • zwc: spaceship::precompile compiles sources to zwc (58758e7)

BREAKING CHANGES

  • section: spaceship::section:v4 uses flags instead of arguments order to pass section params.
  • vi_mode: vi_mode section is not include in core anymore
  • gradle: Gradle section is not included by default. It can be installed additionally from:
    https://github.com/spaceship-prompt/spaceship-gradle
  • maven: Maven section is no longer available by default. It can be additionally installed
    from: https://github.com/spaceship-prompt/spaceship-maven
  • install: Now users have to manually enable prompt system and choose spaceship
  • ember: ember section is no longer available out of the box. It needs to be installed
    additionally.

Don't miss a new spaceship-prompt release

NewReleases is sending notifications on new releases.