Releases: janpfeifer/gonb
Releases · janpfeifer/gonb
v0.11.3, 2025/12/15 Added `-go_work` flag
- Added
-go_workflag that also works with the installergonb -install. - Added a
%%gxcell magic that will eventually supportgxcells. 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.
- Support Jupyter for more OSSes (thanks @yuce!)
- Updated dependencies
- Increased
goplstimeout. - Package
plotly:- Added
DisplayFigAsJSONandAppendFigAsJSONto display Plotly figures directly from their
JSON rendering. This allows one to do arbitrary editions.
- Added
- 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
utilpackage. Improved error logging.
v0.11.1 Minor version number fix
Updated go version.
v0.11.0 Updated Plotly and added themes support
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
- Updated dependencies:
- Bumped
go-plotlydependency to v0.7.0.
- Bumped
v0.10.11 Better version; Small fixes
- New --version and -V flags to print version; Improved
%versionoutput. (#158) - Clean up, refactorings and fixed context leakage.
- Added
version.txtwith target version for build.
v0.10.10: Quick fix to misused replace tags
- Reverted
replacedirective: 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 undergo.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.
- Temporary solution, as this leaves gonb "at the mercy" of the default GOPROXY proxy.golang.org continuously proxying
v0.10.8 Fixed auto-comple for VSCode+Polyglot
- Added a
replacedirective fromgo.lsp.dev/{jsonrpc2,uri,protocol}togithub.com/go-language-server/{jsonrpc2,uri,protocol}
ingo.mod, sincego.lsp.devseems to be down. - Updated dependencies to
go.lsp.dev/uriandgo.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
- Improved
autostartlogic: it now requires being mounted as "readonly" under/root/autostart. - Added
%version, and environment variablesGONB_VERSION,GONB_GIT_COMMIT. - Added
%helpinfo on missing environment variables. - Added stack traces to protocol parsing errors.
- Include function comments in the generated code. This makes tags like
//go:noinlinework. See #150
v0.10.6: Improved Docker, added `%capture`
- 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.shthat if present in the mounted container/notebooksdirectory, 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-gpuand--disable-software-rasterizerwhen executing "headless" chrome for tests.