This sheet covers the Nim 2.2 line from 2.2.0 (2024-10-02) to 2.2.12 (2026-09-08, latest stable patch found) across all seven official releases, plus 38 vetted cheat-sheet patterns drawn from seven independent sources: syntax, procedures and types, collections, errors, compile-time evaluation, compiler and tooling, newer stdlib additions, and migration notes.
nim c -r app.nimcompile & run loopnim check app.nimfast semantic check, no codegennim c -d:release app.nimoptimized build--mm:orcdefault memory management, cycle-safeexcept CatchableErrorprefer over bare except:Tile size is one pattern; hover a tile for its note, click to filter the cards below. Three near-duplicate entries are merged into their tiles.
typeBoundOps flag, float-exponent ^). devel changelog items — multiReplace on character sets, parseopt modes, --styleCheck:warning, float round-trip $, --warning:ImplicitRangeConversion — are documented in the current development changelog and are not guaranteed present in every earlier 2.2 patch. Experimental flags ({.experimental.}) can change without notice.Patch releases mainly deliver fixes: 2.2.2 alone carried 203 commits of bugfixes four months after the 2.2.0 feature baseline. nim-lang.org
Since 2.2.8 the default allocator is stable under heavy multithreading, so the old -d:useMalloc workaround is no longer required. nim-lang.org
Bare except: changed semantics from 2.2.0 — it only catches CatchableError-derived exceptions — so portable code should name the exception type explicitly. status-im.github.io
runnableExamples blocks are compiled and run by nim doc, so documented examples never rot silently. github-wiki-see.page
| Original section | Pattern | Source | Source title |
|---|
Method: 38 cheat-sheet rows (merged to 35 cards; three HTTP/HTTPS and near-duplicate entries combined) plus 7 official release rows, gathered as of 2026-09-17 from 45 input rows across 7 independent hosts; no single URL supplies more than 7 rows (15.6%). Tile size in the map counts patterns per area; timeline dates are official release-post dates. Release highlight texts are abridged for space.