From e0d067977c93b23c43c902cc93b0237bc3db9c39 Mon Sep 17 00:00:00 2001 From: Eric Nielsen <4120606+ericbn@users.noreply.github.com> Date: Mon, 17 Jul 2023 18:55:26 -0500 Subject: [PATCH] v1.12.0 --- CHANGELOG.md | 20 +++++++++++++++++++- src/zimfw.zsh.erb | 2 +- zimfw.zsh | 4 ++-- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc07944..7ac1747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 _No unreleased changes._ +## [1.12.0] - 2023-07-17 + +### Added + +- `check-version` action, that immediately checks if a new version of `zimfw` is + available and returns code 4 if there is one. +- `check` action, that checks if there are updates available for current modules. +- Output of `LANG` and `LC_*` parameters in `info` action. + +### Changed + +- Don't resolve symlinks when building init.zsh. + +### Fixed + +- Show warning when there's no write permission to compile Zsh scripts. + ## [1.11.3] - 2023-02-26 ### Deprecated @@ -337,7 +354,8 @@ Take your time to review the updated [README.md] and the changes listed below. [termtitle]: https://github.com/zimfw/termtitle [s1ck94]: https://github.com/zimfw/s1ck94 -[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.11.3...HEAD +[Unreleased]: https://github.com/zimfw/zimfw/compare/v1.12.0...HEAD +[1.12.0]: https://github.com/zimfw/zimfw/compare/v1.11.3...v1.12.0 [1.11.3]: https://github.com/zimfw/zimfw/compare/v1.11.2...v1.11.3 [1.11.2]: https://github.com/zimfw/zimfw/compare/v1.11.1...v1.11.2 [1.11.1]: https://github.com/zimfw/zimfw/compare/v1.11.0...v1.11.1 diff --git a/src/zimfw.zsh.erb b/src/zimfw.zsh.erb index b2d1348..069b0f4 100644 --- a/src/zimfw.zsh.erb +++ b/src/zimfw.zsh.erb @@ -4,7 +4,7 @@ class Zim :clear_line, :ellipsis, :okay, :warn, :error, :done, :failed def initialize - @version = "1.12.0-SNAPSHOT" + @version = "1.12.0" @home = "${ZDOTDIR:-${HOME}}" @min_zsh_version = "5.2" # Matches {ssh,http,https,git}://{user@,}host/org/repo and {user@,}host:org/repo diff --git a/zimfw.zsh b/zimfw.zsh index 6096785..eb49f1a 100644 --- a/zimfw.zsh +++ b/zimfw.zsh @@ -446,7 +446,7 @@ _zimfw_compile() { } _zimfw_info() { - print -R 'zimfw version: '${_zversion}' (built at 2023-06-17 01:23:46 UTC, previous commit is 0566b9b)' + print -R 'zimfw version: '${_zversion}' (built at 2023-07-17 23:54:58 UTC, previous commit is 49386ca)' local zparam for zparam in LANG ${(Mk)parameters:#LC_*} OSTYPE TERM TERM_PROGRAM TERM_PROGRAM_VERSION ZIM_HOME ZSH_VERSION; do print -R ${(r.22....:.)zparam}${(P)zparam} @@ -847,7 +847,7 @@ _zimfw_run_tool_action() { zimfw() { builtin emulate -L zsh -o EXTENDED_GLOB - local -r _zversion='1.12.0-SNAPSHOT' _zversion_target=${ZIM_HOME}/.latest_version zusage="Usage: %B${0}%b [%B-q%b|%B-v%b] + local -r _zversion='1.12.0' _zversion_target=${ZIM_HOME}/.latest_version zusage="Usage: %B${0}%b [%B-q%b|%B-v%b] Actions: %Bbuild%b Build %B${ZIM_HOME}/init.zsh%b and %B${ZIM_HOME}/login_init.zsh%b.