diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2022-10-21 06:55:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 06:55:52 +0200 |
commit | 76763f51aa119e71b00200142292acf5f1fdc69c (patch) | |
tree | c30b7c3c685d32cfa2c2dd79757e57204a85ab0c /changelog.md | |
parent | 4aa67ad7fd3179bd46fbeb793c3c71d14d9021a0 (diff) | |
download | Nim-76763f51aa119e71b00200142292acf5f1fdc69c.tar.gz |
implemented strictCaseObjects (#20608)
* implemented strictCaseObjects * changelog update
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md index 0bcedb717..1cb2328ba 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,8 @@ -# v1.8.x - yyyy-mm-dd +# v2.0.0 - yyyy-mm-dd ## Changes affecting backward compatibility -- `httpclient.contentLength` default to `-1` if the Content-Length header is not set in the response, it followed Apache HttpClient(Java), http(go) and .Net HttpWebResponse(C#) behavior. Previously raise `ValueError`. +- `httpclient.contentLength` default to `-1` if the Content-Length header is not set in the response, it followed Apache HttpClient(Java), http(go) and .Net HttpWebResponse(C#) behavior. Previously it raised `ValueError`. - `addr` is now available for all addressable locations, `unsafeAddr` is now deprecated and an alias for `addr`. @@ -216,6 +216,10 @@ need to convert to `string`. On the JS backend, this is translated directly to a `switch` statement. +- Nim now supports `out` parameters and ["strict definitions"](https://nim-lang.github.io/Nim/manual_experimental.html#strict-definitions-and-nimout-parameters). +- Nim now offers a [strict mode](https://nim-lang.github.io/Nim/manual_experimental.html#strict-case-objects) for `case objects`. + + ## Compiler changes - The `gc` switch has been renamed to `mm` ("memory management") in order to reflect the |