Hi, it's been a long time! 👋 The theme for this release is user-friendliness: both the initial rbenv init setup and the documentation throughout the project should be clearer and easier to understand, especially for newcomers.
Feature Changes
-
The
rbenv init
command now modifies shell initialization files instead of printing instructions by @mislav in #1568This solves one of the most common pitfalls rbenv users were experiencing: many did not understand that
rbenv init
only printed instructions intended for humans but did not change anything in their shell environment. Now,rbenv init
actually modifies the environment, which seems to be what most users expected in the first place. -
Simplify resolving symlinks, remove native bash extension by @mislav in #1428
This solves a GPL license compliance issue where a GPL-licensed script was distributed with this project, which was not compatible with this project's license (MIT). #1395
-
Add man page for rbenv by @mislav in #1438
Preview the man page in HTML form here: https://rbenv.org/man/rbenv.1
Fixes
- Simplify
.ruby-version
file read by @scop in #1393 - Ignore shell builtins and functions when looking up commands in PATH by @mislav in #1448
- Use the newer “compsys” completion system for zsh completions by @Farid-NL in #1569
- Ensure zsh user's prior shell options don't interfere with indexing into an array of arguments by @richiethomas in #1422
- rbenv shell: properly declare global variables for zsh by @mislav in #1566
- Support ksh versions by @kpschoedel in #1504
Documentation Improvements
- Massive README overhaul by @mislav in #1433
- Update code block in readme for rbenv-doctor script by @audreee in #1353
- Make bash commands copy-able by GitHub by @simonschaufi in #1360
- README: grammar fix by @dmerejkowsky in #1379
- Redirect Debian/Ubuntu users to install using git by @tommyjanna in #1388
- Fix link to Pow because the server is down by @uraitakahito in #1418
- Use absolute path in
rbenv init
instructions if needed by @mislav in #1434 - Consistent syntax in man page by @mislav in #1453
- Make the usage syntax for arbitrary args consistent by @mislav in #1447
- Improve disabling instruction by @ahangarha in #1468
version-file
docs update by @richiethomas in #1512- help: have
--usage
always print a usage line by @mislav in #1515 - Update alerts in README by @dipree in #1537
- Clarify help text of some commands by @mislav in #1567
- Update link to maintained version of Bats by @acook in #1544
- Removes redundant ruby-build from brew-install by @jasonkarns in #1575
Housekeeping
- Use
test -aP
instead ofwhich -a
in test helper by @scop in #1359 - Add Shell linter - Differential-ShellCheck by @jamacku in #1419
- Followup to “Simplify resolving symlinks” feature:
- Restore Rubygems warning for user-installed gems by @mislav in #1445
- Use
read -a
to split output into an array by @mislav in #1450 rbenv version
- test coverage for preferring local over global version file by @richiethomas in #1456- Update actions/checkout version to v3 by @ydah in #1461
- ci(lint): pin
differential-shellcheck
tov3
tag by @jamacku in #1465 - Added dependabot update for GitHub Actions by @hsbt in #1476
- Bump mislav/bump-homebrew-formula-action from 1.4 to 2.2 by @dependabot in #1477
- Bump redhat-plumbers-in-action/differential-shellcheck from 3 to 4 by @dependabot in #1478
- Add spec to cover inclusion of etc/ sub-folders in plugins test by @richiethomas in #1492
- ci: trigger differential-shellcheck workflow on push by @jamacku in #1497
- Fix a dead link in a comment by @notEthan in #1505
- Bump actions/checkout from 3 to 4 by @dependabot in #1521
- Bump mislav/bump-homebrew-formula-action from 2.2 to 2.3 by @dependabot in #1526
- Bump mislav/bump-homebrew-formula-action from 2.3 to 3.0 by @dependabot in #1530
- Bump mislav/bump-homebrew-formula-action from 3.0 to 3.1 by @dependabot in #1531
- Bump redhat-plumbers-in-action/differential-shellcheck from 4 to 5 by @dependabot in #1533
- Move gem-rehash monkey patch by @benmelz in #1541
- Use bats-core instead of archived version by @hsbt in #1545
New Contributors
- @audreee made their first contribution in #1353
- @simonschaufi made their first contribution in #1360
- @dmerejkowsky made their first contribution in #1379
- @tommyjanna made their first contribution in #1388
- @uraitakahito made their first contribution in #1418
- @richiethomas made their first contribution in #1422
- @jamacku made their first contribution in #1419
- @ydah made their first contribution in #1461
- @ahangarha made their first contribution in #1468
- @hsbt made their first contribution in #1476
- @dependabot made their first contribution in #1477
- @notEthan made their first contribution in #1505
- @kpschoedel made their first contribution in #1504
- @dipree made their first contribution in #1537
- @benmelz made their first contribution in #1541
- @acook made their first contribution in #1544
- @Farid-NL made their first contribution in #1569
Full Changelog: v1.2.0...v1.3.0