Releases: ruby/irb
Releases Β· ruby/irb
v1.14.3
What's Changed
π Bug Fixes
π Documentation
- Avoid generating documentation pages for internal components by @st0012 in #1047
- [DOC] Fix broken rdoc-ref caused by a typo by @st0012 in #1049
π Other Changes
New Contributors
Full Changelog: v1.14.2...v1.14.3
v1.14.2
What's Changed
β¨ Enhancements
π Bug Fixes
- Use correct binding in debug mode by @tompng in #1007
- Remove bignum check from save_history by @tompng in #1018
- Always use alternate sceen on alt-d by @tompng in #988
- Suppress "literal string will be frozen in the future" warning by @tikkss in #1019
- Fix indentation of xstring literal by @tompng in #1038
- Prevent cursor flickering in dancing ruby by @ima1zumi in #1041
- Don't show 'Maybe IRB bug!' in show_source and ls command by @tompng in #1039
- Page the output in irb:rdbg sessions too by @st0012 in #1043
π Documentation
- Improve Debugging with IRB section to make it easier to get started by @st0012 in #1015
- Complete the missing documentation abount the environment variables by @kyanagi in #1028
π Other Changes
- Hash#inspect style has changed in ruby 3.4 by @nobu in #1011
- Change debug test workaround to use ENV RUBY_DEBUG_TEST_UI by @tompng in #1014
- History refactors by @eval in #1013
- Document infinite history by @eval in #1012
- Make rendering test faster using updated yamatanooroti by @tompng in #1001
- Fix rendering test broken by conflict by @tompng in #1016
- Update setup/ruby used in gh-pages workflow because it is failing on ci by @tompng in #1017
- Improve history test's encoding setting by @monkeyWzr in #1022
- On Windows, Process.kill(:TERM) is not supported. by @YO4 in #1026
- Correct ja/help-message for --context-mode and --prompt by @kyanagi in #1029
- Prevent a warning: ambiguous
/
by @hsbt in #1030 - Don't use delegator to install helper methods to main object by @tompng in #1031
- Follow-up refactor of #1031 by @st0012 in #1034
- Store method objects in constants by @st0012 in #1033
- Extract truffleruby workflow by @st0012 in #1035
- Bump version to v1.14.2 by @st0012 in #1045
New Contributors
Full Changelog: v1.14.1...v1.14.2
v1.14.1
What's Changed
β¨ Enhancements
π Bug Fixes
- Fix kill pager pid throwing Errno::ESRCH when pager process already terminated by @tompng in #989
- Colorize command input by @tompng in #983
- Fix easter_egg run without RDoc, fix input-method test run without RDoc by @tompng in #998
- Remove KEYWORD_ALIASES which handled special alias name of irb_break irb_catch and irb_next command by @tompng in #1004
- Use InstructionSequence#script_lines to get method source by @tompng in #1005
- Fix debug command in nomultiline mode by @tompng in #1006
π Documentation
- Update COMPARED_WITH_PRY.md by @alessandro-fazzi in #984
π Other Changes
- Group class methods under
class << self
by @st0012 in #981 - Clear ENV["XDG_CONFIG_HOME"] to avoid loading user-defined irbrc in test by @tompng in #982
- Remove Ruby version checks by @RicardoTrindade in #985
- Move parse_command method to Context by @st0012 in #993
- Make colorize test pass with NO_COLOR env set by @tompng in #994
- Surpressing 'unknown command: βSwitch to inspect mode.β' message by @hsbt in #995
- Skip show_doc tests if RDoc is not available by @hsbt in #997
- Specify commit hash of yamatanooroti by @tompng in #1000
- Use proper locale in history encoding test by @tompng in #1008
- Bump version to v1.14.1 by @st0012 in #1009
New Contributors
- @RicardoTrindade made their first contribution in #985
- @alessandro-fazzi made their first contribution in #984
Full Changelog: v1.14.0...v1.14.1
v1.14.0
v1.13.2
What's Changed
π Bug Fixes
- Add a new initialization step to validate IRB.conf's values by @st0012 in #953
- Reorder ruby lex clauses for unrecoverable first by @kddnewton in #956
- Remove useless Reline::Key.new and update wrong comment for alt+d by @tompng in #963
- Add accidentally dropped disable_irb command back by @st0012 in #964
π Documentation
π Other Changes
- Enhance regexp to account for prism error messages by @kddnewton in #954
- Clean up tmpdir by @nobu in #955
- Suppress Ruby warnings in certain backtrace filtering tests by @st0012 in #966
- fix typos in the
Index of Command-Line Options
by @Suban05 in #967 - Cleanup irbrc generator cache always at teardown by @tompng in #968
- Invalid encoding symbol now raises SyntaxError also in 3.3 by @tompng in #969
- Bump version to v1.13.2 by @st0012 in #970
New Contributors
- @kddnewton made their first contribution in #954
- @Suban05 made their first contribution in #967
Full Changelog: v1.13.1...v1.13.2
v1.13.1
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
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
- @alpaca-tc made their first contribution in #897
- @monkeyWzr made their first contribution in #899
- @okuramasafumi made their first contribution in #903
- @artur-intech made their first contribution in #906
- @joshbroughton made their first contribution in #916
- @Uaitt made their first contribution in #926
- @igaiga made their first contribution in #929
Full Changelog: v1.12.0...v1.13.0
v1.12.0
Highlights
- The
help
command now displays a help message directly, instead of opening ari
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 inrdbg
sessions. - IRB now supports loading
.irbrc
from multiple locations. This means that for most users,~/.irbrc
will also be loaded when aproject/.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
andshow_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
What's Changed
π Bug Fixes
- Fix undef and alias indent by @tompng in #838
- Skip re-setup when creating a child session by @nunosilva800 in #850
- Stop
irb:rdbg
from saving duplicated history when there's no prior history file by @st0012 in #853 - Add a warning for when the history path doesn't exist by @ignacio-chiazzo in #852
- Fix usage of tracer gem and add tests by @nunosilva800 in #857
π Other Changes
- Fix documentation typo,
niL
βnil
by @elebow in #840 - Forward-port ruby-core changes by @hsbt in #841
- Fix some typos by @ydah in #843
- Fix documentation typo,
inin
βin
by @elebow in #842 - Try to use irb instead of rubygems for completion test by @hsbt in #845
- Omit 2 encoding error related tests for TruffleRuby by @st0012 in #854
- Add rubocop with a few basic styling rules by @st0012 in #849
- Require pathname by @st0012 in #860
- Suppress warnings by @nobu in #861
- Bump actions/checkout from 3 to 4 by @dependabot in #863
- Polish tracer integration and tests by @st0012 in #864
- Bump version to v1.11.2 by @st0012 in #865
New Contributors
- @elebow made their first contribution in #840
- @nunosilva800 made their first contribution in #850
- @ignacio-chiazzo made their first contribution in #852
Full Changelog: v1.11.1...v1.11.2
v1.11.1
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
- Remove dead doc by @BurdetteLamar in #819
- Fix type completor section of README by @tompng in #820
- Remove redundant env cleanup in rendering test by @st0012 in #827
- test_recovery_sigint: Ensure precondition is met by @sorah in #829
- Require Reline v0.4.2+ by @st0012 in #834
- Refactor exit command by @st0012 in #835
- Bump version to v1.11.1 by @st0012 in #837
New Contributors
Full Changelog: v1.11.0...v1.11.1