Releases: pietroppeter/nimib
Releases Β· pietroppeter/nimib
v0.3.12
What's Changed
- Update changelog.md with 3.11 release notes and bump 3.12 by @pietroppeter in #239
- Make Nimib logging to stdout optional (
-d:nimibQuiet
) by @neroist in #242 - Add nbVideo & nbAudio (revive #153) by @neroist in #244
- Create homeDir if it doesn't exist alredy by @neroist in #246
Full Changelog: v0.3.11...v0.3.12
v0.3.11
What's Changed
- Update changelog.md and bumping to 3.11 by @pietroppeter in #231
- paths.nim: Fix import for FreeBSD by @lbartoletti in #238
New Contributors
- @lbartoletti made their first contribution in #238
Full Changelog: v0.3.10...v0.3.11
v0.3.10
What's Changed
- bump 0.3.10 and update changelog with 0.3.9 release notes by @pietroppeter in #199
- Enlarge figure and center figure captions by @dlesnoff in #201
- Refactor tests and remove hints to better visualize success/failure by @dlesnoff in #202
- Complete Allblocks by @dlesnoff in #203
- Automatically change file ext to
md
when usingnbInitMd
(and add athisFileRel
param) by @neroist in #206 - Allblocks: add nbShow, nbCodeWithText, nbCodeInBlock by @dlesnoff in #208
- update to numericalnim 0.8.8 by @HugoGranstrom in #214
- Fix std/random bug (#204) by @sent44 in #211
- Happyx support by @quimt in #212
- Add nbFile overload for file embedding by @PhilippMDoerner in #219
- fix issue#229: skip nimble INFO logs when dumping json by @lost22git in #230
New Contributors β€οΈ
- @sent44 made their first contribution in #211
- @quimt made their first contribution in #212
- @PhilippMDoerner made their first contribution in #219
- @lost22git made their first contribution in #230
Full Changelog: v0.3.9...v0.3.10
v0.3.9
What's Changed
- Update water.css and fix code output by @dlesnoff in #185
- Add
nbCodeSkip
andallblocks.nim
by @neroist in #187 - fix typo in CONTRIBUTING.md by @neroist in #188
- Add
nbCapture
, closes #156 by @neroist in #189 - Add meta tag with generator, closes #170 by @neroist in #190
- Fix special chars escaped by the markdown renderer, close #159 by @neroist in #191
- Make "figure:" not show up when using nbImage with no caption by @neroist in #192
- Add seperate
alt
param tonbImage
, close #193 by @neroist in #195 - Fix
getNimibVersion()
by @neroist in #196
New Contributors
Full Changelog: v0.3.8...v0.3.9
v0.3.8 - Fix nim-markdown not exporting escapeTags
What's Changed
- remove export escapeTag by @HugoGranstrom in #181
- nim-markdown released a new version which doesn't export
escapeTag
anymore, so we remove it. Not sure why we did it to begin with tbh.
- nim-markdown released a new version which doesn't export
Full Changelog: v0.3.7...v0.3.8
v0.3.7 - All code shall be highlighted
What's Changed
- Implement nbShow and highlight.js support for code in markdown by @HugoGranstrom in #179
nbShow
can be used to pretty print any type which implements atoHtml
proc that returns a string of HTML to be rendered.- Code blocks in markdown are now highlighted dynamically using highlight.js.
- updated changelog with 0.3.6 release notes + change in changelog workflow by @pietroppeter in #176
Full Changelog: v0.3.6...v0.3.7
v0.3.6 - nim 2.0 compatibility!
What's Changed
- Change toml lib + fix macro bug on devel by @HugoGranstrom in #173
with this PR nimib is finally compatible with the upcoming 2.0. Two things needed fixing:- a nim compiler orc macro bug (reported here: nim-lang/Nim#21326), fixed with a workaround
- there was an issue with toml serialization on orc (reported here: status-im/nim-toml-serialization#62) fixed by removing the dependency from toml_serialization and using parsetoml instead
- some custom code in order to support direct to object conversion was needed, see NimParsers/parsetoml#59
- we also added a dependency to jsony to support a loose direct to object conversion from toml
- Adding devel to CI, fix #161, fix #149 by @pietroppeter in #169
- added both stable (which will become 2.0) and devel (which is currently the 2.0 rc) to CI, also update the versions of actions we depend on
Full Changelog: v0.3.5...v0.3.6
v0.3.5
- 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 singlenbCode
, 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
v0.3.4
What's Changed
- add nbCodeDisplay and nbCodeAnd by @pietroppeter in #158
nbCodeDisplay and nbCodeAnd provide an easy way to:- display code in nbJsFromCode and friends
- run code both in js and c backend They are also generic templates that can be used with other templates and do not depend on any specificities of nbJsFromCode templates.
Full Changelog: v0.3.3...v0.3.4
v0.3.3
From changelog
- Refactored nbJs (#148)
- Breaking: All
nbJsFromCode
blocks are now inserted into the same file (Compared to previously when each block was compiled as its own file).
So this will break any reusable components as you will getredefinition of variable
errors. The solution is to usenbJsFromCodeInBlock
which puts the code inside ablock
. Imports can't be done in there though so you must do them in a separatenbJsFromCode
ornbJsFromCodeGlobal
before. - See https://pietroppeter.github.io/nimib/interactivity.html for a more detailed guide on how to use the new API.
- Breaking: All
- Added
nimibCode
template. One problem with usingnbCode
is that you can't show nimib code using it because it nests blocks and wrecks havoc.
SonimibCode
allows you to show nimib code but at the cost of not capturing output of the code.
What's Changed
- add CONTRIBUTING.md fix #138 by @pietroppeter in #140
- Refactor nbJs by @HugoGranstrom in #148
- add nimconf to readme and index by @HugoGranstrom in #152
Full Changelog: v0.3.2...v0.3.3