Skip to content

Commit bbcde82

Browse files
committed
bump to v2.0.1
1 parent 3bacf6a commit bbcde82

File tree

4 files changed

+23
-12
lines changed

4 files changed

+23
-12
lines changed

CHANGELOG

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# CHANGELOG
22

3+
- v2.0.1
4+
5+
- fix/improve map -> struct, from hedzr/store
6+
- more tests, more docs
7+
- slight corrections
38

49
- v2.0.0
510

611
initial commit
712

8-
- integrated with store.Store
9-
- preProcess, parse, and exec
10-
- help screen, external editor, try parse value, atoa subpackage
11-
- mutual exclusive, just once, prerequisites, circuit break
12-
- sbom, --config, debug info screen
13-
13+
- integrated with store.Store
14+
- preProcess, parse, and exec
15+
- help screen, external editor, try parse value, atoa subpackage
16+
- mutual exclusive, just once, prerequisites, circuit break
17+
- sbom, --config, debug info screen
18+
1419
a (string) to any (type) - To convert a string to an exact value according to the given meme.

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ There are many dirty codes in the cmdr.v1 which cannot be refactored as well. It
2323
The passing winter, we did rewrite the cmdr.v2 to keep it clean and absorbed in parsing and dispatching.
2424
Some abilities were removed and relayouted to new modules.
2525
That's why the `Option Store` has been split as a standalone module [hedzr/store](https://github.com/hedzr/store)[^1].
26-
A faster and colorful slog-like logger has been implemented freshly as [hedzr/logg](https://github.com/hedzr/logg).
27-
[hedzr/evendeep](https://github.com/hedzr/evendeep) provides a deep fully-functional object copy tool. It helps to deep copy some internal objects easily. It is also ready for you.
28-
[hedzr/is](https://github.com/hedzr/is) is an environment detecting framework with many out-of-the-box detectors, such as `is.InTesting` and `is.InDebugging`.
26+
A faster and colorful slog-like logger has been implemented freshly as [hedzr/logg](https://github.com/hedzr/logg)[^3].
27+
[hedzr/evendeep](https://github.com/hedzr/evendeep)[^2] provides a deep fully-functional object copy tool. It helps to deep copy some internal objects easily. It is also ready for you.
28+
[hedzr/is](https://github.com/hedzr/is)[^4] is an environment detecting framework with many out-of-the-box detectors, such as `is.InTesting` and `is.InDebugging`.
2929

3030
Anyway, the whole supply chain painted:
3131

@@ -95,13 +95,20 @@ v2 is in earlier state but the baseline is stable:
9595

9696

9797
[^1]: `hedzr/store` is a high-performance configure management library
98+
[^2]: `hedzr/evendeep` offers a customizable deepcopy tool to you. There are also deepequal, deepdiff tools in it.
99+
[^3]: `hedzr/logg` provides a slog like and colorful logging library
100+
[^4]: `hedzr/is` is a basic environ detectors library
98101

99102
More minor details need to be evaluated and reimplemented if it's still meaningful in v2.
100103

101104
## History
102105

103106
v2 is staying in earlier state:
104107

108+
- Latest: v2.0.1
109+
- following our direct dependencies to fix/improve map -> struct converter so that we can:
110+
- improved the performance `GetSectionFrom`
111+
- remove direct dep to yåml.v3, so we haven't any 3rd-party direct deps now, in the main module.
105112
- Full list: [CHANGELOG](https://github.com/hedzr/cmdr/blob/master/CHANGELOG)
106113

107114
## Guide

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package cmdr
44

5-
const Version = "v2.0.0" // Version fir hedzr/cmdr/v2
5+
const Version = "v2.0.1" // Version fir hedzr/cmdr/v2

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ go 1.21
2626

2727
// replace github.com/hedzr/go-cabin/v2 => ../libs.cabin
2828

29-
replace github.com/hedzr/cmdr/v2/loaders => ./loaders
29+
// replace github.com/hedzr/cmdr/v2/loaders => ./loaders
3030

3131
// replace github.com/hedzr/store/codecs/hcl => ../libs.store/codecs/hcl
3232

@@ -53,7 +53,6 @@ replace github.com/hedzr/cmdr/v2/loaders => ./loaders
5353
// replace github.com/hedzr/store/providers/maps => ../libs.store/providers/maps
5454

5555
require (
56-
github.com/hedzr/cmdr/v2/loaders v0.0.0-00010101000000-000000000000
5756
github.com/hedzr/evendeep v1.1.7
5857
github.com/hedzr/is v0.5.18
5958
github.com/hedzr/logg v0.5.18

0 commit comments

Comments
 (0)