CHANGELOG
=========

0.41: 2017-07-27
----------------

Fixes:
- Catch Jedi SystemError.


0.40: 2017-07-27
----------------

Fixes:
- Fix in setup.py: `extras_require` instead of `extra_require`.
- Catch AssertionError in Jedi completion.
- Use __main__.__dict__ for globals and locals.

New features:
- Support `user_ns` arg for compatibility with start_ipython.


0.39: 2017-03-28
----------------

Fixes:
- Fixed bug in run_ptipython. (It could fail to start if the config directory
  already existed.)


0.38: 2017-03-26
----------------

Fixes:
- Fixed syntax error in run_ptipython script.


0.37: 2017-03-26
----------------

Fixes:
- Display 'VISUAL BLOCK' and 'INSERT' when we're in these modes.
- Handle ValueError in PythonValidator. Python2 raises ValueError if the input
  contains an invalid escape sequence.
- Use load_key_bindings instead of KeyBindingsManager. (For the latest
  prompt_toolkit.)
- Set 'reverse_vi_search_direction'. (Search backwards when '/' was pressed in
  Vi mode.)
- Check for symlink when creating config dir.
- Make default config dir filepath OS independent.
- Remove minor python version in entry point.
- Fixed .ptpython directory creation in run_ptpython.

New features:
- Also accept Ctrl-D for quitting the 'exit confirmation' dialog.

Requires prompt_toolkit 1.0.14.


0.36: 2016-10-16
----------------

New features:
- Support for editing in Vi block mode. (Only enabled for
  prompt_toolkit>=1.0.8.)

