add documentation and changelog for default object fields (#20845)

This commit is contained in:
ringabout 2022-11-15 15:42:01 +08:00 • committed by GitHub
commit 4a3be7e29e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 0 deletions

View file

@ -102,6 +102,8 @@
- `logging` will default to flushing all log level messages. To get the legacy behaviour of only flushing Error and Fatal messages, use `-d:nimV1LogFlushBehavior`.
- Object fields now support default values, see https://nim-lang.github.io/Nim/manual.html#types-default-values-for-object-fields for details.
## Standard library additions and changes
[//]: # "Changes:"