1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
================================================================================
v2.1.3
================================================================================
Added: The contextAbsPath= parameter to ic.configureOutput() which, when
True, outputs absolute paths, like /path/to/foo.py, instead of just
filenames, like foo.py. See https://github.com/gruns/icecream/pull/122.
Huge thank you to @HelinXu!
Changed: Raise TypeError if no arguments are provided to
ic.configureOutput().
================================================================================
v2.1.2
================================================================================
Added: Ability to register and unregister singledispatch argumentToString
functions. See https://github.com/gruns/icecream/pull/115. Huge thank you
to @atusy!
================================================================================
v2.1.1
================================================================================
Added: Support for Python 3.9.
Changed: Use timestamps in the local timezone instead of less helpful
UTC timestamps.
================================================================================
v2.1.0
================================================================================
Added: install() and uninstall() functions that add or remove ic() from
the builtins module.
Changed: Switch to ast.literal_eval() to determine if an argument and
value are the same, and thus only the value should be output. Huge
thank you to Ed Cardinal and Alex Hall.
================================================================================
v2.0.0
================================================================================
Added: Support for Python 3.8.
Removed: Support for Python 3.4.
Changed: Switched core AST parsing engine to Alex Hall's executing
(https://github.com/alexmojaki/executing). Huge thank you to Alex Hall.
Changed: Whitespace in arguments is no longer collapsed. Indentation in
multiline arguments is now preserved.
================================================================================
v1.5.0
================================================================================
Fixed: Support multiline container arguments. e.g.
ic([a,
b])
Fixed: Include LICENSE.txt in source distributions.
Changed: Collapse argument whitespace, e.g. ic([ a, b ]) -> ic| [a, b].
================================================================================
v1.4.0
================================================================================
Added: Colorize output with pygments.
Added: Test Python style with pycodestyle.
Fixed: Parse and print tuple arguments correctly, e.g. ic((a, b)).
Fixed: Fail gracefully when the underlying source code changes during execution.
Changed: Print values (e.g. 1, 'foo', etc) by themselves, nonredundantly. For
example, ic(3) now prints 'ic| 3' instead of 'ic| 3: 3'.
================================================================================
v1.3.1
================================================================================
Removed: Support for Python 3.3, which reached EOL on 2017-09-29.
Fixed: ic() invocations that fail to find or access source code (e.g. eval(),
exec(), python -i, etc) now print an error message instead of throwing an
IOError (Python 2) or OSError (Python 3).
================================================================================
v1.3
================================================================================
First release.
This changelog wasn't maintained prior to v1.3.
|