Skip to content

v0.3.5

Compare
Choose a tag to compare
@HugoGranstrom HugoGranstrom released this 28 Jan 15:04
· 41 commits to main since this release
c7f3e95
  • codeAsInSource has been reworked to work better with templates and uses of nbCode in different files.
    The cases that still don't work is when code from different places are combined in a single nbCode, like here:
template foo(body: untyped) =
  nbCode:
    body # This code is from line 7
    echo "Hello world" # this code is from line 4

foo:
  echo "Goodbye world"
  • If you don't use any nbJs, now nimib won't build an empty nim file in those cases.
  • The temporary js files generated by nbJs now has unique names to allow parallel builds.

What's Changed

  • refactor codeAsInSource to not require command + fix nbJs bug fixes by @HugoGranstrom in #163

Full Changelog: v0.3.4...v0.3.5