Skip to content

Releases: janpfeifer/gonb

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.

v0.6.3

18 May 03:56
b73ad57
Compare
Choose a tag to compare

Auto-complete: handle case where cell is not yet parseable, by creating a side go file with memorized definitions.

v0.6.2

17 May 06:32
691a642
Compare
Choose a tag to compare
  • Issue #23: Fixed support for generic types.

v0.6.1

13 May 20:35
Compare
Choose a tag to compare
  • Issue #21 : Added call to goimports and go get before trying to get contextual information or auto-complete,
    fixing many of the issues with those.

v0.6.0

07 May 17:04
Compare
Choose a tag to compare
  • Issue #16: Added package cache: implements a convenient cache of values for things that
    are expensive or slow to regenerate at each execution.
  • Issue #13 and #16: Dockerfile and updated documentation.