go-playground

Better Go Playground powered by React and Monaco editor

MIT License

Stars
1.2K
Committers
6

Bot releases are hidden (Show)

go-playground - 1.12.0

Published by x1unix almost 2 years ago

What's Changed

Full Changelog: https://github.com/x1unix/go-playground/compare/v1.11.1...v1.12.0

go-playground - 1.11.1

Published by x1unix over 2 years ago

What's Changed

Full Changelog: https://github.com/x1unix/go-playground/compare/v1.11.0...v1.11.1

go-playground - 1.11.0

Published by x1unix over 2 years ago

What's Changed

Full Changelog: https://github.com/x1unix/go-playground/compare/v1.10.2...v1.11.0

go-playground - 1.10.2

Published by x1unix over 2 years ago

Features

  • #158 Add Shift+Enter hotkey to jump to newline (closes #157)

Misc

  • #160 Speed-up GitHub Actions job build speed.
go-playground - 1.10.1

Published by x1unix over 2 years ago

This is a hotfix release.

Bugfixes

  • #155 Fix panel layout state sync with local storage (closes #154)
go-playground - 1.10.0

Published by x1unix over 2 years ago

Features

  • #150 Use system dark mode preferences.
  • #147 Add support to horizontal and vertical UI layout (closes #136).

Bugfixes

  • #147 Store output panel size in local storage.

Breaking changes

Toggle theme button is not available if Use system theme option is enabled.

This option is enabled by default on supported browsers. Disable Use system theme option to return back old theme toggle button.

go-playground - 1.9.0

Published by x1unix over 2 years ago

Features

  • #140 Add status bar with build information, errors and shortcuts.
  • #141 Increase command bar space on small screens.

Bugfixes

  • #142 Check for service worker update on startup.

Misc

  • #137 Add Systemd unit file (thanks @avdb13 for contribution)
  • #144 Add simple install script using make install command.
go-playground - 1.8.4

Published by x1unix over 2 years ago

Security fixes

  • #139 bump bump node-forge from 1.2.1 to 1.3.0
  • #138 bump actions/cache from 2 to 3
go-playground - 1.8.3

Published by x1unix over 2 years ago

This is a hotfix release.

Bugfixes

  • #132 Fix invalid snippet URL in share popup link (closes #131)
go-playground - 1.8.2

Published by x1unix over 2 years ago

Features

  • #129 Use Go 1.18 (closes #105)

Misc

  • #130 Do multiarch builds in parallel
go-playground - 1.8.1

Published by x1unix over 2 years ago

Features

  • #119 Make Google Analytics tag optional and configurable using container environment variables.

Bugfixes

Misc

go-playground - 1.8.0

Published by x1unix over 2 years ago

Features

  • #115 Add base64-encoded images output support.
  • #113 Add GoTip environment support for experimental Go versions.
  • #114 Add Go constraints/generics example snippet.

Bugfixes

  • #117 WebAssembly: fix execution context for methods that require Window interface.
  • #116 Fix fmtprintf snippet.
go-playground - 1.7.1

Published by x1unix over 2 years ago

Features

Bugfixes

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

Published by x1unix over 2 years ago

Features

Bugfixes

Misc

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

Published by x1unix about 4 years ago

Changelog

  • Updated WebAssembly bridge for Go 1.14.x
go-playground - 1.6.1

Published by x1unix about 4 years ago

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

go-playground - 1.6.0

Published by x1unix about 4 years ago

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

go-playground - 1.5.1

Published by x1unix about 4 years ago

  • Minor code quality improvements
go-playground - 1.5.0

Published by x1unix about 4 years ago

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