Releases: gruns/icecream
icecream v2.1.8
Added: You can pass a pre-configured ic instance to builtins.
Added: You can configure IceCream to output to either stdout or stderr.
Big thanks to the community! This release was made possible by the people who contributed to the library π
icecream v2.1.7
Added: Configurable line wrap length.
Improved: The package no longer includes tests in the production installation.
icecream v2.1.6
Fixed: Pretty-printing of SymPy (and similar) objects.
Previously, calling ic() on structures containing SymPy objects could raise a TypeError because pprint.pformat(sort_dicts=True) attempted to sort unorderable keys. IceCream now keeps sort_dicts=True on the fast path and falls back to sort_dicts=False when pprint raises, ensuring robust output without crashes.
icecream v2.1.5
Changed: Improved printing for variables of type str
.
Fixed issues that affected the output of multiline strings and strings containing special characters such as escaped newlines and tabs.
Strings are now printed exactly as they are, faithfully representing their actual value.
icecream v2.1.4
- Changed: Drop support for all Python versions prior to Python 3.8, which are now long past EOL. Notably: Python 2 is no longer supported.
- Changed: Update the 'executing' dependency to >= v2.1.0 to improve source code analysis and support Python 3.13.
Icecream v2.1.3
IceCream v2.1.2.
IceCream v2.1.1.
- Added: Support for Python 3.9.
- Changed: Use timestamps in the local timezone instead of less helpful UTC timestamps.
IceCream v2.1.0.
- Added:
install()
anduninstall()
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.
IceCream 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.