Skip to content

Update pry 0.10.3 → 0.16.0 (major) - #286

Open
depfu[bot] wants to merge 1 commit into
masterfrom
depfu/update/pry-0.16.0
Open

depfu[bot] wants to merge 1 commit into
masterfrom
depfu/update/pry-0.16.0

Conversation

@depfu

@depfu depfu Bot commented Dec 28, 2025

Copy link
Copy Markdown

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ pry (0.10.3 → 0.16.0) · Repo · Changelog

Release Notes

0.16.0

Features

  • Ruby 4.0 Support.
    Pry will now require and default to Reline for newer Rubies.
    (#2357)
    (#2349)
  • Revert 'Unify show-doc with show-source'.
    (#2346)

Breaking Changes

  • Remove experimental Pry.auto_resize!
    Returns a warning. The code will be removed later.
    (#2359)
  • Drop support for Ruby < 2.6
    (#2349)

New Contributors

Full Changelog: v0.15.2...v0.16.0

0.15.2

This release fixes one additional scenario that could happen if Prism was not available.

Bug Fixes

Avoid breaking reading input if Prism version is undetectable
(#2340)

0.15.1

Bug Fixes

  • Restore Pry.config.ls compatibility
    (#2335)
  • Avoid breaking reading inputs if Prism is not available
    (#2338)

0.15.0

From the CHANGELOG.md

v0.15.0

Features

  • Added support for Reline
    (#2298)
  • Added support for Ruby 3.3
    (#2295)
  • Added Pry::Input::SimpleStdio for dumb terminals when Reline is in use
    (#2304)
  • Remove OpenStruct usage
    (#2307)
    (#2309)
  • Disable coloring of output when NO_COLOR is set.
    (#2323)
  • Add pry --no-multiline flag to keep single line prompt.
    (#2327)

Bug Fixes

  • Fix typos on docs and and comments
    (#2300)
    (#2301)
  • Fix 'calling clear method' on user code when defined in pry context.
    (#2291)
  • Fix arguments WatchExpression#add_expression
    (#2278)

Breaking changes

  • Remove support for deprecated Pry.config.prompt = [proc {}, proc {}]
    Use Pry::Prompt API instead
    (#2308)
  • Remove deprecated Pry.config.exception_whitelist.
    Use Pry.config.unrescued_exceptions instead.
    (#2326)

0.14.2 (from changelog)

Features

  • Configure code as a supported editor on Pry::Editor (#2236)
  • Added support for Ruby 3.2 (#2263)
  • Added support for Ruby 3.1 (#2228)

Bug fixes

  • Short circuit eval regexes in finding module definition (#2253)
  • Revert "Escape non-printing characters" (#2235)
  • Fixed bug where WeirdMethodLocator would fail to find the source of a method breaking whereami (#2244)
  • Fixed bug where pry would throw an FrozenError when dealing with incomplete tokens (#2136)
  • Restore --no-history CLI flag functionality (#2196)
  • Fixed bug where reading from the _out_ sticky local variable could return wrong results (#2201)

Breaking Changes

  • Remove support for Ruby 1.9 and JRuby < 9.0 (#2239)

0.14.1 (from changelog)

Bug fixes

  • Fixed bad coloring of some RDoc-style docs (#2182)
  • Fixed broken --plugins option. It shows a warning now (#2180)
  • Fixed bad output on printing non-visible characters with color codes (#2154)
  • Fixed bad output when colors are disabled and a string with color codes is printed (#2158)

0.14.0 (from changelog)

Features

  • Made ? an alias to show-source -d (#2133)
  • Added support for Ruby 3.0

Breaking changes

  • Deleted support for plugin autoloading (#2119). In order to load a Pry plugin you must require it from your pryrc or add it to your Gemfile.

    # ~/.pryrc
    require 'pryrc'

0.13.1 (from changelog)

Bug fixes

  • Fixed bug where on invalid input only the last syntax error is displayed (instead of all of them) (#2117)
  • Fixed Pry::Config raising NoMethodError on undefined option instead of returning nil (usually invoked via Pry.config.foo_option calls) (#2126)
  • Fixed help command not displaying regexp aliases properly (#2120)
  • Fixed pry-backtrace not working (#2122)

0.13.0 (from changelog)

Features

  • Added metadata to the gem (such as changelog URI, source code URI & bug tracker URI), so it shows on https://rubygems.org/gems/pry (#1869)
  • Added ability to forward ARGV to a Pry session via -- (or -) when launching Pry from shell (#1902)
  • Added Pry::Config::LazyValue & Pry::Config::MemoizedValue, which allow storing callable procs in the config (#2024)
  • Added the rc_file config option that tells Pry the path to pryrc (#2027)
  • Added the --code flag to the wtf command, which shows code for each backtrace frame (#2037)
  • Added the ability to paste method call chains with leading dots (#2060)

API changes

  • Pry::Prompt is a class now and it can be instantiated to create new prompts on the fly that are not registered with Pry::Prompt#add. Learn more about its API in the docs (#1877)

Deprecations

  • Deprecated Pry.config.exception_whitelist in favor of Pry.config.unrescued_exceptions (#1874)

  • Deprecated Pry.config.prompt = Pry::Prompt[:simple][:value] in favor of Pry.config.prompt = Pry::Prompt[:simple] when setting Pry prompt via pryrc. Pry::Prompt[:simple] would return an instance of Pry::Prompt instead of Hash (#1877)

  • Deprecated setting prompt via an array of two procs: (#1877)

    # Deprecated, emits a warning.
    Pry.config.prompt = [proc {}, proc {}]

    This will be removed in the next release.

  • Deprecated the show-doc command. The show-source -d is the new recommended way of reading docs (#1934)

  • Deprecated Pry::Command#_pry_. Use Pry::Command#pry_instance instead (#1989)

Breaking changes

  • Deleted deprecated Pry::Platform (#1863)
  • Deleted deprecated Pry#{input/output}_array (#1884)
  • Deleted deprecated Pry::Prompt::MAP (#1866)
  • Deleted deprecated methods of Pry::Helpers::BaseHelpers such as mac_osx?, linux?, windows?, windows_ansi?, jruby?, jruby_19?, mri?, mri_19?, mri_2? (#1867)
  • Deleted deprecated Pry::Command#text (#1865)
  • Deleted deprecated Pry::Method#all_from_common (#1868)
  • Deleted install-command (#1979)
  • Deleted Pry::Helpers::BaseHelpers#command_dependencies_met? (#1979)
  • Deleted commands: gem-cd, gem-install, gem-list, gem-open, gem-readme, gem-search, gem-stats (#1981)
  • Deleted deprecated commands: edit-method and show-command (#2001)
  • Deleted Pry::Command#disabled_commands (#2001)
  • Deleted Pry::BlockCommand#opts (use #context instead) (#2003)
  • Deleted Pry.lazy (use Pry::Config::LazyValue instead) (#2024)

Bug fixes

  • Fixed bug where using Pry.config.prompt_name can return a Pry::Config::Lazy instead of expected instance of String (#1890)
  • Fixed LoadError being raised when using auto completions and Bundler (#1896)
  • Fixed bug where Pry.input_ring doesn't append duplicate elements (#1898)
  • Fixed Ruby 2.6 warning about Binding#source_location (#1904)
  • Fixed wrong winsize when custom output is passed to Pry (#2045)
  • Fixed XDG_CONFIG_HOME & XDG_DATA_HOME precedence. When these env variables are set, Pry no longer uses traditional files like ~/.pryrc & ~/.pry_history. Instead, the env variable paths are loaded first (#2056)
  • Fixed the $SAFE will become a normal global variable in Ruby 3.0 warning on Ruby 2.7 (#2107)
  • Fixed bug when whereami -c cannot show beginning of the class, which is on the same line as another expression (#2098)
  • Fixed bug when Object#owner is defined, which results into somewhat broken method introspection (#2113)
  • Fixed bug when indentation leaves parts of input after pressing enter when Readline is enabled with mode indicators for vi mode. This was supposed to be fixed in v0.12.2 but it regressed (#2114)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ coderay (indirect, 1.1.0 → 1.1.3) · Repo · Changelog

Release Notes

1.1.3

Diff: v1.1.2...v1.1.3

  • Tokens: Ensure Ruby 2.6 compatibility. [#233, thanks to Jun Aruga]
  • SQL scanner: Add numeric data type. [#223, thanks to m16a1]
  • Java scanner: Add var as type. [#229, thanks to Davide Angelocola]
  • Gem: Fix deprecation warning. [#246, thanks to David Rodríguez]

1.1.2

Diff: v1.1.1...v1.1.2

  • Ruby future: Add support for frozen string literals. [#211, thanks to Pat Allan]
  • C++ scanner: Add C++11 keywords. [#195, thanks to Johnny Willemsen]
  • Haml scanner: Allow - in tags.
  • Java scanner: Allow Unicode characters in identifiers. [#212, thanks to t-gergely]

1.1.1

Diff: v1.1.0...v1.1.1

  • SQL scanner: Allow $ signs in SQL identifiers [#164, thanks to jasir and Ben Basson]
  • SQL scanner: Fix open strings [#163, thanks to Adam]
  • Ruby scanner: Accept number literal suffixes r and i (Ruby 2.1)
  • Ruby scanner: Accept quoted hash keys like { "a": boss } (Ruby 2.2)
  • Ruby scanner: Accept save navigation operator &. (Ruby 2.3)
  • Ruby scanner: Accept squiggly heredoc <<~ (Ruby 2.3)
  • Diff scanner: Prevent running out of regexp stack.
  • HTML encoder: You can keep tabs intact now by setting tab_width: false.
  • Alpha style: Tweaked colors for :function group with :content.
  • File structure: One module per file, autoload CodeRay::Version, paths follow namespace hierarchy.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ method_source (indirect, 0.8.2 → 1.1.0) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 58 commits:

🆕 io-console (added, 0.8.2)

🆕 reline (added, 0.6.3)

🗑️ slop (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants