Skip to content

Releases: janpfeifer/gonb

v0.10.11 Better version; Small fixes

02 Feb 09:37
2604250
Compare
Choose a tag to compare
  • New --version and -V flags to print version; Improved %version output. (#158)
  • Clean up, refactorings and fixed context leakage.
  • Added version.txt with target version for build.

v0.10.10: Quick fix to misused replace tags

28 Jan 17:30
Compare
Choose a tag to compare
  • Reverted replace directive: contrary to what the AI suggested, it doesn't work when running from outside a cloned repository.
    • Temporary solution, as this leaves gonb "at the mercy" of the default GOPROXY proxy.golang.org continuously proxying
      the now extinct packages under go.lsp.dev. See #157
    • See more in: go-language-server/jsonrpc2#28
    • v0.10.9 skipped: issues with the release and GOPROXY. Instead I skipped the version.

v0.10.8 Fixed auto-comple for VSCode+Polyglot

28 Jan 08:57
Compare
Choose a tag to compare
  • Added a replace directive from go.lsp.dev/{jsonrpc2,uri,protocol} to github.com/go-language-server/{jsonrpc2,uri,protocol}
    in go.mod, since go.lsp.dev seems to be down.
  • Updated dependencies to go.lsp.dev/uri and go.lsp.dev/protocol.
  • Set MIMEType KernelLanguageInfo.MIMEType, which enabled auto-complete with VSCode+Polyglot to work with GoNB+Auto-complete.
    Thanks @tonidy for the find and fix. More in dotnet/interactive#3511
  • Updated Dockerfile to build the docker from main/HEAD.

v0.10.7

20 Jan 10:15
Compare
Choose a tag to compare
  • Improved autostart logic: it now requires being mounted as "readonly" under /root/autostart.
  • Added %version, and environment variables GONB_VERSION, GONB_GIT_COMMIT.
  • Added %help info on missing environment variables.
  • Added stack traces to protocol parsing errors.
  • Include function comments in the generated code. This makes tags like //go:noinline work. See #150

v0.10.6: Improved Docker, added `%capture`

16 Oct 15:56
0fc7fbc
Compare
Choose a tag to compare
  • Feature request #138
    • Added openssh-client, rsync and curl, to allow users to install other dependencies.
    • Added sudo for apt install and apt update.
    • Added support for autostart.sh that if present in the mounted container /notebooks directory, and if root owned
      and set as executable.
  • Updated Dockerfile to latest version to JupyterLab -- now the base docker is served quay.io/jupyter/base-notebook
  • Added %capture [-a] <file> to capture the output of a cell (#142)
  • Fixed nbexec: added --disable-gpu and --disable-software-rasterizer when executing "headless" chrome for tests.

v0.10.5 Added `dom.SendAsDownload`

09 Oct 14:34
Compare
Choose a tag to compare
  • Added dom.SendAsDownload to send data from cells to the client by triggering a browser download. #134

v0.10.4 Fix #131

07 Oct 11:09
Compare
Choose a tag to compare
  • Issue #131: proper handling of tuple variable declarations like var contents, _ = os.ReadFile(...)

v0.10.3 Update to go 1.23.0 and updated dependencies

18 Aug 07:23
Compare
Choose a tag to compare

Minimal release update. To be matched with an updated GoNB + JupyterLab docker to include go1.23.

  • go1.23, and update dependencies.
  • Fixed GitHub's go.yaml actions, test shows green now.

v0.10.2 Added Jupytext support and `ndlv` script for debugging cells.

10 Jul 07:29
Compare
Choose a tag to compare
  • Jupytext integration #120:
    • Many thanks for Marc Wouts for adding support in Jupytext and @HaveF for the help and starting the topic.
    • Handle special commands to be prefixed with //gonb: -- this allows special commands to be parseable Go code, and makes it easier for IDEs.
    • Ignore package tag -- as opposed to raising an error: also to make easy on IDEs that may require a package tag.
    • Added special variation: %exec <function_name> <args...> that creates a main function that calls <function_name>
      and sets the program arguments (flags) to the given values.
  • Added ndlv wrapper script for starting gdlv on cell binary.
  • Notebook testing: changed nbexec to use system's google-chrome if available (with sandbox), or let Rod download
    chromium, but then use with --no-sandbox (since there is no SUID on the binaries).
  • Fixed tracking to simply ignore loops, but not interrupt traversal during tracking.

v0.10.1 Apache ECharts

14 Apr 10:13
Compare
Choose a tag to compare
  • Interrupt and Shutdown:
    • [interrupt_mode] set to message, as opposed to having a SIGINT. Works both in JupyterLab and VSCode.
    • Interrupt all cell executions at shutdown_request.
  • New github.com/janpfeifer/gonb-echarts to add support to Apache ECharts
    using github.com/go-echarts/go-echarts. See examples
    • Added gonb_echarts.Display and gonb_echarts.DisplayContent.
  • Updated documentation on VSCode limitation for Javascript.
  • Fixed bug in dom.LoadScriptOrRequireJSModuleAndRun where plotly source was hardcoded by mistake.