Files
Nim/changelog.md
2020-11-16 07:19:17 +01:00

1.3 KiB

v1.6.x - yyyy-mm-dd

Standard library additions and changes

  • prelude now works with the JavaScript target.

  • Added ioutils module containing duplicate and duplicateTo to duplicate FileHandle using C function dup and dup2.

  • The JSON module can now handle integer literals and floating point literals of arbitrary length and precision. Numbers that do not fit the underlying BiggestInt or BiggestFloat fields are kept as string literals and one can use external BigNum libraries to handle these. The parseFloat family of functions also has now optional rawIntegers and rawFloats parameters that can be used to enforce that all integer or float literals remain in the "raw" string form so that client code can easily treat small and large numbers uniformly.

  • Added randState template that exposes the default random number generator. Useful for library authors.

  • Added asyncdispatch.activeDescriptors that returns the number of currently active async event handles/file descriptors

  • Added asyncdispatch.maxDescriptors that returns the maximum number of active async event handles/file descriptors.

Language changes

  • The cstring doesn't support []= operator in JS backend.

Compiler changes

Tool changes