Skip to content

Commit 010ae83

Browse files
Release 3.2.0
1 parent eeef376 commit 010ae83

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

History.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11

2+
3.2.0 / 2018-08-29
3+
==================
4+
5+
## General
6+
7+
* Logger interface become a function:
8+
9+
```go
10+
var Logger func(format string, a ...interface{}
11+
```
12+
13+
* Log functions have been modified:
14+
15+
```go
16+
Log() // Behave like fmt.Println.
17+
Logf() // New - behave like fmt.Printf.
18+
Panic() // New - behave like Log followed by panic.
19+
Panicf() // New - behave like Logf followed by panic.
20+
21+
Debug() // Removed.
22+
```
23+
24+
The reason of this change is because packaged app like a .app (MacOS) or
25+
.appx (Windows) does not print their log into the terminal.
26+
These functions embed the logic to make terminal logs possible.
27+
28+
* `goapp` commands now have verbose mode.
29+
30+
## Mac
31+
32+
* `goapp mac build` now produces a `.app`.
33+
* `goapp mac run` command has been added. It runs a `.app` and capture the
34+
logs in the terminal.
35+
236
3.1.2 / 2018-08-27
337
==================
438

0 commit comments

Comments
 (0)