diff options
| author | Shulhan <ms@kilabit.info> | 2024-12-07 13:58:11 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-12-07 13:58:11 +0700 |
| commit | 632c367b5ad48df8d223bab64daf2e23ceaccabb (patch) | |
| tree | 735f2df75619bc510640feea670ec9cd877ca9de | |
| parent | bf84dfaca99f0b9c15afb705ab8bb6b92867818f (diff) | |
| download | pakakeh.go-0.58.1.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.adoc | 41 | ||||
| -rw-r--r-- | pakakeh.go | 2 |
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) @@ -8,5 +8,5 @@ package pakakeh var ( // Version of this module. - Version = `0.58.0` + Version = `0.58.1` ) |
