Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: janpfeifer/gonb

v0.11.4 Improved error reporting / Added nbexec flags

07 Jun 13:53
@janpfeifer janpfeifer
c24b51a
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

v0.11.4, 2026年06月07日 Improved error reporting / Added nbexec flags

  • nbexec: Added -export_html flag to export the executed notebook to HTML at a specified target path.
  • nbexec: Added -check_cells flag to check and report cells that failed execution, exiting with code 1 if any failure occurs.
  • Fixed an issue where the Cell/Line or errors were not being displayed correctly.
  • Extended cell compilation error hover popups to also trigger when hovering over the cell/line area, in addition to the file/line area.
  • Added support for rich HTML execution/runtime error reporting, enabling hoverable popups that show code context directly over Go stack traces printed to stderr (e.g. panics and fatal logs).
  • Refactored execution error handling: stderr streams in real-time to Jupyter (not buffered), and the rich hover-popup HTML boxes for cell-related error lines are printed after the execution exits.
  • Improved error CSS layout to wrap long code lines without displaying horizontal scrollbars.
Assets 2
Loading

v0.11.3, 2025年12月15日 Added `-go_work` flag

15 Dec 08:09
@janpfeifer janpfeifer

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.
Loading

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

24 Oct 11:52
@janpfeifer janpfeifer

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.

Contributors

yuce
Loading
evertoncolling reacted with thumbs up emoji
1 person reacted

v0.11.1 Minor version number fix

01 Jun 10:39
@janpfeifer janpfeifer

Choose a tag to compare

Updated go version.
Loading

v0.11.0 Updated Plotly and added themes support

01 Jun 09:49
@janpfeifer janpfeifer
41772ee
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

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).

Loading

v0.10.12 Refresh

19 May 09:54
@janpfeifer janpfeifer

Choose a tag to compare

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

v0.10.11 Better version; Small fixes

02 Feb 09:37
@janpfeifer janpfeifer
2604250
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

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.
Loading

v0.10.10: Quick fix to misused replace tags

28 Jan 17:30
@janpfeifer janpfeifer

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.
Loading

v0.10.8 Fixed auto-comple for VSCode+Polyglot

28 Jan 08:57
@janpfeifer janpfeifer

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.

Contributors

tonidy
Loading
tonidy reacted with hooray emoji
1 person reacted

v0.10.7

20 Jan 10:15
@janpfeifer janpfeifer

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
Loading
Previous 1 3 4 5
Previous

AltStyle によって変換されたページ (->オリジナル) /