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

Changelog History
Page 2

  • v0.11.0 Changes

    September 20, 2017
    • โž• Add alias 'whereami[?!]+' for 'whereami' command. (#1597)
    • ๐Ÿ‘Œ Improve Ruby 2.4 support (#1611):
      • Deprecated constants are hidden from ls output by default, use the -d switch to see them.
      • Fix warnings that originate in Pry while using the repl.
    • ๐Ÿ‘Œ Improve completion speed in large applications. (#1588)
    • ๐Ÿ–จ Pry::ColorPrinter.pp: add newline argument and pass it on to PP. (#1603)
    • ๐Ÿ Use less or system pager pager on MS Windows if it is available. (#1512)
    • โž• Add Pry.configure as an alternative to the current way of changing configuration options in .pryrc files. (#1502)
    • โž• Add Pry::Config::Behavior#eager_load! to add a possible workaround for issues like (#1501)
    • โœ‚ Remove Slop as a runtime dependency by vendoring v3.4 as Pry::Slop. People can depend on Slop v4 and Pry at the same time without running into version conflicts. (#1497)
    • ๐Ÿ›  Fix auto-indentation of code that uses a single-line rescue (#1450)
    • โœ‚ Remove "Pry::Config#refresh", please use "Pry::Config#clear" instead.
    • Defining a method called "ls" no longer breaks the "ls" command (#1407)
    • Don't raise when directory permissions don't allow file expansion (#1432)
    • ๐Ÿ“š Syntax highlight <tt> tags in documentation output.
    • โž• Add support for BasicObject subclasses who implement their own #inspect (#1341)
    • ๐Ÿ›  Fix 'include RSpec::Matchers' at the top-level (#1277)
    • โž• Add 'gem-readme' command, prints the README file bundled with a rubygem
    • โž• Add 'gem-search' command, searches for a gem with the rubygems.org HTTP API
    • ๐Ÿ›  Fixed bug in the cat command where it was impossible to use line numbers with files (#1349)
    • ๐Ÿ›  Fixed uncaught Errno::EOPNOTSUPP exception when $stdout is a socket (#1352)
    • โš  Display a warning when you cd'ed inside a C object and executed 'show-source' without arguments (#691)
    • ๐Ÿ‘‰ Make the stagger_output method more reliable by reusing possibly available Pry instance (#1364)
    • ๐Ÿ‘‰ Make the 'gem-install' message less confusing by removing backticks (#1350)
    • ๐Ÿ›  Fixed error when Pry was trying to load incompatible versions of plugins (#1312)
    • ๐Ÿ›  Fixed bug when hist --clear led to ArgumentError (#1340)
    • ๐Ÿ›  Fixed the "uninitialized constant Pry::ObjectPath::StringScanner" exception during autocomplete (#1330)
    • Secured usage of colours with special characters (RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE) in Pry::Helpers::Text (#493)
    • ๐Ÿ›  Fixed regression with pry -e when it messes the terminal (#1387)
    • ๐Ÿ›  Fixed regression with space prefixes of expressions (#1369)
    • Introduced the new way to define hooks for commands (with Pry.hooks.add_hook("{before,after}_commandName")). The old way is deprecated, but still supported (with Pry.commands.{before,after}_command) (#651)
    • โœ‚ Removed old API's using Pry::Hooks.from_hash altogether
    • โœ‚ Removed hints on Foreman support (see this)
    • ๐Ÿ›  Fixed support for the tee command (#1334)
    • ๐Ÿ‘ Implemented support for CDPATH for ShellCommand (#1433, #1434)
    • ๐Ÿ“œ Pry::CLI.parse_options does not start Pry anymore (#1393)
    • ๐Ÿ The gem uses CPU-less platforms for Windows now (#1410)
    • โž• Add Pry::Config::Memoization to make it easier to implement your own Pry::Config::Default class.(#1503)
    • 0๏ธโƒฃ Lazy load the config defaults for Pry.config.history and Pry.config.gist.
  • v0.10.4

    July 11, 2016
  • v0.10.3

    October 15, 2015
  • v0.10.2

    September 25, 2015
  • v0.10.1 Changes

    • ๐Ÿ›  Fix bugs with jruby
    • ๐Ÿšš Move to rspec for testing (from bacon)
    • โš  Clean up ruby warnings
  • v0.10.0 Changes

    ๐Ÿ”‹ Features
    • โž• Added a watch command that lets you see how values change over time.
    • โž• Added an experimental Pry.auto_resize! method
      • Makes Pry notice that your window has resized and tell Readline about it
      • Fixes various bugs with command history after a window resize
      • Off by default, but can be called from your .pryrc if you're brave
    • play now has an -e/--expression flag
      • Evaluates until the end of the first valid expression
    • History gets appended to ~/.pry_history after every input, not just at quit
    • Return values render with more accurate syntax highlighting
    • Return values start rendering immediately and stream into the pager
    • ๐Ÿ‘‰ User can override .pryrc location by setting $PRYRC env var (#893)
    • ๐Ÿ‘‰ User can whitelist objects whose inspect output should appear in prompt (#885)
      • See Pry.config.prompt_safe_objects
    • whereami is now aliased to @
    • โž• Added arguments to whereami:
      • -m shows the surrounding method
      • -c shows the surrounding class
      • -f shows the entire file
    • ๐Ÿ”ง Lazy load configuration values (Pry.config). (#1096)
    • Defer requiring readline until Pry is started for the first time. (#1117)
    • Add option to disable input completer through _pry_.config.completer = nil
    • โž• Add list-prompts command. (#1175)
      • Lists the available prompts available for use.
    • โž• Add change-prompt command. (#1175)
      • Switches the current prompt, by name.
    • โž• Add list-inspectors command. (#1176)
      • Lists the inspectors available to print Ruby return values.
    • โž• Add change-inspector command. (#1176)
      • Switches the current inspector, by name.
    • โž• Add show-source -e. (#1185)
      • Evaluate the given Ruby expression and show the source of its return value.
    • Add Pry.config.windows_console_warning(#1218)
      • Windows JRuby users who don't want warnings about ansicon can set Pry.config.windows_console_warning = false.
    • โž• Add arguments to play command.
      • -p prints the code before playing it.
      • -e allows you to play expressions from your session.
    • โž• Add cd - to switch to the previous binding.
    • ๐Ÿ‘ Allow prying into frozen objects.
    Dependency changes
    • โœ‚ Remove dependency on ffi gem on JRuby (#1158)
    • โœ‚ Remove optional dependency on Bond (#1166)
      • Bond support has been extracted to the pry-bond plugin
    • โœ‚ Remove dependency on openstruct (#1096)
    • โฌ‡๏ธ Drop support for Ruby 1.8.7 (0.9.12.x will continue to be available)
    • โž• Add support for Ruby 2.1
    • Require Coderay ~> 1.1.0
    • โœ‚ Remove deprecated hooks API (#1209)
    • โž• Add 64-bit windows support.
    ๐Ÿ› Bug fixes, etc.
    • ๐Ÿ‘ The gem-install command can require gems like net-ssh thanks to better logic for guessing what path to require. (#1188)
    • toggle-color command toggles the local _pry_.color setting instead of the global Pry.color.
    • โšก๏ธ Update Pry::CLIPPED_PRINT to include a hex representation of object ID when printing a return value. (#1162)
    • Wrap exceptions in a proxy instead of adding singleton methods. (#1145)
      • Pry#last_exception= now supports exception objects that have been frozen.
    • binding.pry inside .pryrc file now works, with some limitations (@richo / #1118)
    • โž• Add support for BasicObjects to ls (#984)
    • ๐Ÿ‘ Allow ls -c <anything> (#891)
    • ๐Ÿ›  Fix indentation not working if the mathn stdlib was loaded (#872)
    • ๐Ÿ›  Fix hist's --exclude-pry switch (#874)
    • ๐Ÿ›  Fix gem-install on JRuby (#870)
    • ๐Ÿ›  Fix source lookup for instrumented classes (#923)
    • ๐Ÿ‘Œ Improved thread safety when multiple instances are running (#944)
    • Make edit ignore -n/--no-reload flag and disable_auto_reload config in cases where the user was editing a tempfile
    • ๐Ÿ‘‰ Make gem-cd use the most recent gem, not the oldest
    • ๐Ÿ‘‰ Make install-command honor .gemrc switches (#666)
    • ๐Ÿ‘‰ Make hist with no parameters show just the current session's history (#205)
      • hist --all shows older history
    • ๐Ÿ‘‰ Make -s/--super flag of show-source/show-doc work when method name is being inferred from context (#877)
    • ๐Ÿ”Œ Rename --installed-plugins flag to --plugins
    • Strip ANSI codes from prompt before measuring length for indentation (#493)
    • ๐Ÿ›  Fix bug in edit regarding recognition of file names without suffix.
    • โฌ‡๏ธ Reduced download size by removing tests etc. from distributed gem.
    Dev-facing changes
    • CommandSet#commands, sometimes referenced through Pry.commands.commands, renamed to CommandSet#to_hash. It returns a duplicate of the internal hash a CommandSet uses.
    • CommandSet#keys is now an alias of CommandSet#list_commands.
    • All commands should now reference configuration values via _pry_.config (local) and not Pry.config (global). (#1096)
      • This change improves support for concurrent environments and context-specific Pry sessions. _pry_.config inherits default values from Pry.config but can override them locally.
    • rake pry now accepts switches prefixed with _ (e.g., rake pry _v)
    • Pagers now act like IOs and accept streaming output
      • See _pry_.pager.page and _pry_.pager.open.
    • The Pry class has been broken up into two smaller classes.
      • Pry represents non-UI-specific session state, including the eval string
      • Pry::REPL controls the user-facing interface
      • This should make it easier to drive Pry from alternative interfaces
      • Pry.start now has a :driver option that defaults to Pry::REPL
      • This involved a lot of refactoring and may break plugins that depend on the old layout
    • โž• Add ColorPrinter subclass of PP for colorized object inspection
    • โž• Add [] and []= methods to CommandSet, which find and replace commands
      • Example: Pry.commands["help"] = MyHelpCommand
    • ๐Ÿ”จ The completion API has been refactored (see fdb703a8de4ef3)
    • Pry.config.input_stack (and the input stack concept in general) no longer exists
    • There's a new Pry::Terminal class that implements a number of different methods of determining the terminal's dimensions
    • โž• Add ReplTester class for high-level simulation of Pry sessions in tests
    • โž• Add Pry.main. Returns the special instance of Object referenced by self of TOPLEVEL_BINDING: "main".
    • ๐Ÿ”„ Changed second argument of Pry.view_clip() from Fixnum to Hash to support returning a string with or without a hex representation of object ID. (#1162)
    • The output and pager objects will now strip color-codes, so commands should always print in color.
    • Commands now have a state hash that is persistent across invocations of the command in the same pry session.
  • v0.9.12 Changes

    February 12, 2013
    ๐Ÿ”‹ Features
    • ๐Ÿ‘€ pry --gem (see 19bfc13aa)
    • show-source now works on commands created with create_command
    • whereami now has -m (method), -c (class), and -f (file) options
    • โš  show-source now falls back to superclass (and displays warning) if it can't find class code
    • show-source/show-doc now indicate when -a option is available
    ๐Ÿ› Bug fixes, etc.
    • ๐Ÿ›  Fix commands breaking due to Slop looking at ARGV instead of command parameters (#828)
    • ๐Ÿ›  Fix pager breaking in some situations (#845)
    • ๐Ÿ›  Fix broken rendering of some docs (#795)
    • โš  Silence warnings during failed tab-completion attempts
    • ๐Ÿ›  Fix broken prompt when prompt is colored (#822 / #823)
    • โž• Added reload-method as alias for reload-code (for backwards compatibility)
    • ๐Ÿ‘€ Reopen Readline.output if it is not a tty (see 1538bc0990)
  • v0.9.12.6 Changes

    January 28, 2014
    • Don't fail if Bond is not installed (#1106)
  • v0.9.12.5 Changes

    January 27, 2014
    • ๐Ÿ›  Fix early readline errors by deferring require of readline (#1081, #1095)
  • v0.9.12.4 Changes

    November 23, 2013
    • ๐Ÿ›  Fix issue with Coderay colors being black, even when on a black background (#1016)