Version 2.0.0 Release Candidate 1 This is marked as a release candidate as there will be no features or changes added before the full release. This should be mostly stable, as we have squashed quite a few bugs already. Changes since v2.0.0-beta.2: BREAKING CHANGES - path: `_lp_shorten_path()` replaced by `_lp_path_format()` (decaece, a35032f, ae769dc) Deprecated - path: `LP_PATH_DEFAULT` is replaced by `LP_PATH_METHOD` (ae769dc) Added - general: Manual pages built from documentation (#637, 13e128b) - git: `_lp_git_staged_files()` data function (#644, 9038ec8) - git: `_lp_git_staged_lines()` data function (#644, 9038ec8) - git: Caching for diff data functions that share targets (`files()` + `lines()`) (8bf1772) - hostname: `__lp_hostname_hash()` internal function (8f730c8) - load: `LP_LOAD_CAP` config option (#650, #530, e058b61) - path: `LP_COLOR_PATH_LAST_DIR` config option (ae769dc) - path: `LP_COLOR_PATH_SEPARATOR` config option (ae769dc) - path: `LP_COLOR_PATH_SHORTENED` config option (ae769dc) - path: `LP_COLOR_PATH_VCS_ROOT` config option (ae769dc) - path: `LP_PATH_CHARACTER_KEEP` config option (ae769dc) - path: `LP_PATH_METHOD` config option (ae769dc) - path: `LP_PATH_VCS_ROOT` config option (ae769dc) - path: `_lp_path_format()` data function (#648, #349, #149, ae769dc) - path: `__lp_end_path_left_shortening()` internal function (ae769dc) - path: `__lp_get_unique_directory()` internal function (ae769dc) - terminal: `_lp_terminal_device()` data function (5076dbe) - tests: Tests for `_lp_battery()`/`acpi` (cef9cb1) - tests: Tests for `_lp_battery()`/`pmset` (c0e74b8, 9e205f5, 37db052) - tests: Tests for `_lp_connection()`/`who`+`ps` (23eb3f2, 37db052, cef9cb1) - tests: Tests for `__lp_cpu_count()`/`ncpu` (37db052) - tests: Tests for `_lp_cpu_load()`/`sysctl` (37db052) - tests: Tests for `_lp_detached_sessions()`/`screen`+`tmux` (23eb3f2, 37db052, cef9cb1) - tests: Tests for `__lp_hostname_hash()` internal function (8f730c8, 37db052) - tests: Tests for `__lp_temp_sensors()`/`sensors` (23eb3f2, cef9cb1) - tests: Tests for `_lp_terminal_device()` data function (5076dbe, 37db052, cef9cb1) - tests: Github Actions documentation linting (#649, 30f977b) - theme: `_lp_default_theme_prompt()` theme function (40c4331, 45f8091, acb5430) - theme: `_lp_default_theme_prompt_data()` theme function (acb5430) - theme: `_lp_default_theme_prompt_template()` theme function (acb5430) - theme: `alternate_vcs`, the default theme with modified VCS display (#635, #524, 2d659f0) - tools: `external-tool-tester.sh` script to generate test data (b699dea, 9a00ead, 4b7fd88) Fixed - acpi: Temperature check printed each temp twice, slowing down check (cf8bf97) - acpi: Temperature check used extended sed syntax without declaring extended language (eb30942) - load: Display actual load average instead of normalized (#650, #530, e058b61) - load: `LP_LOAD_THRESHOLD` accepts floats of actual load average instead of integer centiload (#650, #530, e058b61) - load: Default color scale cap from 1.0 to 2.0 (#650, #530, 5069c22) - path: `LP_COLOR_PATH` default changed from `$BOLD` to `lp_terminal_format 255 0 0 0 7` (no longer bold) (ae769dc) - vcs: Prompt provides no indication of changes for binary files (#647, 5885e57) - zsh: Add check for Zsh >= 5.0, the versions now officially supported (5bd80ce) - zsh: `local`/`typeset` errors on Zsh-5.0.X (#642, 7c4958b, 0f98dbb, 0ac2ad4) - zsh: Rename local variables that used Zsh protected names (#634, 6f1dbcf) - zsh: Activating would clobber completion options (#641, 762018c) Removed - tests: `test.sh` file, unit tests integrated into `acpi` tests above (f445eff) Thanks to: * Dimitrie Hoekstra (@dimitrieh) for requesting VCS root highlighting in path. * Felix Schlitter (@felixSchl) for requesting VCS root highlighting in path. * Munif Tanjim (@MunifTanjim) for requesting and implementing an alternate VCS display theme. * Hynek Vychodil (@pichi) for describing CPU load average issues. * Tore Anderson (@toreanderson) for describing CPU load average issues and suggesting fixes. * Viorel-Cosmin Miron (@uhlhosting) for reporting Zsh special variable issues. * Brad Beyenhof (@augmentedfourth) for consulting on packaging issues. * Arturo Borrero Gonzalez (@aborrero) for consulting on packaging issues. * Ned Batchelder (@nedbat) for reporting Zsh completion and VCS binary files issues. * Gary Wolfman (@OldCrow) for reporting Zsh-5.0.X issues.