diff options
author | Araq <rumpf_a@web.de> | 2017-11-21 01:42:58 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-11-21 01:42:58 +0100 |
commit | 1bbab827c494d41cc87d6cb94524f5f23c54fe88 (patch) | |
tree | 4fbc478c72dbdc0dd5b84e6b1e581e7fa934d91e /changelog.md | |
parent | fba5f5acd6ab1b0aaca79241f55f95b089fbad2c (diff) | |
parent | 2ad49836d95f5d825ba271d64cab1c312f3ccc31 (diff) | |
download | Nim-1bbab827c494d41cc87d6cb94524f5f23c54fe88.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/changelog.md b/changelog.md index 77e5a29b5..14191e85f 100644 --- a/changelog.md +++ b/changelog.md @@ -2,9 +2,7 @@ ### Changes affecting backwards compatibility -- Removed basic2d/basic3d out of the stdlib and into Nimble packages. - These packages deprecated however, use the ``glm``, ``arraymancer``, ``neo`` - or another package. + - Arrays of char cannot be converted to ``cstring`` anymore, pointers to arrays of char can! This means ``$`` for arrays can finally exist in ``system.nim`` and do the right thing. @@ -16,7 +14,6 @@ module. - The overloading rules changed slightly so that constrained generics are preferred over unconstrained generics. (Bug #6526) -- Removed libuv out of the stdlib and into Nimble packages. - It is now possible to forward declare object types so that mutually recursive types can be created across module boundaries. See [package level objects](https://nim-lang.org/docs/manual.html#package-level-objects) @@ -40,8 +37,6 @@ - Added ``typetraits.$`` as an alias for ``typetraits.name``. - ``os.getEnv`` now takes an optional ``default`` parameter that tells ``getEnv`` what to return if the environment variable does not exist. -- Removed PDCurses wrapper from the stdlib and published it as a separate - Nimble package. - Bodies of ``for`` loops now get their own scope: .. code-block:: nim @@ -74,3 +69,26 @@ This now needs to be written as: var a = -5 for i in a..b: echo i + +- ``formatFloat``/``formatBiggestFloat`` now support formatting floats with zero + precision digits. The previous ``precision = 0`` behavior (default formatting) + is now available via ``precision = -1``. +- The ``nim doc`` command is now an alias for ``nim doc2``, the second version of + the documentation generator. The old version 1 can still be accessed + via the new ``nim doc0`` command. +- Added ``system.getStackTraceEntries`` that allows you to access the stack + trace in a structured manner without string parsing. +- Added ``sequtils.mapLiterals`` for easier construction of array and tuple + literals. +- Added ``parseutils.parseSaturatedNatural``. +- Moved from stdlib into Nimble packages: + - [``basic2d``](https://github.com/nim-lang/basic2d) + _deprecated: use ``glm``, ``arraymancer``, ``neo``, or another package instead_ + - [``basic3d``](https://github.com/nim-lang/basic3d) + _deprecated: use ``glm``, ``arraymancer``, ``neo``, or another package instead_ + - [``gentabs``](https://github.com/lcrees/gentabs) + - [``libuv``](https://github.com/lcrees/libuv) + - [``numeric``](https://github.com/lcrees/polynumeric) + - [``poly``](https://github.com/lcrees/polynumeric) + - [``pdcurses``](https://github.com/lcrees/pdcurses) + - [``romans``](https://github.com/lcrees/romans) |