Changelog

v2.1.7

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

v2.1.6

  • Fixed: Pretty-printing of SymPy (and similar) objects. IceCream now falls back to sort_dicts=False for pprint when it encounters unorderable keys, preventing TypeError crashes.

v2.1.5

  • Changed: Improved printing for variables of type str. Multiline strings and strings with special characters are now printed exactly as they are.

v2.1.4

  • Changed: Dropped support for all Python versions prior to Python 3.8. Python 2 is no longer supported.
  • Changed: Updated the 'executing' dependency to >= v2.1.0.

v2.1.3

  • Added: The contextAbsPath parameter to ic.configureOutput() to show absolute paths for file context.
  • Changed: ic.configureOutput() now raises a TypeError if no arguments are provided.

v2.1.2

  • Added: Ability to register and unregister singledispatch argumentToString functions.

v2.1.1

  • Added: Support for Python 3.9.
  • Changed: Use timestamps in the local timezone instead of UTC.

v2.1.0

  • Added: install() and uninstall() functions to add or remove ic() from builtins.
  • Changed: Switched to ast.literal_eval() to determine if an argument and value are the same.

v2.0.0

  • Added: Support for Python 3.8.
  • Removed: Support for Python 3.4.
  • Changed: Switched core AST parsing engine to executing.
  • Changed: Whitespace in arguments is no longer collapsed.

v1.5.0

  • Fixed: Support for multiline container arguments.
  • Fixed: Included LICENSE.txt in source distributions.
  • Changed: Collapsed argument whitespace.

v1.4.0

  • Added: Colorized output with pygments.
  • Fixed: Correctly parse and print tuple arguments.
  • Changed: Print literal values (e.g., ic(3)) by themselves without redundancy.

v1.3.1

  • Removed: Support for Python 3.3.
  • Fixed: ic() invocations in environments without source code access now print an error instead of raising an exception.

v1.3

  • First release.

This changelog wasn't maintained prior to v1.3.