Changelog History
Page 1
-
v1.6.2 Changes
July 30, 2025What's Changed
- ๐ [StepSecurity] Apply security best practices by @stepsecurity-app[bot] in #262
- โช Restore fish completion by @jasonkarns in #264
Full Changelog : v1.6.1...v1.6.2
-
v1.6.1 Changes
July 27, 2025Full Changelog : v1.6.0...v1.6.1
-
v1.6.0 Changes
July 27, 2025What's Changed
- rbenv upstream by @jasonkarns in #224
- ๐ Fix npm pkg warnings by @jasonkarns in #225
- โ Add dependabot configuration by @jasonkarns in #226
- โฌ๏ธ Bump actions/checkout from 3 to 4 by @dependabot[bot] in #228
- โฌ๏ธ Bump bats-assert from
8200039toe2d855bby @dependabot[bot] in #229 - โฌ๏ธ Bump mislav/bump-homebrew-formula-action from 2 to 3 by @dependabot[bot] in #227
- โฌ๏ธ Bump bats-support from
004e707to9bf10e8by @dependabot[bot] in #231 - โฌ๏ธ Bump actions/setup-node from 3 to 4 by @dependabot[bot] in #230
- โฌ๏ธ Bump nodenv/.github from 3 to 4 by @dependabot[bot] in #233
- โฌ๏ธ Bump github/super-linter from 4 to 6 by @dependabot[bot] in #232
- Increase dependabot running to weekly by @jasonkarns in #234
- โก๏ธ Update bats 1.11.0 โ 1.11.1 (patch) by @depfu[bot] in #239
- โก๏ธ Update bats 1.11.1 โ 1.12.0 (minor) by @depfu[bot] in #244
- ๐ [StepSecurity] Apply security best practices by @stepsecurity-app[bot] in #245
- Batch and cooldown dependabot PRs by @jasonkarns in #246
- โก๏ธ Bump the dev-deps group with 2 updates by @dependabot[bot] in #247
- โฌ๏ธ Bump to latest nodenv test workflow by @jasonkarns in #248
- Ungroup dependabot PRs by @jasonkarns in #249
- โฌ๏ธ Bump github/super-linter from 6 to 7 by @dependabot[bot] in #237
- ๐ Move rbenv tags to rbtags namespace by @jasonkarns in #250
- Pull upstream changes from rbenv (most of 1.3.0) by @jasonkarns in #251
- ๐ Prettier format and lintfixes by @jasonkarns in #252
- โก๏ธ Pull updates from rbenv upstream (~1.3.0) by @jasonkarns in #254
- Clean up gitignore by @jasonkarns in #255
- โก๏ธ Merge in updates from rbenv 1.3.0 by @jasonkarns in #256
- โก๏ธ Merge updates from rbenv 1.3.1 by @jasonkarns in #258
- โก๏ธ Pull updates from rbenv 1.3.2 by @jasonkarns in #259
- ๐ Use asciidoctor.js for manpage generation by @jasonkarns in #260
- โ Remove old native_ext src tree by @jasonkarns in #261
๐ New Contributors
- @dependabot[bot] made their first contribution in #228
- @stepsecurity-app[bot] made their first contribution in #245
Full Changelog : v1.5.0...v1.6.0
-
v1.5.0 Changes
May 27, 2024What's Changed
- โฌ๏ธ Bump GH Actions by @jasonkarns in #205
- ๐ Create GH Release via cli by @jasonkarns in #206
- Pull from upstream rbenv 1.2.0 by @jasonkarns in #207
- โ Remove debian instructions by @jasonkarns in #209
- โ Remove and update old rbenv text by @eclectic-coding in #213
- โก๏ธ Update bats 1.9.0 โ 1.10.0 (minor) by @depfu in #214
- โก๏ธ Update bats 1.10.0 โ 1.11.0 (minor) by @depfu in #219
- ๐ Renamed master->main by @jasonkarns in #222
- ๐ fixup! Merge pull request #207 from nodenv/pull-rbenv by @jasonkarns in #223
๐ New Contributors
- @eclectic-coding made their first contribution in #213
Full Changelog : v1.4.1...v1.5.0
-
v1.4.1
February 18, 2023 -
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, 2019Clarify the description of
rbenv versions๐ Fixes #1148
rbenv 1.1.2
๐ Disallow path segments and directory traversal in
.ruby-versionfiles๐ A malicious
.ruby-versionfile in the current directory could inject
../../../into the version string and trigger execution of binaries
outside ofRBENV_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, 2019nodenv-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-nameandnodenv-version-originare 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--flagargument 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'sset -u.Quote directory name in variable assignment
๐ Fix some issues reported by shellcheck
๐ Better error message for
rbenv shell0๏ธโฃ Shell integration is not enabled by default. This means that, from all the
commands fromrbenv commands, only "shell" won't work right away.Replace "no such command" with a more descriptive message that points to
rbenv initinstead.๐ Fix rbenv/rbenv#1065
๐ Command
rbenv version-name > .ruby-versionwill create an empty.ruby-versionfile
before runningrbenv-version-file. This causesrbenv-version-fileto return empty
string which in turn causesrbenv-version-nameto returnsystem.โช Ensure size of
.ruby-versionis 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 - some versions of bash (e.g. 4.3.11) complain about clobbering