Fixes:
- Handle two Jedi crashes. (GitHub ptpython issues #136 and #91.)

0.35: 2016-07-19
----------------

Fixes:
- Fix in completer. Don't hang when pasting a long string with many
  backslashes.
- Fix Python2 bug: crash when filenames contain non-ascii characters.
- Added `pt[i]pythonX` and `pt[i]pythonX.X` commands.
- Compatibility with IPython 5.0.


0.34: 2016-05-06
---------------

Bugfix in ptipython: reset input buffer before every read in run().


0.33: 2016-05-05
---------------

Upgrade to prompt_toolkit 1.0.0

Improvements:
- Unindent after typing 'pass'.
- Make it configurable whether or not a blank line has to be inserted after the output.


0.32: 2016-03-29
---------------

Fixes:
- Fixed bug when PYTHONSTARTUP was not found.
- Support $PYTHONSTARTUP for ptipython.


0.31: 2016-03-14
---------------

Upgrade to prompt_toolkit 0.60


0.30: 2016-02-27
---------------

Upgrade to prompt_toolkit 0.59


0.29: 2016-02-24
----------------

Upgrade to prompt_toolkit 0.58

New features:
- Improved mouse support


0.28: 2016-01-04
----------------

Upgrade to prompt_toolkit 0.57


0.27: 2016-01-03
----------------

Upgrade to prompt_toolkit 0.56


0.26: 2016-01-03
----------------

Upgrade to prompt_toolkit 0.55

Fixes:
- Handle several bugs in Jedi.
- Correctly handle sys.argv when pt(i)python is started with --interactive.
- Support for 24bit true color.
- Take compiler flags into account for ptipython.


0.25: 2015-10-29
----------------

Upgrade to prompt_toolkit 0.54

Fixes:
- Consider input multiline when there's a colon at the end of the line.
- Handle bug in Jedi.
- Enable search bindings in history browser.


0.24: 2015-09-24
----------------

Upgrade to prompt_toolkit 0.52


0.23: 2015-09-24
----------------

Upgrade to prompt_toolkit 0.51

New features:
- Mouse support
- Fish style auto suggestion.
- Optionally disabling of line wraps.
- Use Python3Lexer for Python 3.


0.22: 2015-09-06
----------------

Upgrade to prompt_toolkit 0.50

Fixes:
- Correctly accept file parameter in the print function of
  asyncssh_repl.ReplSSHServerSession.
- Create config directory if it doesn't exist yet (For IPython entry point.)

New features:
- Implementation of history-selection: a tool to select lines from the history.
- Make exit message configurable.
- Improve start-up time: Lazy load completer grammar and lazy-import Jedi.
- Make multi-column the default completion visualisation.
- Implementation of a custom prompts. In_tokens and out_tokens can be
  customized.
- Made an option to show/hide highlighting for matching parenthesis.
- Some styling improvements.


0.21: 2015-08-08
---------------

Upgrade to prompt_toolkit 0.46

Fixes:
- Correctly add current directory to sys.path.
- Only show search highlighting when the search is the current input buffer.
- Styling fix.


0.20: 2015-07-30
---------------

Upgrade to prompt_toolkit 0.45


0.19: 2015-07-30
---------------

Upgrade to prompt_toolkit 0.44

New features:
- Added --interactive option for ptipython.
- A few style improvements.


0.18: 2015-07-15
---------------

Fixes:
- Python 2.6 compatibility.


0.17: 2015-07-15
---------------

Upgrade to prompt_toolkit 0.43

New features:
- Integration with Tk eventloop. (This makes turtle and other Tk stuff work
  again from the REPL.)
- Multi column completion visualisation.


0.16: 2015-06-25
---------------

Upgrade to prompt_toolkit 0.42

Fixes:
- Workaround for Jedi bug. (Signatures of functions with keyword-only arguments.)
- Correctly show traceback on Python 3.
- Better styling of the options sidebar.

New features:
- Exit REPL when input starts with Control-Z.
- Set terminal title.
- Display help text in options sidebar.
- Better colorscheme for Windows.


0.15: 2015-06-20
---------------

Upgrade to prompt_toolkit 0.41

Fixes:
- Correct tokens for IPython prompt.
- Syntax fix in asyncssh_repl.


0.14: 2015-06-16
---------------

Fix:
- Correct dependency for prompt_toolkit.

0.13: 2015-06-15
---------------

New features:
- Upgrade to prompt_toolkit 0.40
- Options sidebar.
- Custom color schemes.
- Syntax highlighting of the output.
- Input validation can now be turned off.
- Determine compiler flags dynamically. (Fixes importing unicode_literals).
- Exit confirmation and dialog.
- Autocompletion of IPython %cat command.
- Correctly render tracebacks on Windows.

0.12: 2015-06-04
---------------

Upgrade to prompt_toolkit 0.39

0.11: 2015-05-31
---------------

New features:
- Upgrade to prompt-toolkit 0.38.
- Upgrade to Jedi 0.9.0
- Fixed default globals for repl (correct __name, __builtins__, etc...)
- Display deprecation warnings in the REPL.
- Added configuration support.
- Added asyncio-ssh-python-embed example.


0.10: 2015-05-11
---------------

Upgrade to prompt-toolkit 0.37.


0.9: 2015-05-07
---------------

Upgrade to prompt-toolkit 0.35.


0.8: 2015-04-26
---------------

Fixed:
- eval() doesn't run using unicode_literals anymore.
- Upgrade to prompt-toolkit 0.34.


0.7: 2015-04-25
---------------

Fixed:
- Upgrade to prompt-toolkit 0.33.

New features:
- Added complete_while_typing option.


0.6: 2015-04-22
---------------

Fixed:
- Upgrade to prompt-toolkit 0.32 which has many new features.

Changes:
- Removal of tab pages + clean up.
- Pressing enter twice will now always automatically execute the input.
- Improved Control-D key binding.
- Hide docstring by default.


0.5: 2015-01-30
---------------

Fixed:
- Tab autocompletion on first line.
- Upgrade to prompt-toolkit 0.31

New features:
- Simple autocompletion for IPython magics.

0.4: 2015-01-26
---------------

Fixed:
- Upgrade to prompt-toolkit 0.30

0.3: 2015-01-25
---------------

Fixed:
- Upgrade to prompt-toolkit 0.28

0.2: 2015-01-25
---------------

Moved ptpython code from prompt-toolkit inside this repository.

0.1: 2014-09-29
---------------

Initial ptpython version. (Source code was still in the
prompt-toolkit repository itself.)
