changelog: document hash changes (#17792)

* changelog: document hash changes

* fixup
This commit is contained in:
Timothee Cour
2021-04-19 21:54:25 -07:00
committed by GitHub
parent ad67bcf379
commit 6852d091b3

View File

@@ -50,6 +50,9 @@
- On POSIX systems, we now ignore `SIGPIPE` signals, use `-d:nimLegacySigpipeHandler`
for previous behavior.
- `hashes.hash` now supports `object` and `ref` (can be overloaded in user code).
- `hashes.hash(proc|ptr|ref|pointer)` now calls `hash(int)` and honors `-d:nimIntHash1`,
`hashes.hash(closure)` has also been improved.
## Standard library additions and changes
- Added support for parenthesized expressions in `strformat`
@@ -235,12 +238,9 @@
level `moveMem`, `copyMem` operations for Orc's copy-on-write string
implementation.
- `hashes.hash` now supports `object`, but can be overloaded.
- Added `std/strbasics` for high performance string operations.
Added `strip`, `setSlice`, `add(a: var string, b: openArray[char])`.
- `hashes.hash` now supports `object`, but can be overloaded.
- Added to `wrapnils` an option-like API via `??.`, `isSome`, `get`.