Skip to content

Releases: gruns/icecream

icecream v2.1.8

14 Sep 09:33
Compare
Choose a tag to compare

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

17 Aug 16:11
Compare
Choose a tag to compare

Added: Configurable line wrap length.
Improved: The package no longer includes tests in the production installation.

icecream v2.1.6

14 Aug 08:57
Compare
Choose a tag to compare

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

25 Jun 18:03
Compare
Choose a tag to compare

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

09 Jan 16:28
Compare
Choose a tag to compare
  • 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

21 Jul 09:17
Compare
Choose a tag to compare

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 #122. Huge thank you to @HelinXu!
Changed: Raise TypeError if no arguments are provided to ic.configureOutput().

IceCream v2.1.2.

15 Feb 23:36
Compare
Choose a tag to compare
  • Added: Ability to register and unregister singledispatch argumentToString functions. See #115. Huge thank you to @atusy!

IceCream v2.1.1.

22 Jun 20:52
Compare
Choose a tag to compare
  • Added: Support for Python 3.9.
  • Changed: Use timestamps in the local timezone instead of less helpful UTC timestamps.

IceCream v2.1.0.

16 Apr 18:37
Compare
Choose a tag to compare
  • 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.

IceCream v2.0.0.

26 Oct 03:38
Compare
Choose a tag to compare
  • 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.