Skip to content

Releases: janpfeifer/gonb

v0.7.7 Added Markdown support; Fixed duplicated `init_` functions.

08 Aug 08:49
e03f555
Compare
Choose a tag to compare
  • Added DisplayMarkdown and UpdateMarkdown.
  • 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

28 Jul 20:29
083aa39
Compare
Choose a tag to compare
  • Issue #43:
    • %reset now also resets go.mod.
    • Added %reset go.mod which only resets go.mod but not the Go definitions memorized.

v0.7.5 Added GONB_DIR and GONB_TMP_DIR

28 Jul 13:14
Compare
Choose a tag to compare
  • Issue #30 (cont):
    • Added GONB_DIR and GONB_TMP_DIR even with the directories being used by GONB.

v0.7.4: Added gonbui.RequestInput

20 Jul 07:28
Compare
Choose a tag to compare

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"

14 Jul 09:23
b396eb2
Compare
Choose a tag to compare
  • Issue #35: Fixed installation (--install): it now uses the absolute path to the gonb binary
    (as opposed to simply os.Args[0]).
    Also added check that it can find the "go" binary.
  • Workaround for go get not working with go.work: parse go get errors, and if it's complaining about
    a missing package that is defined in one of the go.work "use" paths, it will add a suggestion the user
    add a go.mod replace rule.
  • Added %goworkfix to add use clauses as replace clauses in go.mod.

v0.7.2 Bug fixes

08 Jul 09:44
Compare
Choose a tag to compare
  • 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

03 Jul 05:19
Compare
Choose a tag to compare
  • Added support for tracking go.work, which allows auto-complete and contextual help
    to work with the local modules configured. It also requires gopls 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.

29 May 09:30
Compare
Choose a tag to compare
  • 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

23 May 09:23
b372b16
Compare
Choose a tag to compare
  • More contextual help and auto-complete improvements:
    • Added tracking of files in development (%track, %untrack), for usage with gopls.
    • Auto-track replace directives in go.mod pointing to local filesystem.

v0.6.4 InspectRequest improvements

22 May 12:53
3f2a2bc
Compare
Choose a tag to compare
  • 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 and go.sum were not being notified to gopls.