summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-12-07 13:58:11 +0700
committerShulhan <ms@kilabit.info>2024-12-07 13:58:11 +0700
commit632c367b5ad48df8d223bab64daf2e23ceaccabb (patch)
tree735f2df75619bc510640feea670ec9cd877ca9de
parentbf84dfaca99f0b9c15afb705ab8bb6b92867818f (diff)
downloadpakakeh.go-632c367b5ad48df8d223bab64daf2e23ceaccabb.tar.xz
Release pakakeh.go v0.58.1 (2024-12-07)v0.58.1
=== Enhancements * lib/play: add custom request to run unsafe directory directly As exceptional, the Run and HTTPHandleRun accept the following request for running program inside custom "go.mod", { "unsafe_run": <path> } The "unsafe_run" define the path to directory relative to HTTP server working directory. Once request accepted it will change the directory into "unsafe_run" first and then run "go run ." directly. Go code that executed inside "unsafe_run" should be not modifiable and safe from mallicious execution. * lib/play: add option to Run with specific Go version and without race The idea is to allow testing Go code on specific Go version. For example, before Go 1.22, the for loop with variable is shared among block statements, which cause every use of that variable is run with the last value. * lib/play: expose the Timeout variable By exposing the Timeout, user can set their maximum time the program can run in their playground.
-rw-r--r--CHANGELOG.adoc41
-rw-r--r--pakakeh.go2
2 files changed, 42 insertions, 1 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index c7e8d9a2..cc9a4256 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -20,6 +20,47 @@ link:CHANGELOG_2018-2019.html[Changelog from 2018 to 2019^].
This is changelog for `pakakeh.go` module since v0.1.0 until v0.11.0.
+[#v0_58_1]
+== pakakeh.go v0.58.1 (2024-12-07)
+
+[#v0_58_1__enhancements]
+=== Enhancements
+
+lib/play: add custom request to run unsafe directory directly::
++
+--
+As exceptional, the Run and HTTPHandleRun accept the following
+request for running program inside custom "go.mod",
+
+----
+{
+ "unsafe_run": <path>
+}
+----
+
+The "unsafe_run" define the path to directory relative to HTTP
+server working directory.
+Once request accepted it will change the directory into
+"unsafe_run" first and then run "go run ." directly.
+Go code that executed inside "unsafe_run" should be not
+modifiable and safe from mallicious execution.
+--
+
+
+lib/play: add option to Run with specific Go version and without race::
++
+The idea is to allow testing Go code on specific Go version.
+For example, before Go 1.22, the for loop with variable is shared
+among block statements, which cause every use of that variable is run
+with the last value.
+
+
+lib/play: expose the Timeout variable::
++
+By exposing the Timeout, user can set their maximum time the program
+can run in their playground.
+
+
[#v0_58_0]
== pakakeh.go v0.58.0 (2024-10-06)
diff --git a/pakakeh.go b/pakakeh.go
index ae152f65..f44968c4 100644
--- a/pakakeh.go
+++ b/pakakeh.go
@@ -8,5 +8,5 @@ package pakakeh
var (
// Version of this module.
- Version = `0.58.0`
+ Version = `0.58.1`
)