Nim version 2.0.14 released

The Nim team is happy to announce Nim version 2.0.14, our seventh patch release for Nim 2.0, for our users who haven’t switched yet to Nim 2.2.

Version 2.0.14 contains 40 commits, and it brings several improvements to Nim 2.0.12, released two months ago.

Installing Nim 2.0.14

If you have installed a previous version of Nim using choosenim, getting Nim 2.0.14 is as easy as:

$ choosenim update self
$ choosenim 2.0.14

Make sure that the version of choosenim you have installed is 0.8.5 or higher, otherwise visit choosenim’s repo and see there how to re-install it first, before updating Nim.

Alternatively, you can download Nim 2.0.14 from our nightlies builds.

Nim Community Survey 2024

We would like to remind you about Nim Community Survey.

If you haven’t participated yet, now’s the time. It shouldn’t take more than 5 minutes, and it helps us to make Nim better.

Bugfixes

These reported issues were fixed:

  • Fixed “ensureMove usage leading to memory leak for JsonNode !” (#24504)
  • Fixed “UB calling allocCStringArray([""]) with --mm:refc” (#22153)
  • Fixed “Regression when using generic type with Table/OrderedTable” (#23233)
  • Fixed “Wrong C code generated for newSeqWith when initializing two variables” (#18104)
  • Fixed “Wrong behaviour when wrapping a constant object variant into a sequence at runtime” (#23295)
  • Fixed “Invalid C code generated for lent array in tuple” (#24034)
  • Fixed “Seg fault when adding deque element” (#24319)
  • Fixed “C compiler error when default initializing an object field function when the default function is overloaded” (#23545)
  • Fixed “build failed for lib/pure/selectors via mingw” (#24371)
  • Fixed “Calling proc with nested ref/deref constructed object results in invalid generated code” (#18081)
  • Fixed “let symbol created by template is reused in nimvm branch “ (#24472)
  • Fixed “building nimble 0.16.4 fails when running build_all.sh” (#24536)

The complete list of changes is available here.