Skip to content

Releases: x1unix/go-playground

1.7.1

10 Mar 02:35
88b1074
Compare
Choose a tag to compare

Features

  • #110 Add examples for defer, panic and recover in snippets (issue: #102)
  • #109 Add support for custom web assets path with -static-dir flag

Bugfixes

  • #108 Properly handle invalid URLs and return 404 page.
  • #106 Automatically obtain GOROOT value from Go if environment variable is not defined.

1.7.0

08 Feb 19:25
150bee6
Compare
Choose a tag to compare

Features

  • #89 Add resizable application output (issue: #81)
  • #93 Add clear command (issue: #60)
  • #92 Add share snippet notification (issue: #6)
  • #94 Hide text in What's new button to save space on mobile devices.
  • #97 Update SDK to Go 1.17.6
  • #96 Add PWA support

Bugfixes

  • #96 Fix "Application updated" alert issues (issue: #83)

Misc

  • #88 Replace obsolete react-app-rewired with craco
  • #86 Update core dependencies (react, react-scripts, etc...)
  • #99 Update GitHub Actions release script.

1.6.2 - Hotfix

20 Aug 02:37
fb03b3a
Compare
Choose a tag to compare

Changelog

  • Updated WebAssembly bridge for Go 1.14.x

1.6.1

19 Aug 20:57
Compare
Choose a tag to compare

Changelog

Hotkeys

  • #40 Changed hotkey for Run command
  • Added hotkey for goimports action - Ctrl+Shift+F

Editor

  • Added commands to command palette (F1 to open command palette)

image
image

1.6.0

18 Aug 17:20
9af0f0e
Compare
Choose a tag to compare

Changelog

Hotkeys

#33 - Added F5 hotkey for source code build and run.

Editor

Improved code suggestion snippets for functions. Editor will insert function call with arguments suggestion.

Alt Text

Other

  • Editor - fixed snippets suggestion issue
  • Server - Custom playground URL support (#38)

1.5.1

12 Aug 01:21
b72346d
Compare
Choose a tag to compare
  • Minor code quality improvements

1.5.0

05 Aug 05:13
b0beb05
Compare
Choose a tag to compare

Changelog

Examples and templates

In this release we added new section near Open menu button.
This section contains templates for code (such as unit tests) with Go snippets and tutorials which can be useful while learning Go.

Alt Text

Code snippets

To make coding faster, we added some code snippets that will allow to paste code expression using special alias.

Alt Text

Short list of available snippets:
* iferr - Error handling snippet
* switch - Quick switch declaration
* typestruct - Quickly declare struct
* fmtprintf - fmt.Printf shorthand

Full list of snippets available here

Custom fonts and font ligatures

This release adds editor font selection option to settings modal and programming font ligatures support.

Alt Text

Other minor changes and fixes

  • Fixed default fallback font for editor bug that affected Linux users
  • Added experimental update popup
  • Added changelog modal
  • Added "Submit Issue" and "Donate" options to menu
  • Updated Go version to 1.14 for WASM builds
  • Updated monaco-editor package that powers Better Go Playground

1.4.2

03 Aug 14:56
04a2c40
Compare
Choose a tag to compare

1.4.1

20 Apr 16:42
0e25b73
Compare
Choose a tag to compare

Changelog

  • Improved default Go program template (see: #13)
  • Fixed invalid "format" query parameter value error when trying to do Code Format
  • Change documentation URL to pkg.go.dev
  • Added optional Google Analytics support with GTAG environment variable.

1.4.0

31 Jan 07:37
45afb3e
Compare
Choose a tag to compare

Changelog

This minor release adds Go code errors report in editor

Go code errors report

image

We added background code syntax checker based on go/parser package. Checker is written in Go and compiled as WebAssembly binary.

If your browser supports WebAssembly, checker will start in separate worker thread and will report for syntax error in your code on code change.