diff options
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/changelog.md b/changelog.md index 36b8ef3d4..6ce4e90d5 100644 --- a/changelog.md +++ b/changelog.md @@ -19,6 +19,9 @@ - Global variable `lc` has been removed from sugar.nim. - `distinctBase` has been moved from sugar.nim to typetraits and now implemented as compiler type trait instead of macro. `distinctBase` in sugar module is now deprecated. +- `CountTable.mget` has been removed from `tables.nim`. It didn't work, and it + was an oversight to be included in v1.0. + ### Breaking changes in the compiler @@ -50,11 +53,12 @@ - Added `times.fromUnixFloat,toUnixFloat`, subsecond resolution versions of `fromUnix`,`toUnixFloat`. - Added `wrapnils` module for chains of field-access and indexing where the LHS can be nil. This simplifies code by reducing need for if-else branches around intermediate maybe nil values. - Eg: `echo ?.n.typ.kind` + E.g. `echo ?.n.typ.kind` - Added `minIndex` and `maxIndex` to the `sequtils` module - Added `os.isRelativeTo` to tell whether a path is relative to another - Added `resetOutputFormatters` to `unittest` + ## Library changes - `asynchttpserver` now the request body is a FutureStream. @@ -71,9 +75,10 @@ - `htmlgen.html` allows `lang` on the `<html>` tag and common valid attributes. - `macros.basename` and `basename=` got support for `PragmaExpr`, so that an expression like `MyEnum {.pure.}` is handled correctly. -- `httpclient.maxredirects` changed from `int` to `Natural`, because negative values serve no purpose whatsoever. -- `httpclient.newHttpClient` and `httpclient.newAsyncHttpClient` added `headers` argument to set initial HTTP Headers, - instead of a hardcoded empty `newHttpHeader()`. +- `httpclient.maxredirects` changed from `int` to `Natural`, because negative values + serve no purpose whatsoever. +- `httpclient.newHttpClient` and `httpclient.newAsyncHttpClient` added `headers` + argument to set initial HTTP Headers, instead of a hardcoded empty `newHttpHeader()`. ## Language additions |