Releases: janpfeifer/gonb
Releases Β· janpfeifer/gonb
v0.7.7 Added Markdown support; Fixed duplicated `init_` functions.
- Added
DisplayMarkdown
andUpdateMarkdown
. - Changed
%help
to use markdown. init_*
functions:- Fixed duplicate rendering.
- Added section about it in
tutorial.ipynb
- Updated tutorial to used
%rm
to remove no longer wanted definitions.
v0.7.6 improved %reset
- Issue #43:
- %reset now also resets
go.mod
. - Added
%reset go.mod
which only resetsgo.mod
but not the Go definitions memorized.
- %reset now also resets
v0.7.5 Added GONB_DIR and GONB_TMP_DIR
- Issue #30 (cont):
- Added GONB_DIR and GONB_TMP_DIR even with the directories being used by GONB.
v0.7.4: Added gonbui.RequestInput
Just in case. It can be handy where a password/key needs to be typed for instance, and one doesn't want to leave traces of it in the notebook. Or for educational purposes.
- Issue #38:
%with_inputs
and%with_password
now wait 200 milliseconds each time (a constant), before
prompting user with an input in the Jupyter Notebook.- Added
gonbui.RequestInput
, that will prompt the user with a text field in the notebook.
v0.7.3 Added "%goworkfix", a workaround for "go get"
- Issue #35: Fixed installation (--install): it now uses the absolute path to the gonb binary
(as opposed to simplyos.Args[0]
).
Also added check that it can find the "go" binary. - Workaround for
go get
not working withgo.work
: parsego get
errors, and if it's complaining about
a missing package that is defined in one of thego.work
"use" paths, it will add a suggestion the user
add ago.mod
replace rule. - Added
%goworkfix
to adduse
clauses asreplace
clauses ingo.mod
.
v0.7.2 Bug fixes
- Fixed bug crashing command "%cd" with no argument.
- Fixed error parsing: matching line number mix up with lines starting with 1 (instead of 0).
- Cleaned up logs: moved more logging to
klog
: most is disabled by default, but can be enabled
for debugging passing the flags--logtostderr --vmodule=...
(they work with--install
). - Fixed bug where #bytes written of parsed stderr was reported wrong, which lead to truncated errors.
v0.7.1 Added support for `go.work` and new `%cd` command
- Added support for tracking
go.work
, which allows auto-complete and contextual help
to work with the local modules configured. It also requiresgopls
v0.12.4 or newer to work. - Fixed auto-complete bug when no
main
function (or no%%
) was present in cell. - Added special command
%cd
to chance current directory. - Commands
%cd
and%env
prints results of its execution.
v0.7.0: Memorization managements commands.
- Added "%ls" and "%rm" to manage memorized definitions directly.
- More contextual help and auto-complete improvements:
- Tracking of files follow through symbolic links.
v0.6.5 Tracked files
- More contextual help and auto-complete improvements:
- Added tracking of files in development (
%track
,%untrack
), for usage withgopls
. - Auto-track
replace
directives ingo.mod
pointing to local filesystem.
- Added tracking of files in development (
v0.6.4 InspectRequest improvements
- More InspectRequest improvements:
- Search for identifier preceding the cursor if cursor is under a non-identifier.
- If cursor under a ",", search for preceding function name identifier.
- Handle case where cell is not parseable: like with auto-complete before.
- Fixed a bug where updates to
go.mod
andgo.sum
were not being notified togopls
.