clean up changelog (#16155)

* fix rope index

* add testcase

* fix ropes format

* add `**` to jsffi

* add testcase

* changelog

* clean up changelog

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
flywind 2020-11-27 10:53:30 +08:00 • committed by GitHub
commit c0215d8d0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,12 +31,12 @@
- Removed deprecated `iup` module from stdlib, it has already moved to - Removed deprecated `iup` module from stdlib, it has already moved to
[nimble](https://github.com/nim-lang/iup). [nimble](https://github.com/nim-lang/iup).
- nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv` - `nodejs` backend now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv`.
- `doAssertRaises` now correctly handles foreign exceptions. - `doAssertRaises` now correctly handles foreign exceptions.
- Added `asyncdispatch.activeDescriptors` that returns the number of currently - Added `asyncdispatch.activeDescriptors` that returns the number of currently
active async event handles/file descriptors active async event handles/file descriptors.
- ``--gc:orc`` is now 10% faster than previously for common workloads. If - ``--gc:orc`` is now 10% faster than previously for common workloads. If
you have trouble with its changed behavior, compile with ``-d:nimOldOrc``. you have trouble with its changed behavior, compile with ``-d:nimOldOrc``.
@ -44,15 +44,17 @@
- `os.FileInfo` (returned by `getFileInfo`) now contains `blockSize`, - `os.FileInfo` (returned by `getFileInfo`) now contains `blockSize`,
determining preferred I/O block size for this file object. determining preferred I/O block size for this file object.
- `repr` now doesn't insert trailing newline; previous behavior was very inconsistent, - `repr` now doesn't insert trailing newline; previous behavior was very inconsistent,
see #16034. Use `-d:nimLegacyReprWithNewline` for previous behavior. see #16034. Use `-d:nimLegacyReprWithNewline` for previous behavior.
- Added `**` to jsffi. - Added `**` to jsffi.
- `writeStackTrace` is available in JS backend now. - `writeStackTrace` is available in JS backend now.
## Language changes ## Language changes
- `nimscript` now handles `except Exception as e` - `nimscript` now handles `except Exception as e`.
- The `cstring` doesn't support `[]=` operator in JS backend. - The `cstring` doesn't support `[]=` operator in JS backend.