update changelog

This commit is contained in:
narimiran 2019-01-10 09:31:18 +01:00
commit f7d2f9c5f0

View file

@ -1,4 +1,5 @@
## v0.20.0 - XX/XX/2018 ## v0.20.0 - XX/XX/2019
### Changes affecting backwards compatibility ### Changes affecting backwards compatibility
@ -26,6 +27,7 @@
- `getImpl` on a `var` or `let` symbol will now return the full `IdentDefs` - `getImpl` on a `var` or `let` symbol will now return the full `IdentDefs`
tree from the symbol declaration instead of just the initializer portion. tree from the symbol declaration instead of just the initializer portion.
#### Breaking changes in the standard library #### Breaking changes in the standard library
- `osproc.execProcess` now also takes a `workingDir` parameter. - `osproc.execProcess` now also takes a `workingDir` parameter.
@ -57,6 +59,13 @@
- `isNil` is no longer false for undefined in the JavaScript backend: now it's true for both nil and undefined. Use `isNull` or `isUndefined` if you need exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined` with `==`. - `isNil` is no longer false for undefined in the JavaScript backend: now it's true for both nil and undefined. Use `isNull` or `isUndefined` if you need exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined` with `==`.
- several deprecated modules were removed: `ssl`, `matchers`, `httpserver`,
`unsigned`, `actors`, `parseurl`
- several poorly documented and not used modules were moved to graveyard
(they are available as Nimble packages): `subexes`, `scgi`, `smtp`, `oids`
#### Breaking changes in the compiler #### Breaking changes in the compiler
- The compiler now implements the "generic symbol prepass" for `when` statements - The compiler now implements the "generic symbol prepass" for `when` statements
@ -97,13 +106,16 @@ proc enumToString*(enums: openArray[enum]): string =
is instantiation of generic proc symbol. is instantiation of generic proc symbol.
- Added the parameter ``isSorted`` for the ``sequtils.deduplicate`` proc. - Added the parameter ``isSorted`` for the ``sequtils.deduplicate`` proc.
- There is a new stdlib module `std/diff` to compute the famous "diff" - There is a new stdlib module `std/diff` to compute the famous "diff"
of two texts by line. of two texts by line.
- Added `os.relativePath`. - Added `os.relativePath`.
- Added `parseopt.remainingArgs`. - Added `parseopt.remainingArgs`.
- Added `os.getCurrentCompilerExe` (implmented as `getAppFilename` at CT), - Added `os.getCurrentCompilerExe` (implmented as `getAppFilename` at CT),
can be used to retrive the currently executing compiler. can be used to retrieve the currently executing compiler.
### Library changes ### Library changes
@ -128,10 +140,12 @@ proc enumToString*(enums: openArray[enum]): string =
- `os.joinPath` and `os.normalizePath` handle edge cases like ``"a/b/../../.."`` - `os.joinPath` and `os.normalizePath` handle edge cases like ``"a/b/../../.."``
differently. differently.
- `securehash` is moved to `lib/deprecated`
### Language additions ### Language additions
- Vm suport for float32<->int32 and float64<->int64 casts was added. - Vm support for float32<->int32 and float64<->int64 casts was added.
- There is a new pragma block `noSideEffect` that works like - There is a new pragma block `noSideEffect` that works like
the `gcsafe` pragma block. the `gcsafe` pragma block.
- added os.getCurrentProcessId() - added os.getCurrentProcessId()
@ -140,6 +154,7 @@ proc enumToString*(enums: openArray[enum]): string =
pragmas for further analysis by macros pragmas for further analysis by macros
- Custom pragmas are now supported for `var` and `let` symbols. - Custom pragmas are now supported for `var` and `let` symbols.
### Language changes ### Language changes
- The standard extension for SCF (source code filters) files was changed from - The standard extension for SCF (source code filters) files was changed from
@ -161,7 +176,9 @@ proc enumToString*(enums: openArray[enum]): string =
- `nimpretty`: --backup now defaults to `off` instead of `on` and the flag was - `nimpretty`: --backup now defaults to `off` instead of `on` and the flag was
un-documented; use `git` instead of relying on backup files. un-documented; use `git` instead of relying on backup files.
### Compiler changes ### Compiler changes
- The deprecated `fmod` proc is now unavailable on the VM'. - The deprecated `fmod` proc is now unavailable on the VM'.
### Bugfixes ### Bugfixes