Skip to content

Unofficial changelog

Ryan Hendrickson edited this page May 8, 2017 · 5 revisions

This is a community-edited staging ground for changes associated with each release that haven't yet been described on livescript.net.

1.5.0

Breaking changes

  • The LHS of [a, ..., b, c, d] = [1 2 3] now behaves the same as [a, ...m, b, c, d] (See #858.)
  • To spread an operator over a list literal, the list must be preceeded with a splat. (See #863.)

Features

  • REPL gains a saved history file and autocompletion for globals (#695)
  • Embedded source maps get generated when requiring a .ls file (#786)
  • .json.ls files are handled appropriately when required (#884)
  • Class members are now assigned using the ClassName.prototype.memberName = pattern that permits JS optimization tools to identify them as such (#853)
  • [for x by y] (#837)
  • [.. for from i to j by k] (#859)

Fixes

  • Grouping of logical expressions in match cases (#584)
  • Bound binary operators (#634)
  • Yield inside for-let (#749)
  • Yield is callable (#823)
  • Error evaluating .ls files with source maps on (#830)
  • Windows path bug (#835)
  • Loop edge cases you are very unlikely to encounter (#841)
  • Heregexes (#844)
  • Autovivification with slices (#847)
  • Parsing error with nested comprehensions (#854)
  • Performance improvement for splat args (#857)

Post-1.5.0

(Up to date as of 03c6e6a)

Fixes

  • Anaphorization bugs (#743, #957)
  • Report error for labelled and curried functions (#751)
  • Implicit it parameter not defined when used in object shorthand (#899)
  • Forking bug (#916)
  • for in lexing bug (#923)
  • match bug (#926)
  • REPL bugs (#928, #929)
  • Binding access and object slices (#930)
  • Reporting source file line numbers (#953)