All Versions
71
Latest Version
Avg Release Cycle
126 days
Latest Release
1467 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v0.9.8.1 Changes
- ๐ fixed broken --no-plugins option
- ๐ Ensure ARGV is not mutated during option parsing.
- โ Use a more rbx-friendly test for unicodeness
- ๐ Use rbx-{18,19}mode as indicated http://about.travis-ci.org/docs/user/languages/ruby/
- ๐ Don't explode in gem-list [Fixes #453, #454]
- ๐ Check for command-name collision on assignment [Fixes #450]
-
v0.9.7 Changes
October 25, 2011MAJOR NEW FEATURES:
- โฌ๏ธ upgraded ls command to have a more intuitive interface
- โ added automatic indentation (thanks YorickPeterse!)
- โ added Pry::Method wrapper class to encapsulate method-related functionality
complete CHANGELOG:
- ๐ fixed syntax highlighting for object literals
- ๐ fixed ActiveSupport method-naming conflict with "in?"
- โ added --super option to edit-method, show-method, and friends - making it easier to operate on superclass methods
- officially added edit --in to open previous expressions in an editor
- whereami now works for REPL-defined code
- ๐ started using JRuby parser for input validation in JRuby (thanks pangloss!)
- ๐ fixed bug where ~/.pryrc could be loaded more than once (thanks kelseyjudson!)
- โ added parse_options! helper to pull option parsing out of commands
- Pry now respects the terminal's input encoding
- ๐ moved some requires out of the startup process for improved speed
- 0๏ธโฃ added input_array info to DEFAULT_PROMPT, e.g [1] pry(main)>
- โ added --no-history option to pry binary (prevent history being LOADED, history will still be saved)
-
v0.9.7.4 Changes
- ๐ ls -M now works in modules (bugfix)
- โ added exception message for bad cd object/path
- no longer die when encounter exceptions in .pryrc
- ๐ baked in CoolLine support
- Pry.config.input in .pryrc now respected
-
v0.9.7.3 Changes
October 28, 2011- ๐ really fixed indentation for 'super if' and friends
- ๐ Fixed indentation for tmux
- โ added Pry.config.correct_indent option (to toggle whether indentation
- corrected optional param behaviour for method signatures: e.g Signature meth(param1=?, param2=?)
-
v0.9.7.2 Changes
October 27, 2011- ๐ fixed indentation for 'super if' and 'ensure', 'next if', etc
- refactored Pry#run_command so it can accept an eval_string parameter (so amend-line and so on can work with it)
- ๐ changed D so it no longer resets indent level automatically
-
v0.9.7.1 Changes
October 26, 2011- ๐ fixed gem dependency issues
-
v0.9.6 Changes
- โช restored previous behavior of command-line switches (allowing "-rfilename")
- โ removed -p option (--play) from edit command
edit
with no arguments now edits the current or most recent expressionedit
auto-reloads .rb files (need to specify -n to suppress)- โ added -p option (--patch) to edit-method command, which allows monkeypatching methods without touching the original file
- edit-method can now edit REPL-defined methods
- cat --ex now works on exceptions in REPL-defined code
- play -m now uses eval_string.replace()
- play -m --open uses show-input to show play'd code
- โ added "unindent" helper to make adding help to commands easier
- local ./.pryrc now loaded after ~/.pryrc if it exists
- ๐ cat --ex N and edit --ex N now can navigate through backtrace, where cat --ex (with no args) moves through successive levels of the backtrace automatically with state stored on the exception object itself
- new option Pry.config.exception_window_size determines window size for cat --ex
- input_stack now implemented - pushing objects onto a pry instance's input_stack causes the instance to read from those objects in turn as it encounters EOF on the previous object. On finishing the input_stack the input object for the pry instance is set back to Pry.config.input, if this fails, pry breaks out of the REPL (throw(:breakout)) with an error message
- Pry.config.system() defines how pry runs system commands
- now injecting target_self method into command scope
- play now performs 'show-input' always unless eval_string contains a valid expression (i.e it's about to be eval'd)
- ๐ play and hist --replay now push the current input object onto the input_stack before redirecting input to a StringIO (works much better with pry-remote now)
-
v0.9.6.2 Changes
- โฌ๏ธ downgrading to CodeRay 0.9.8 due to problems with 1.0 and rails (autoloading problem) see #280 on pry and #6 on CodeRay
- also added (as a minor feature) cirwin's implementation of edit --in
- โ added early break/exit for objectpath errors (the 'cd 34/@hello/bad_path/23')
-
v0.9.5 Changes
MAJOR NEW FEATURES:
- ๐ JRuby support, including show-method/edit-method and editor integration on both 1.8 and 1.9 versions
- extended cd syntax: cd ../@x/y
- play command now works much better with in array (this is a very powerful feature, esp with Pry::NAV_PROMPT)
- history saving/loading is now lightning fast
- 'edit' (entered by itself) now opens current lines in input buffer in an editor, and evals on exit
- 'edit' command is also, in general more intelligent
- ls output no longer in array format, and colors can be configured, e.g: Pry.config.ls.ivar_color = :bright_blue
- ๐ new switch-to command for moving around the binding stack without exiting out of sessions
- more sophisticated prompts, Pry::NAV_PROMPT to ease deep spelunking of code
- ๐ major bug fix for windows systems
- ๐ much better support for huge objects, should no longer hang pry (see #245)
- ๐ cat --ex and edit --ex now work better
complete CHANGELOG:
- tempfile should end in .rb (for edit -t)
- ls output should not be in array format
- ๐ fix history saving (should not save all of Readline::HISTORY, but only what changed)
- prevent blank lines going to Readline::HISTORY (thanks cirwin!)
- ensure that cat --ex emulates the
whereami
format - includes line numbers and formatted the same, etc - ๐ fixed bug #200 ( https://github.com/pry/pry/issues/200 )- string interpolation bug (thanks to ryanf)
- โก๏ธ show-doc and stat now display method visibility (update WIKI)
- โ got rid of warnings caused by stricter ruby 1.9.3 rules
- โ remove interpolation of command names and fix interpolation error message (update WIKI) (thanks ryanf!)
- 'nested sessions' now use binding stacks (so each instance manages its own collection of bindings without spawning other instances)
- 'cd ..' just pops a binding off the binding_stack with special behaviour when only one binding in stack - it breaks out of the repl loop
- โ added switch-to command (like jump-to but doesn't unwind the stack)
- ๐ show-method and show-doc now accept multiple method names
- control_d hook added (Pry.config.control_d_handler)
- behaviour of d is now to break out of current expr if in multi-line expr, or break out of current context if nested, or break out of pry repl loop if at top-level
- can no longer interpolate command name itself e.g #{x}-#{y} where x = "show" and y = "doc"
- C no longer captured
- got rid of Pry.active_instance, Pry.last_exception and friends.
- also special locals now shared among bindings in a pry instance (i.e ex (and friends) re-injected into new binding entered with 'cd')
- renamed inp and out to in and out (to avoid collisions with actual locals in debugging scope)
- โ added third parameter to prompts, the pry instance itself (_pry) see https://github.com/pry/pry/issues/233 for why it's important
- cd behaviour when no args performs the same as
cd /
- commands with keep_retval can now return nil (to suppress output now return 'void' instead)
- Pry::CommandProcessor::Result introduced
- Pry.view_clip() modified to be more robust and properly display Class#name
- edit command when invoked with no args now works like edit -t
- when edit is invoked (with no args or with -t) inside a multi-line expression input buffer, it dumps that buffer into a temp file and takes you to it
- got rid of Pry#null_input? since all that was needed was eval_string.empty?
- ๐ cd command now supports complex syntax: cd ../@y/y/../z
- โ JRuby is no longer a 2nd class citizen, almost full JRuby support, passing 100% tests
- added Pry::NAV_PROMPT (great new navigation prompt, per robgleeson) and Pry::SIMPLE_PRINT for simple (IRB-style) print output (just using inspect)
- pry now passed as 3rd parameter to :before_session hook
- ls colors now configurable via Pry.config.ls.local_var_color = :bright_red etc
- ๐ง ls separator configurable via, e.g Pry.config.ls.separator = " "
- Pry.view_clip() now only calls inspect on a few immediates, otherwise uses the #<> syntax, which has been truncated further to exclude teh mem address, again related to #245
-
v0.9.3 Changes
- ๐ป cat --ex (cats 5 lines above and below line in file where exception was raised)
- ๐ป edit --ex (edits line in file where exception was raised)
- edit -t (opens a temporary file and evals it in current context when closed)
- ๐
pry -r
requires now happen after plugin loading (so as not to interfere with - new Pry.config.disable_auto_reload option, for turning off auto reloading by edit-method and related (thanks ryanf)
- โ add better error messages for
cd
command - ๐ fixed exotic object regression - BasicObject.new etc now return "=> unknown"
- โ added reload-method command (reloads the associated file of a method)
- converted: import => import-set, version => pry-version, install => install-command
- ๐ Pry.config.command_prefix support (thanks ryanf!)
- ๐ fixed indentation for simple-prompt
- hist command now excludes last line of input (the command invocation itself)
- hist now has
history
alias - โ missing plugins no longer raise exception, just print a warning to $stderr
- ๐ fixed jedit editor support