generated from hedzr/cmdr-go-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
138 lines (110 loc) · 4.87 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# CHANGELOG
- v0.5.25
- security patch: bump golang.org/x/crypto from 0.15.0 to 0.17.0, and more
- v0.5.21/23
- removed sending to coverall since a unknown/untagged error when gh action triggering the release
- security patch: bump golang.org/x/net from 0.15.0 to 0.17.0, and more
- fixed a bug from errors.v3
- upgrade deps
- v0.5.19
- upgrade deps
- fixed: `StripOrderPrefix`, ...
- v0.5.18
- upgrade deps
- fixed: change `SaveAs`(`--output`) field from string slice to string
- v0.5.16
- upgrade deps
- fixed a little
- v0.5.13
- improved the logging
- review deep copy codes after upgraded evendeep library
- fixed lost fields after restoring cmdr checkpoint
- fixed tests
- added `test` subcommand to forward control to `go test`
- v0.5.11
- security maintaining
- v0.5.9
- smaller binary sizes by new cmdr
- v0.5.8
- fixed wrong loops when `bgo` in short mode: `bgo -s`
- improved subcmd `sbom` to produce pretty yaml format directly
- improved logx to recognize `--no-color`/`-nc`/`NO_COLOR=1`/`NOCOLOR=1` mode so that `bgo sbom -nc` can produce yaml outputs without ANSI Color Escape Sequences.
- v0.5.7
- fixed wrong loops when `bgo` in auto mode: `bgo -a`/`bgo`/`bgo build`
- reviewed and clear the codes for merging sub-configs
- code style
- more subtests
- upgrade deps
- v0.5.6
- added `args: [ ]` and `asan: false`
- fixed the duplicated loops of building projects
- upgrade `hedzr/cmdr` to latest
- using `hedzr/evendeep`
- improve code style
- upgrade deps
- .1 -> .6
- v0.5.0
- Deep Reduce Building: new option `reduce: true` in `.bgo.yaml` to enable `-gcflags=all=-l -B`
- Special Post-process via `upx`: new options `upx: { enable:true, params:[] }` in `.bgo.yaml`
- added new subcommand `run` to forward arguments to `go run`:
`bgo run -- ./...` => `go run ./...`
- support more building args since [cmdr](https://github.com/hedzr/cmdr) 1.11.1: `BuilderComments`, `GitSummary` and `GitDesc`. See also changes in `.bgo.yaml`:
```yaml
extends:
- pkg: "github.com/hedzr/cmdr/conf"
values:
BuilderComments: "" # yes you can
```
`GitSummary` and `GitDesc` will be fetched automatically if you're using [cmdr](https://github.com/hedzr/cmdr).
- improved `bgo -#` build-info screen.
- improved and fixed subcommand `bgo sbom`.
- v0.3.23
- add support to GOAMD64
- v0.3.21
- add SBOM support: `bgo sbom <executable>`
- what is SBOM: [here](https://www.argon.io/blog/guide-to-sbom/), and [here](https://blog.sonatype.com/sbom-from-the-idea-of-transparency-to-the-reality-of-code).
- v0.3.18
- code reviewed
- v0.3.17
- upgrade log, errors
- v0.3.15
- fix: version command and help screen not work
- v0.3.13
- fix: script-file not work (pre/post-action-file)
- fix: --auto/--short get wrong target platforms matrix sometimes
- fix; cross-platform ls
- imp: `bgo` has been adapted onto **Windows 11** (should work for winx too)
- imp: more shell completions supported (bash, zsh, fish-shell, etc)
- fix/imp: .bgo.yml for myself has wrong params (such as .randomString in extends section, or wrong githash, version)
- v0.3.12
- temporary build
- fea: `bgo init -o bgo.{yml,yaml,json,toml}`
- imp: optimized json and toml outputting
- fea: support bgo init multiple outputs once: `bgo init -o=a.{yml,toml}`, an inessential feature
- imp: better json, toml outputting
- fix: the wrong template expansion in post/preAction was covered silently; and fixed the typo in postAction
- .bgo.yml: bgo - linux+darwin in auto mode.
- args:
- move `--dry-run` up to root level
- fix: buildtags might not work
- **fixed**: `-os` `-arch` and more `build` options cannot work in root command level
**TEMP WORKAROUND for older versions**
uses full path command `bgo build -os linux` instead of `bgo -os linux` till our new release arrive.
- imp: build - rewrite loopAllPackages, enable leadingText field
- imp: logx - LazyInit() and better performance
- imp: review codes
- v0.3.3
- fea: **Aliases** definitions in primary config directory can be merged into `bgo` command system now
- fea: `check-code-qualities` alias command added and play `gofmt`, `golint` and `golint` at once.
- fea: Extend `bgo` command system with Aliases definitions.
- fea: `bgo init -o bgo.{yml,yaml,json,toml}` writes different config file formats with giving suffix
- fix: TargetPlatforms.FilterBy not very ok
- imp: added cmdr global pre-action: verbose info for debugging
- CHANGE: `.bgo.yml` is loaded as an alternative config file now
- CHANGE: `$HOME/.bgo` and `conf.d` subdirectory is primary config files now
- CHANGE: primary config files will be distributed with binary executable
- v0.3.0
- fix: `bgo init` not work
- fix: zsh completion file not fully written
- v0.2.17 and older
- pre-releases