github locutusjs/locutus v3.0.4

5 hours ago

Released: 2026-03-04. Diff.

Expansion

  • Added golang/strconv/Unquote with Go-style quoted literal decoding ("...", '...', and raw backquoted literals).
  • Added python/re/sub with regex replacement, count-limited substitution, callable replacements, and Python-like replacement backreferences.
  • Added ruby/Array/slice_when for boundary-driven chunking with callback predicates.
  • Added rust/str/split_inclusive for delimiter-preserving split behavior.
  • Added perl/core/pack with a pragmatic binary template subset (A, a, C, n, N, v, V, H, h).
  • Added Swift string functions:
    • swift/String/split
    • swift/String/replacingOccurrences
  • Added Kotlin functions:
    • kotlin/collections/groupBy
    • kotlin/text/chunked
  • Added Haskell list functions:
    • haskell/list/permutations
    • haskell/list/transpose

Infrastructure

  • Extended Go parity translator helpers to support golang/strconv/Unquote tuple-to-native parity checks.
  • Extended Rust parity translator helpers to support rust/str/split_inclusive result formatting.
  • Added parity skip entries for callback/binary edge cases:
    • ruby/Array/slice_when
    • perl/core/pack

Full changelog: https://github.com/locutusjs/locutus/blob/main/CHANGELOG.md

Don't miss a new locutus release

NewReleases is sending notifications on new releases.