Skip to content

v2.1.0 [The Spanish Inquisition]

Choose a tag to compare

@evhub evhub released this 25 Oct 03:13
· 829 commits to master since this release

Though a small release relative to v2.0.0, v2.1.0 includes a couple of pretty exciting changes, most notably custom operators and substantial performance improvements. See Coconut's documentation for more information on all of the features listed below.

Major changes:

  • #4, #674: Coconut now supports custom operators! See the documentation for more information on how to declare, define, and use custom operators.
  • #147: Very substantial performance improvements (up to 100x) when compiling small quantities of code (e.g. at the interpreter, in Jupyter notebooks, when using xonsh, etc.). Compile times for large files should be unchanged.
  • #673: New multi_enumerate built-in for enumerating multi-dimensional arrays (e.g. numpy arrays).

Minor changes:

  • #385: Universalized imports no longer trigger mypy errors.
  • xonsh support updated to the latest xonsh version, should now be enabled by default without requiring xonsh install coconut, and should now be substantially faster.
  • #672: New in <expr> pattern for easier containment checking in pattern-matching.
  • #556: Coconut now respects NOQA/noqa comments when showing warnings for unused imports in --strict mode.