All Versions
71
Latest Version
Avg Release Cycle
126 days
Latest Release
1467 days ago

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, 2011

    MAJOR 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 expression
    • edit 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