All Versions
Latest Version
Avg Release Cycle
205 days
Latest Release
865 days ago

Changelog History
Page 1

  • v1.4.0 Changes

    July 20, 2020

    ๐Ÿ– Handle aliases in lts dir for versions

    โšก๏ธ Update to add support for direct lts aliases

    Presence of bin/ subdir determines versionness

    Only recurses into lts/ subdir to find versions but now uses the
    presence of a bin/ subdir to determine if a given directory should be
    considered a node version and listed.

    This covers whether "lts" is itself a direct named version, alias, or
    namespace for other versions/aliases.

  • v1.3.2 Changes

    March 31, 2020

    ๐Ÿ“‡ workflow and metadata maintenance

  • v1.3.1 Changes

    November 04, 2019

    Clarify the description of rbenv versions

    ๐Ÿ›  Fixes #1148

    rbenv 1.1.2

    ๐Ÿ’Ž Disallow path segments and directory traversal in .ruby-version files

    ๐Ÿ’Ž A malicious .ruby-version file in the current directory could inject
    ../../../ into the version string and trigger execution of binaries
    outside of RBENV_ROOT/versions/.

    ๐Ÿ›  Fixes #977 OVE-20170303-0004

    ๐Ÿ‘‰ Make --version more semver friendly

    The current output of nodenv --version is essentially the direct output
    of git-describe, which is TAG-COMMITS_SINCE_TAG-gSHA.

    ๐Ÿ“‡ The commits-since, and sha segments would be considered build metadata
    in semver parlance.

    This change tweaks the output of git-describe such that it is in a
    semver compliant format; despite not strictly being semver compliant in
    semantics. (Which isn't really possible with edge/HEAD anyway)

    It also eliminates the "g" prefix which is used to denote the sha
    references the git SCM.

    rbenv help: fix 'type: write error: Broken pipe'

    Sometimes the command fails with a 'type: write error: Broken pipe'.
    This is because 'head -1' only reads the first line, then exits.
    If 'type' writes the second line after 'head -1' has already exited,
    then the aforementioned error is triggered.

    We fix this by buffering the entire output of 'type' before
    invoking 'head -1'.

    Silence errors when piping type | head -1

    ๐Ÿ‘ Allow / in version names

    ๐Ÿšš rbenv removed support for directory traversal .. as well as path
    segments. However, nodenv has a valid use-case for path segments: the
    lts alias names.

    This change keeps the .. pattern blocked, while allowing forward
    slashes in the version name.

    ๐Ÿ‘€ see:
    rbenv/rbenv#977 (comment)

  • v1.3.0 Changes

    May 04, 2019

    nodenv-version learns to describe aliases

    ๐Ÿ–จ When printing the current node version and its origin (how it was set),
    nodenv-version now resolves any symlinks to determine the final
    targeted version.

    ๐Ÿ–จ It prints the version name as selected, an arrow and the aliased version
    name, and finally the origin.
    If the version is not an alias, the output is the same as before.

    This only affects the output of nodenv version;
    nodenv-version-name and nodenv-version-origin are unaffected.

    โœ‚ Remove test-only abort messages

    These messages are only printed if NODENV_NATIVE_EXT is set; and it is
    โœ… only set for test runs. (It is not expected to be set by users.) Thus
    these messages are only useful when running on travis, and I'd rather
    โœ… there not be test-only code running for users.

    Ignore errors if nodenv-prefix fails

    ๐Ÿ–จ nodenv-prefix will print errors to STDERR if node isn't available in
    ๐Ÿšš PATH. (As demonstrated on Travis, since the nvm's nodes are removed from
    โœ… PATH by the test-helper.)

    We don't actually care if node is available in PATH or not for this
    ๐Ÿ–จ check, we only care to print the selected node and follow it if it's a
    symlink. So if nodenv-prefix fails, the path would be empty, thus no
    ๐Ÿ–จ need to follow it and we just print the same message as before.

    ๐Ÿ–จ Print versions in semantic order

    ๐Ÿ— Take sort_versions function from node-build (which is broken).
    ๐Ÿ‘‰ Use extended regular expression for simplicity
    ๐Ÿšš Ignore semver-spec characters from sorting. (remove , ~, etc)
    Ensure shorter version names sort first (.0 instead of .z)
    Ensure node versions sort above others; iojs, chakra, etc (prefix a. if
    leading digit)

    ๐Ÿ›  Fix incorrect count of versions in nodenv versions

  • v1.2.0 Changes

    December 23, 2018

    ๐Ÿ›  Fix fish subcommand completion

    ๐Ÿ’… This allows subcommand style plugins to properly autocomplete.
    Existing commands are not affected.

    ๐Ÿ‘ Example, say you have support for rbenv foo bar --flag, then
    this allows the last --flag argument to be properly completed.

    ๐Ÿ›  Fix pyenv -> rbenv typo

    partly resolve #759

    • some versions of bash (e.g. 4.3.11) complain about clobbering
      /dev/null, use bash's explicit >| operator to ignore noclober
    • not sure if the original #759 report has the same cause

    - rbenv/rbenv#759 (comment)

    Enforce absolute RBENV_DIR

    This prevents CDPATH from becoming an issue.

    Closes #866.

    Don't unset CDPATH

    rbenv-version-file: ensure that the version file is a file

    Forwarded from pyenv/pyenv#606.

    rbenv 1.1.1

    ๐Ÿ›  Fixed rbenv init - output to work w/ no args and bash's set -u.

    Quote directory name in variable assignment

    ๐Ÿ›  Fix some issues reported by shellcheck

    ๐Ÿ‘ Better error message for rbenv shell

    0๏ธโƒฃ Shell integration is not enabled by default. This means that, from all the
    commands from rbenv commands, only "shell" won't work right away.

    Replace "no such command" with a more descriptive message that points to
    rbenv init instead.

    ๐Ÿ›  Fix rbenv/rbenv#1065

    ๐Ÿ’Ž Command rbenv version-name > .ruby-version will create an empty .ruby-version file
    before running rbenv-version-file. This causes rbenv-version-file to return empty
    string which in turn causes rbenv-version-name to return system.

    โ†ช Ensure size of .ruby-version is non-zero as a workaround.

    โœ‚ Remove ableist language

    rbenv-which: change PATH only for the "command -v" lookup

    This is not really necessary, because rbenv-which is used in a subshell
    currently, but makes a difference if rbenv-which would be sourced.

    rbenv-prefix: do not silence rbenv-which for system version

    This suppressed any output when using RBENV_DEBUG=1 and does not really
    hurt to have in the unlikely case that it should fail; you would get
    two error messages now:

    ๐Ÿ’Ž rbenv: ruby: command not found
    rbenv: system version not found in PATH

  • v1.1.2 Changes

    August 11, 2017

    ๐Ÿ“ฆ Hard-code package version into nodenv

    This helps with portability and eliminates the dependency on
    ๐Ÿš€ package.json file living with the deployed app.

    ๐Ÿ›  fixes #70

    streamline nodenv---version

  • v1.1.1

    July 10, 2017
  • v1.1.0

    February 16, 2017
  • v1.0.0

    January 14, 2016
  • v0.4.0

    October 17, 2015