Skip to content

Releases: janpfeifer/gonb

v0.11.3, 2025/12/15 Added `-go_work` flag

15 Dec 08:09

Choose a tag to compare

  • Added -go_work flag that also works with the installer gonb -install.
  • Added a %%gx cell magic that will eventually support gx cells. Currently just echoes the cell code and allows executing go code below. Requires --tags=gx.
  • Bumped Go to version 1.24.4 in preparation for using GX.

v0.11.2, 2025/10.24 Support for various OSes; Fixed logging; Increased gopls timeout and improved error handling.

24 Oct 11:52

Choose a tag to compare

  • Support Jupyter for more OSSes (thanks @yuce!)
  • Updated dependencies
  • Increased gopls timeout.
  • Package plotly:
    • Added DisplayFigAsJSON and AppendFigAsJSON to display Plotly figures directly from their
      JSON rendering. This allows one to do arbitrary editions.
  • Installation:
    • Fixed the handling of the installation flags forwarded to the kernel execution.
    • Make a copy of the binary if the gonb binary is under a .cache directory. Same as is already done if
      the binary is in a temporary directory.
    • Fixed duplicate error logging issues.
  • Added internal util package. Improved error logging.

v0.11.1 Minor version number fix

01 Jun 10:39

Choose a tag to compare

Updated go version.

v0.11.0 Updated Plotly and added themes support

01 Jun 09:49
41772ee

Choose a tag to compare

Very small update, but bumped the version number because the plotly package API is broken, due to the dependency on the new go-plotly version. A trivial update, if you have problems, just update your go-plotly dependency as well.

It also adds the plotly.DarkTheme, plotly.Seaborn and GGPlot2Theme that can be used in your Plotly figures (based on plotly.io Python package).

v0.10.12 Refresh

19 May 09:54

Choose a tag to compare

  • Updated dependencies:
    • Bumped go-plotly dependency to v0.7.0.

v0.10.11 Better version; Small fixes

02 Feb 09:37
2604250

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

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

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

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

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.