Skip to content

0.5.4

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Mar 21:22
588ae96

Added

  • Added support for reading scripts from stdin by passing "-" as the script name
  • Added support for close codes in the net WebSocket APIs:
    • A close code can be sent by passing it to socket.close
    • A received close code can be checked with the socket.closeCode value, which is populated after a socket has been closed - note that using socket.close will not set the close code value, it is only set when received and is guaranteed to exist after closure

Changed

  • Update to Luau version 0.566

Fixed

  • Fixed scripts having to be valid utf8, they may now use any kind of encoding that base Luau supports
  • The net WebSocket APIs will no longer return nil for partial messages being received in socket.next, and will instead wait for the full message to arrive