Skip to content

Releases: sebastian-software/python2ts

pythonlib: v2.0.4

23 Jan 10:53
e7143d6

Choose a tag to compare

2.0.4 (2026-01-22)

Bug Fixes

  • filter comments in expressions, 2D slice assignment with ndarray (9a94e18)

python2ts: v1.4.3

23 Jan 10:53
e7143d6

Choose a tag to compare

1.4.3 (2026-01-22)

Bug Fixes

  • class method *args, **kwargs parameter order (9a0893b), closes #62
  • comments in args, f-string debug syntax, scientific notation, bare raise (cd25d79)
  • filter comments in expressions, 2D slice assignment with ndarray (9a94e18)
  • filter comments in set literals (d16359f)
  • handle edge cases for imports, method calls, and abstract classes (3e1c1ba)
  • parenthesized tuple, bytes literals, 2D slice, reserved words (89e2c61)
  • reserved keywords in decorated functions, spread in arrays, nested tuple unpacking (b347544)
  • reserved keywords in destructuring, spread in assignments, tuple comments, doc in classes (6c7263f)

pythonlib: v2.0.3

21 Jan 19:10
3de3e7e

Choose a tag to compare

2.0.3 (2026-01-21)

Bug Fixes

  • transformer: convert ellipsis to Ellipsis constant (#30) (834d122)

pythonlib: v2.0.2

21 Jan 15:49
aed1248

Choose a tag to compare

2.0.2 (2026-01-21)

Bug Fixes

  • isinstance with tuple of types now transpiles to array (284d802), closes #26

pythonlib: v2.0.1

21 Jan 15:01
4dc5727

Choose a tag to compare

2.0.1 (2026-01-21)

Documentation

  • improve README files with marketing focus (9db2108)

pythonlib: v2.0.0

21 Jan 14:13
9cd81b8

Choose a tag to compare

2.0.0 (2026-01-21)

⚠ BREAKING CHANGES

  • hashlib: digest(), hexdigest(), pbkdf2Hmac(), scrypt(), compareDigest() now return Promises and must be awaited.

Features

  • hashlib: convert to async API with Web Crypto support (82b0b58)
  • os: implement conditional exports for browser/Node.js (8e52695)
  • pythonlib: add 13 Python standard library modules (c0bf4ad)
  • pythonlib: add browser entry point for main export (bdba5c5)
  • pythonlib: add browser/Node.js conditional exports (dc03d90)
  • transpiler: add await for async module functions (f43b659)

Bug Fixes

  • address strict eslint rules (8eaf5aa)

Code Refactoring

  • pythonlib: convert fs operations to async API (d18d2f4)
  • remove eslint non-nullable-type-assertion-style override (3287d2f)

Documentation

  • add Node.js, Bun, and zero dependencies badges (a6bdb10)

pythonlib: v1.0.2

21 Jan 09:49
ae68765

Choose a tag to compare

1.0.2 (2026-01-21)

Performance

  • pythonlib: avoid double array copy with toSorted/toReversed (5153259)

Code Refactoring

  • pythonlib: use ES2023 immutable array methods (3ff8805)
  • pythonlib: use ES2024 Iterator Helpers for map/filter (3116980)
  • pythonlib: use ES2024 native Set methods (32e99e0)

Documentation

  • pythonlib: add @module tags for TypeDoc module descriptions (64ad074)
  • pythonlib: enhance JSDoc with Python docs links and descriptions (b4b7e0a)

python2ts: v1.4.2

21 Jan 22:10
b1e4129

Choose a tag to compare

1.4.2 (2026-01-21)

Bug Fixes

  • spread operator in tuples and doc attribute (a8464cd)

python2ts: v1.4.1

21 Jan 20:44
e2e42db

Choose a tag to compare

1.4.1 (2026-01-21)

Bug Fixes

  • chained assignment and tuple unpacking in generators (88cb75c)

python2ts: v1.4.0

21 Jan 20:07
a639cd0

Choose a tag to compare

1.4.0 (2026-01-21)

Features

  • transformer: support implicit string concatenation (#34, #36) (d868888)

Bug Fixes

  • transformer: handle UpdateStatement and variable context managers (#35, #37) (d5c30a4)