mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
1.2 KiB
1.2 KiB
v0.20.0 - XX/XX/2018
Changes affecting backwards compatibility
-
The
isLower,isUpperfamily of procs in strutils/unicode operating on strings have been deprecated since it was unclear what these do. Note that the much more useful procs that operator oncharorRuneare not affected. -
strutils.editDistancehas been deprecated, useeditdistance.editDistanceoreditdistance.editDistanceAsciiinstead.
Breaking changes in the standard library
Breaking changes in the compiler
Library additions
-
There is a new stdlib module
editdistanceas a replacement for the deprecatedstrutils.editDistance. -
Added
split,splitWhitespace,size,alignLeft,align,strip,repeatprocs and iterators tounicode.nim. -
Added
orforNimNodeinmacros. -
Added
system.typeoffor more control over howtypeexpressions can be deduced.
Library changes
Language additions
Language changes
Tool changes
jsondocnow include amoduleDescriptionfield with the module description.jsondoc0shows comments as it's own objects as shown in the documentation.