Skip to content

Releases: ruby/irb

v1.13.1

05 May 11:13
66318d0
Compare
Choose a tag to compare

What's Changed

πŸ› Bug Fixes

  • Switch to StdioInputMethod when TERM is 'dumb' by @dgutov in #907
  • Avoid raising errors while running help for custom commands by @kachick in #944
  • Use flag instead of caller for debug's binding.irb check by @st0012 in #947
  • Improve help message for no meta commands by @st0012 in #948

πŸ›  Other Changes

  • Add workaround for ruby/debug/test/console/irb_test failing with StdioInputMethod by @tompng in #943
  • Fix typos in test/irb/command/test_custom_command.rb by @kachick in #945
  • Change debug test workaround only enabled when output is tty by @tompng in #949
  • Clarify conf helper's context by @st0012 in #950
  • Bump version to v1.13.1 by @st0012 in #951

New Contributors

Full Changelog: v1.13.0...v1.13.1

v1.13.0

01 May 15:21
b9b1f35
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Add disable_irb command to disable debug of binding.irb by @hogelog in #898
  • Move away from method-based command implementation by @tompng in #824
  • Support command registration by @st0012 in #886
  • Support helper method registration by @st0012 in #624
  • Support IRB.conf[:BACKTRACE_FILTER] by @st0012 in #917

πŸ› Bug Fixes

  • rdoc version lock is required by @alpaca-tc in #897
  • Rescue from exceptions raised by #name by @monkeyWzr in #899
  • Fix irb_history saved to current directory by @tompng in #901
  • Fix % escape in prompt format by @tompng in #927
  • Remove exit command workaround, handle IRB_EXIT in debug_readline by @tompng in #923
  • Restore MAIN_CONTEXT correctly by @tompng in #937
  • Let IRB::Color.colorable? always return true|false by @tompng in #940

πŸ“š Documentation

  • Use markdown format for docs by @st0012 in #890
  • docs(help): Add latest options to ja help message by @okuramasafumi in #903
  • Remove misleading documentation by @artur-intech in #906
  • Prompt specifiers: documentation improvements by @Uaitt in #926
  • Add EXTEND_IRB.md to introduce IRB's command and helper registration mechanism by @st0012 in #933
  • Use the new GH pages site for documentation by @st0012 in #939

πŸ›  Other Changes

  • Fix indent test and output sequence test for new reline by @tompng in #908
  • Cache RDoc::RI::Driver.new by @tompng in #911
  • Fix a typo by @hsbt in #912
  • Filter backtrace before formatting in #handle_exception by @joshbroughton in #916
  • Centralize rstrip calls by @st0012 in #918
  • Add a workaround to make IRB work with debug's tests by @st0012 in #919
  • Pass statements to Context#evaluate by @st0012 in #920
  • Remove internal-only methods from Command::Base by @tompng in #922
  • Accept " " for colorizing "\t" test by @tompng in #924
  • Add CI job to test IRB against the latest debug by @st0012 in #928
  • Add MultiIRB commands test by @igaiga in #929
  • Stop using ExtendCommandBundle internally by @st0012 in #925
  • Memoize helper method instances with Singleton module by @st0012 in #931
  • Command registration should take both strings and symbols as names by @st0012 in #932
  • Suppress command return values by @st0012 in #934
  • Pass symbol to Command.register in doc for consistency by @st0012 in #935
  • Add a new GH workflow for deploying to GH pages by @st0012 in #938
  • Bump version to v1.13.0 by @st0012 in #941

New Contributors

Full Changelog: v1.12.0...v1.13.0

v1.12.0

07 Mar 02:15
a79e84a
Compare
Choose a tag to compare

Highlights

  • The help command now displays a help message directly, instead of opening a ri console.
  • You can now get detailed usage information for specific commands by using help <cmd>. Commands that currently support detailed help messages include:
    • show_source
    • show_doc
    • edit
    • ls
    • We welcome contributions to expand this list!
  • The show_source command can now display methods defined during the IRB session.
  • In irb:rdbg sessions, simply hitting <enter> will now repeat the last command, mirroring the behavior in rdbg sessions.
  • IRB now supports loading .irbrc from multiple locations. This means that for most users, ~/.irbrc will also be loaded when a project/.irbrc is defined.

What's Changed

✨ Enhancements

  • Introduce exit! command by @ignacio-chiazzo in #851
  • Powerup show_source by enabling RubyVM.keep_script_lines by @tompng in #862
  • Repurpose the help command to display the help message by @st0012 in #872
  • Support repeating debugger input by passing empty input to it by @st0012 in #856
  • Revamp help command by @st0012 in #877
  • Add help messages to show_source and show_doc commands by @st0012 in #887
  • Restructure workspace management by @st0012 in #888
  • Allow loading multiple irb files by @hahmed in #859

πŸ› Bug Fixes

  • Fix SourceFinder's constant evaluation issue by @st0012 in #869
  • Improve constant lookup in SourceFinder by @tompng in #871
  • Fix irb:rdbg for ruby head by @st0012 in #876

