diff options
author | narimiran <narimiran@disroot.org> | 2020-11-10 12:46:13 +0100 |
---|---|---|
committer | narimiran <narimiran@disroot.org> | 2020-11-10 12:46:13 +0100 |
commit | 17acf146a07e89ecb7499ee0910417f83fd1ee25 (patch) | |
tree | 3ff44a4bcc671c65ed0555936904d4ed330e66f8 | |
parent | ee78d7610853f4866c9b3d1e81d523b7ef339da0 (diff) | |
download | Nim-17acf146a07e89ecb7499ee0910417f83fd1ee25.tar.gz |
followup #15854: add a changelog entry about markdown tables support
-rw-r--r-- | changelog.md | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/changelog.md b/changelog.md index 54a32b2a1..801d50b94 100644 --- a/changelog.md +++ b/changelog.md @@ -6,24 +6,35 @@ - Make `{.requiresInit.}` pragma to work for `distinct` types. -- Added a macros `enumLen` for returning the number of items in an enum to the `typetraits.nim` module. +- Added a macros `enumLen` for returning the number of items in an enum to the + `typetraits.nim` module. - `prelude` now works with the JavaScript target. -- Added `ioutils` module containing `duplicate` and `duplicateTo` to duplicate `FileHandle` using C function `dup` and `dup2`. +- Added `ioutils` module containing `duplicate` and `duplicateTo` to duplicate + `FileHandle` using C function `dup` and `dup2`. + - Added `almostEqual` in `math` for comparing two float values using a machine epsilon. -- 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. +- 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 `randState` template that exposes the default random number generator. Useful for library authors. +- Added std/enumutils module containing `genEnumCaseStmt` macro that generates + case statement to parse string to enum. + +- Removed deprecated `iup` module from stdlib, it has already moved to + [nimble](https://github.com/nim-lang/iup). -- Added std/enumutils module containing `genEnumCaseStmt` macro that generates case statement to parse string to enum. -- Removed deprecated `iup` module from stdlib, it has already moved to [nimble](https://github.com/nim-lang/iup). ## Language changes @@ -32,8 +43,18 @@ ## Compiler changes - Added `--declaredlocs` to show symbol declaration location in messages. -- Source+Edit links now appear on top of every docgen'd page when `nim doc --git.url:url ...` is given. -- Added `nim --eval:cmd` to evaluate a command directly, see `nim --help` + +- Source+Edit links now appear on top of every docgen'd page when + `nim doc --git.url:url ...` is given. + +- Added `nim --eval:cmd` to evaluate a command directly, see `nim --help`. + ## Tool changes + +- The rst parser now supports markdown table syntax. + Known limitations: + - cell alignment is not supported, i.e. alignment annotations in a delimiter + row (`:---`, `:--:`, `---:`) are ignored, + - every table row must start with `|`, e.g. `| cell 1 | cell 2 |`. |