Releases: sebastian-software/python2ts
Releases · sebastian-software/python2ts
pythonlib: v2.0.4
python2ts: v1.4.3
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
pythonlib: v2.0.2
pythonlib: v2.0.1
pythonlib: v2.0.0
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
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)