πŸ›  Other Changes

  • Polish the exit! command and its tests by @st0012 in #867
  • Fix exit! command warning and method behavior by @tompng in #868
  • Refactor eval_path and SourceFinder::Source by @st0012 in #870
  • Update error message assertions for Ruby 3.4 by @st0012 in #874
  • Standardize command related names by @st0012 in #873
  • Load RubyGems explicitly for tests of test/irb by @hsbt in #879
  • Invalid encoding symbols now raise SyntaxError in 3.4 by @nobu in #880
  • Remove IRB::NotImplementedError by @tompng in #878
  • Unroll extension method generation by @st0012 in #882
  • Turn on frozen literal in files by @st0012 in #881
  • Remove remaining frozen_string_literal: false in lib/ by @tompng in #883
  • Remove workaround for empty lines in dynamic_prompt by @tompng in #884
  • Remove useless loaded file check by @tompng in #885
  • Refactor IRB::Context#prompting by @st0012 in #889
  • Escape closing square brackets in regexp by @peterzhu2118 in #892
  • Prevent irb_history's creation during HistoryTest by @st0012 in #893
  • Clear temporary directories by @nobu in #894
  • Bump version to v1.12.0 by @st0012 in #895

New Contributors

Full Changelog: v1.11.2...v1.12.0

v1.11.2

07 Feb 16:59
afe1f45
Compare
Choose a tag to compare

What's Changed

πŸ› Bug Fixes

πŸ›  Other Changes

New Contributors

Full Changelog: v1.11.1...v1.11.2

v1.11.1

09 Jan 13:21
f052097
Compare
Choose a tag to compare

What's Changed

πŸ› Bug Fixes

  • Fix display_document params in noautocomplete mode by @tompng in #826
  • Make show_source accept top-level constant names by @st0012 in #831
  • Avoid completing empty input by @st0012 in #832
  • Make SourceFinder ignore binary sources by @st0012 in #836

πŸ›  Other Changes

New Contributors

Full Changelog: v1.11.0...v1.11.1

v1.11.0

20 Dec 10:07
7421359
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Warn and do nothing if block is passed to measure command by @tompng in #813

πŸ› Bug Fixes

  • Debugging command warning should not be specific to the debug command by @st0012 in #806
  • Warn users about errors in loading RC files by @st0012 in #817

πŸ›  Other Changes

  • Simplify show_source's super calculation by @st0012 in #807
  • Prevent a warning: setting Encoding.default_external by @mame in #810
  • [DOC] RDoc for module IRB by @BurdetteLamar in #738
  • Remove documents about deprecated/WIP features and some slight adjustments by @st0012 in #811
  • Remove unused lvar in mesure command test by @tompng in #814
  • Avoid installing bundler manually for yamatanooroti builds by @st0012 in #816
  • [DOC] Change indexes.rdoc to indexes.md by @BurdetteLamar in #812
  • Bump version to v1.11.0 by @st0012 in #818

Full Changelog: v1.10.1...v1.11.0

v1.10.1

05 Dec 16:35
a1e431b
Compare
Choose a tag to compare

What's Changed

πŸ› Bug Fixes

  • Pager should be disabled when TERM=dumb by @st0012 in #800

πŸ›  Other Changes

Full Changelog: v1.10.0...v1.10.1

v1.10.0

03 Dec 17:08
4acc9b8
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

πŸ› Bug Fixes

  • Rescue Exception, ignore warning in completion doc_namespace by @tompng in #777
  • Handle handle_exception's exception by @tompng in #780
  • Fix exception(backtrace=nil) prints nothing by @tompng in #782
  • Rescue errors from main.to_s/inspect when formatting prompt by @hanazuki in #791
  • Change show_source tests into integration tests by @st0012 in #793
  • Scrub past history input before split by @hogelog in #795

πŸ›  Other Changes

  • Fix failure of more command with -R option by @hogelog in #781
  • Fix flaky test case test_autocomplete_with_multiple_doc_namespaces by @hogelog in #786
  • Make rake test run all tests under test/irb/ directory by @st0012 in #794
  • Only install debug with CRuby by @st0012 in #796
  • Update Pry comparison doc's entries about history and pager support by @st0012 in #797
  • Disable pager in eval_history test by @tompng in #799
  • Bump version to v1.10.0 by @st0012 in #798

New Contributors

Full Changelog: v1.9.1...v1.10.0

v1.9.1

21 Nov 13:04
997df3e
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Enable completion setting through IRB_COMPLETOR by @ima1zumi in #771

πŸ› Bug Fixes

  • Fix irb-1.9.0 crash on {}. completion by @tompng in #764

πŸ›  Other Changes

  • Remove racc from Gemfile by @st0012 in #760
  • require 'irb/version to test completion of constant IRB::VERSION by @tompng in #763
  • Bump version to 1.9.1 by @tompng in #773

Full Changelog: v1.9.0...v1.9.1

v1.9.0

10 Nov 19:29
41548b8
Compare
Choose a tag to compare

What's Changed

✨ Enhancements

  • Type based completion using Prism and RBS by @tompng in #708
  • Add command line option to select which completor to use by @tompng in #754

πŸ› Bug Fixes

πŸ›  Other Changes

Full Changelog: v1.8.3...v1.9.0