github rbenv/rbenv v1.3.0
rbenv 1.3.0

2 months ago

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 #1568

    This 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.

    • rbenv init in setup mode defaults to no auto-rehashing by @mislav in #1579
    • Init script automatically adds rbenv to PATH if necessary by @mislav in #1432
  • 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

  • Support GEM_HOME by @mislav in #1436

  • 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

Housekeeping

  • Use test -aP instead of which -a in test helper by @scop in #1359
  • Add Shell linter - Differential-ShellCheck by @jamacku in #1419
  • Followup to “Simplify resolving symlinks” feature:
    • Switch back to resolving symlinks for rbenv executable by @mislav in #1439
    • Test for executables but not functions by @mislav in #1440
    • Avoid assuming rbenv original project layout by @mislav in #1449
    • Fix resolving rbenv symlink to its final location by @mislav in #1482
  • 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 to v3 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

Full Changelog: v1.2.0...v1.3.0

Don't miss a new rbenv release

NewReleases is sending notifications on new releases.