Skip to content

Commit

Permalink
codecgen: update genVersion=28 for v1.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ugorji committed Mar 8, 2023
1 parent dbafd97 commit 29258c4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion codec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ caveats. See Encode documentation.

```go
const CborStreamBytes byte = 0x5f ...
const GenVersion = 27
const GenVersion = 28
var SelfExt = &extFailWrapper{}
var GoRpc goRpc
var MsgpackSpecRpc msgpackSpecRpc
Expand Down
6 changes: 3 additions & 3 deletions codec/codecgen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import (

// MARKER: keep in sync with ../gen.go (genVersion) and ../go.mod (module version)
const (
codecgenModuleVersion = `1.2.10` // default version - overridden if available via go.mod
minimumCodecVersion = `1.2.10`
genVersion = 27
codecgenModuleVersion = `1.2.11` // default version - overridden if available via go.mod
minimumCodecVersion = `1.2.11`
genVersion = 28
)

const genCodecPkg = "codec1978" // MARKER: keep in sync with ../gen.go
Expand Down
2 changes: 1 addition & 1 deletion codec/gen-helper.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion codec/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ import (
// v25: 20210406 pass base reflect.Type to side(En|De)code and (En|De)codeExt calls
// v26: 20230201 genHelper changes for more inlining and consequent performance
// v27: 20230219 fix error decoding struct from array - due to misplaced counter increment
const genVersion = 27
// v28: 20230224 fix decoding missing fields of struct from array, due to double counter increment
const genVersion = 28

const (
genCodecPkg = "codec1978" // MARKER: keep in sync with codecgen/gen.go
Expand Down
4 changes: 2 additions & 2 deletions codec/mammoth2_codecgen_generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions codec/values_codecgen_generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 29258c4

Please sign in to comment.