Skip to content

Commit 28ae8ad

Browse files
committed
bump to v1.11.23
Signed-off-by: Hedzr Yeh <[email protected]>
1 parent b82f828 commit 28ae8ad

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed

CHANGELOG

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Versions
44

5+
- v1.11.23 (FRZ)
6+
- security patch: google/x/net and more
7+
- improved some writings
8+
- fixed/improved cmdr.Get() to extract some fields more deeply
9+
- added Flag.GetDottedNamePathEx()
10+
- improved defaultActionImpl to flush all outputs at once
11+
- make default action outputs colorful
12+
513
- v1.11.21 (FRZ)
614
- NOTE: switched toolchain to go1.18 (see the go.mod)
715
- now you may return `ErrNotImpl` to fallback to default action at early developing

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,21 @@ and Bonus of [#cmdr](https://github.com/topics/cmdr) Series:
4242

4343
## News
4444

45+
> **FRZ**: It means I'm planning and in working for cmdr.v2, but the plan is delayed. In recently months, sadly, some things took my focus. But the v2 will be here soon.
46+
> In our v2's wishlist, codes will be rewritten completely since I understand coding more in golang, well, perhaps, I hope so.
47+
4548
- docs (WIP):
4649
- english documentation: NOT yet
4750
- documentation at: <https://hedzr.github.io/cmdr-docs/>
4851

52+
- v1.11.23 (FRZ)
53+
- security patch: google/x/net and more
54+
- improved some writings
55+
- fixed/improved cmdr.Get() to extract some fields more deeply
56+
- added Flag.GetDottedNamePathEx()
57+
- improved defaultActionImpl to flush all outputs at once
58+
- make default action outputs colorful
59+
4960
- v1.11.21 (FRZ)
5061
- NOTE: switched toolchain to go1.18 (see the go.mod)
5162
- now you may return `ErrNotImpl` to fallback to default action at early developing
@@ -61,21 +72,18 @@ and Bonus of [#cmdr](https://github.com/topics/cmdr) Series:
6172

6273
```go
6374
listCmd := cmdr.NewSubCmd().Titles("list", "ls").
64-
Description("list projects in .poi.yml").
65-
Action(func(cmd *cmdr.Command, args []string) (err error) {
75+
Description("list projects in .poi.yml").
76+
Action(func(cmd *cmdr.Command, args []string) (err error) {
6677
err = cmdr.ErrNotImpl // notify caller fallback to defaultAction
6778
return
68-
}).
69-
AttachTo(root)
79+
}).
80+
AttachTo(root)
7081
```
7182

7283
> The default action of a command handler will print flags hit info and others useful info.
7384

7485
</details>
7586

76-
- v1.11.20 (FRZ)
77-
- upgrade deps
78-
7987
- More details at [CHANGELOG](https://github.com/hedzr/cmdr/blob/master/CHANGELOG)
8088

8189
## Features

doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const (
1111
// AppName const
1212
AppName = "cmdr"
1313
// Version const
14-
Version = "1.11.21"
14+
Version = "1.11.23"
1515
// VersionInt const
16-
VersionInt = 0x010b15
16+
VersionInt = 0x010b17
1717
)

0 commit comments

Comments
 (0)