1.4 KiB
1.4 KiB
v0.X.X - XX/XX/2018
Changes affecting backwards compatibility
- The stdlib module
futurehas been renamed tosugar.
Breaking changes in the standard library
-
re.splitfor empty regular expressions now yields every character in the string which is what other programming languages chose to do. -
``cookies.setCookie` no longer assumes UTC for the expiration date.
Breaking changes in the compiler
Library additions
re.splitnow also supports themaxsplitparameter for consistency withstrutils.split.- Added
system.toOpenArrayin order to support zero-copy slicing operations. This is currently not yet available for the JavaScript target.
Library changes
macros.astGenRepr,macros.lispReprandmacros.treeReprnow escapes the content of string literals consistently.
Language additions
Language changes
- The
importcpppragma now allows importing the listed fields of generic C++ types. Support for numeric parameters have also been added through the use ofstatic[T]types. (#6415)
Tool changes
jsondoc2has been renamedjsondoc, similar to howdoc2was renameddoc. The oldjsondoccan still be invoked withjsondoc0.
Compiler changes
- The VM's instruction count limit was raised to 1 billion instructions in order to support more complex computations at compile-time.