Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: zimfw/zimfw

v1.20.0

19 Dec 13:46
70cb088

Choose a tag to compare

Changed

  • Output of list and uninstall actions. Module names are already their relative path from ZIM_HOME, so listing their full path afterwards was redundant. The full path to external modules is now shown in verbose mode. Not considering this as a breaking change since zimfw's output is not meant to be parsed by scripts.
  • Uncommented zmodule zsh-users/zsh-history-substring-search from generated .zimrc, since our input module can now do a deferred initialization of it. See announcement here.

v1.19.1

19 Nov 23:41
e8470d1

Choose a tag to compare

Automated tests with bats were introduced in this version, allowing a better understanding of some edge case scenarios and being helpful to the work on improving how they're handled.

Fixed

  • Don't expand ${HOME} in fpath in the init.zsh script.
  • Show skipped mkdir modules in check action in verbose mode.
  • Do build after uninstall action.
  • Allow defining new modules as both --frozen and --disabled so they're neither installed nor initialized. Defining a new module as just --frozen is still going to cause errors when trying to initialize it and nothing is found.
  • Show --if option values on list action output in verbose mode.
  • For modules with multiple roots, show the respective options nested under each root on list action output in verbose mode.
  • Allow defining multiple roots in a module when using the mkdir tool. The tool will create the subdirectories automatically in this case.

v1.19.0

05 Nov 23:32
db043ae

Choose a tag to compare

Added

  • Generate .zimrc if not found, to hopefully make installation easier.
  • Fail module check if git default remote branch has diverged. This allows novice users to more easily reinstall the affected module to fix the issue.

Changed

  • Expand aliases when compiling with zcompile for a more predictable behavior.
  • Include modules/ prefix when outputting module names.

v1.18.0

20 Mar 20:46
52dd146

Choose a tag to compare

Changes in this release are one more little step towards better adherence to the command line interface guidelines.

Added

  • --help and --version actions. These are aliases to the already existing help and version actions.

Changed

  • Disable color output when executed through a pipe or as a non-TTY ssh command.

v1.17.1

12 Feb 18:30
9db571e

Choose a tag to compare

Fixed

  • Create ZIM_HOME if it does not exist.
  • Simplify output. Don't send any ANSI escape codes to the terminal when NO_COLOR is set.

v1.17.0

16 Jan 14:56
d74be7c

Choose a tag to compare

Added

  • Also list not installed modules with list action, when not in verbose mode.
  • auto tool in zmodule, which auto detects the best tool available for installing a new module or the tool used when an existing module was installed. This is now the default tool and makes life automatically easier for users without git installed.

Fixed

  • Print help or version even if ZIM_HOME is not set.
  • "no such file or directory: /path/to/.zdegit" error when installing a new module with the degit tool.

v1.16.0

25 Nov 13:56
923014a

Choose a tag to compare

  • Also output zimfw config and zimfw.zsh script paths in info action, following symlinks if any.
  • Don't output colors if NO_COLOR environment variable is set to a non-empty value.

v1.15.1

10 Oct 00:31
84c59ed

Choose a tag to compare

Fixed

  • Preserve original module if reinstall fails instead of removing it first.

v1.15.0

08 Oct 23:44
f4bc83d

Choose a tag to compare

Added

  • reinstall action, that removes and then installs again the modules that failed any of the checks: (See #542)
    • module was installed with the defined tool,
    • module URL matches the defined one.
  • --if-ostype option to zmodule. This option is equivalent to --if "[[ \${OSTYPE} == ${1} ]]".

Changed

  • Ask before uninstalling each unused module, instead of asking just once for all.
  • Add disclaimer comment at beginning of init.zsh file.

v1.14.0

25 Jun 17:34
6166fce

Choose a tag to compare

Changed

  • Don't expand ${HOME} in the init.zsh script. (See #509)
  • Don't allow calling zmodule from the command line. Let it fail with "command not found" instead, as it's intended to be used only in the .zimrc script.
  • ZIM_HOME must be defined before sourcing zimfw.zsh. All documentation was already doing so, hence not considering this as a breaking change.
  • Allow zimfw.zsh to exist anywhere else, not only inside ZIM_HOME. This enables installing the zimfw.zsh script independently with a package manager.
  • Don't try to upgrade if sourced zimfw.zsh is not in a writable path.
  • Don't try actions that write to ZIM_HOME if user has no write permissions there.

Fixed

  • Update error messages to hopefully make it clearer when either the git or the degit tool is being used.
  • Set read permissions to generated init.zsh script, so it can be read from other users.