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

The Nim team has recently released version 2.0.14, their seventh patch release for Nim 2.0, aimed at users who have not yet migrated to Nim 2.2. This update, which contains 40 commits, builds upon the improvements introduced in Nim 2.0.12, released just two months ago.
To install Nim 2.0.14, users who have previously installed a version of Nim using choosenim can easily update by running the following commands:
```
$ choosenim update self
$ choosenim 2.0.14
```
Before proceeding with the update, it's crucial to ensure that the installed version of choosenim is 0.8.5 or higher. If not, users should visit the choosenim repository to reinstall it first, as outlined in the repository's instructions. As an alternative, users can download Nim 2.0.14 directly from the project's nightly builds.
In addition to the release, the Nim team is encouraging users to participate in the Nim Community Survey 2024. The survey, which takes no more than five minutes to complete, aims to gather valuable feedback that will help improve the Nim programming language.
Version 2.0.14 includes several bugfixes addressing reported issues. These fixes include:
- Resolving a memory leak caused by "ensureMove" usage with JsonNode (#24504).
- Addressing undefined behavior (UB) when calling "allocCStringArray([""])" with the "--mm:refc" option (#22153).
- Fixing a regression that occurred when using generic types with Table/OrderedTable (#23233).
- Correcting incorrect C code generation for "newSeqWith" when initializing two variables (#18104).
- Ensuring proper behavior when wrapping a constant object variant into a sequence at runtime (#23295).
- Resolving invalid C code generation for lent arrays in tuples (#24034).
- Preventing segmentation faults when adding elements to a deque (#24319).
- Fixing a compiler error when default initializing an object field function with an overloaded default function (#23545).
- Addressing a build failure for "lib/pure/selectors" via mingw (#24371).
- Correcting invalid generated code when calling a proc with a nested ref/deref constructed object (#18081).
- Ensuring that a "let" symbol created by a template is not reused in the nimvm branch (#24472).
- Resolving a build failure for nimble 0.16.4 when running "build_all.sh" (#24536).
The complete list of changes for this release can be found in the associated documentation. This latest update underscores the Nim team's commitment to refining and stabilizing the language, providing users with a more robust and reliable development experience.










