Skip to content

Commit e33285a

Browse files
Describe the release of v1.2
1 parent e70c87f commit e33285a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

CHANGE_LOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,38 @@
66

77
## [v1.2](https://github.com/thewizardplusplus/go-code-runner/tree/v1.2) (2021-03-27)
88

9+
Checking of package imports used in the code written in the Go programming language.
10+
11+
- checking of package imports used in the code written in the Go programming language:
12+
- checking based on the list of allowed imports;
13+
- compiling of a code written in the Go programming language:
14+
- checking of package imports used in the code (optionally):
15+
- checking based on the list of allowed imports.
16+
17+
### Features
18+
19+
- saving of a code to a temporary file:
20+
- storing of the temporary file with the code to an individual temporary directory;
21+
- checking of package imports used in the code written in the Go programming language:
22+
- checking based on the list of allowed imports;
23+
- compiling of a code written in the Go programming language:
24+
- automatic importing of the packages used in the code;
25+
- checking of package imports used in the code (optionally):
26+
- checking based on the list of allowed imports;
27+
- enriching of an error of the external command running by an output from the stderr stream;
28+
- running of the compiled code (i.e. the executable file):
29+
- passing of a custom input as the stdin stream;
30+
- returning of an output from the stdout stream;
31+
- enriching of an error of the external command running by an output from the stderr stream;
32+
- running of a test case set for the compiled code (i.e. the executable file):
33+
- representation of a test case:
34+
- input;
35+
- expected output;
36+
- checking of an actual output in each test case:
37+
- returning of the [sentinel errors](https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully#sentinel%20errors):
38+
- failed running — it returns on a running error;
39+
- unexpected output — it returns when the expected and actual outputs do not match.
40+
941
## [v1.1](https://github.com/thewizardplusplus/go-code-runner/tree/v1.1) (2021-03-27)
1042

1143
Running of a test case set for the compiled code (i.e. the executable file).

0 commit comments

Comments
 (0)