Skip to content

Commit fcce036

Browse files
authored
create: change the default value of to false to align with the internal version (#18)
1 parent 7f44a06 commit fcce036

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
# v1.0.4 2023-10-20
4+
5+
- create: change the default value of `noservicesuffix` to false to align with the internal version (!19)
6+
- cmdline: support protoc-gen-validate (#12)
7+
- github: add release workflow (#20)
8+
- create: support './' and abs for protofile path (#19)
9+
310
# v1.0.3 2023-10-20
411

512
- version: update version (#17)

cmd/create/cmdflags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func AddCreateFlags(createCmd *cobra.Command) {
6969
createCmd.Flags().Bool("multi-version", false,
7070
"Multi-version protocol support, true: supported; false: not supported, "+
7171
"defaults to not support importing multiple version protocols")
72-
createCmd.Flags().Bool("noservicesuffix", true,
72+
createCmd.Flags().Bool("noservicesuffix", false,
7373
"Whether the Service Descriptor naming in the generated Go stub code includes the Service suffix, "+
7474
"defaults to false")
7575
addOutputFlags(createCmd)

config/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
package config
1111

1212
// TRPCCliVersion is the version of trpc-cmdline tool.
13-
var TRPCCliVersion = "v1.0.3"
13+
var TRPCCliVersion = "v1.0.4"

gobin/assets.go

+1-1
Large diffs are not rendered by default.

install/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.3
1+
v1.0.4

0 commit comments

Comments
 (0)