Releases: chenjie199234/Corelib
Releases · chenjie199234/Corelib
v0.0.139
v0.0.138
- fix buf bug in
rotatefile
- update golang version to 1.24.3
- update some dependent lib's version
v0.0.137
fix the url encode bug in typescript code which generated by web/protoc-gen-browser
v0.0.136
- update dependence
- delete
util/country
,we can get more detailed data from https://github.com/dr5hn/countries-states-cities-database/tree/master/json
v0.0.135
add a country name to country code and tel prefix map
v0.0.134
- fix bug in
cerror.convert
- fix bug in
GetBody()
inweb.server.context
- remove the codegen code's force min IOTimeout in
mysql
mongo
redis
- optimize the codegen's html code
- add email client config in codegen code's
SourceConfig
- add below codes in the codegen code's
main.go
to switch the current work dir to the execute file's dir
p, e := os.Executable()
if e != nil {
slog.Error("[main] get the executable file path failed", slog.String("error", e.Error()))
return
}
if !strings.Contains(p, "go-build") && !strings.Contains(p, os.Getenv("GOCACHE")) {
//not start from go run
p = filepath.Dir(p)
if e = os.Chdir(p); e != nil {
slog.Error("[main] change the current work dir to the executable file path failed", slog.String("error", e.Error()))
return
}
}
web.server
's static src root path now can't be the parent path of the execute filebreak change
incrpc
add data encoder to support accept and send JSON or PROTOBUF data!!!!!!!!
v0.0.133
- mongo driver update to
v2.1.0
.break change
- upgrade the trace and metric function to
opentelemetry
.break change
- codegen's -update flag removed,the codegen's generate code's cmd.bat/cmd.sh now contains the update function.
break change
- codegen's generate code updated.
break change
- codegen's generate code's required env updated.
break change
- fix some bug
v0.0.132
update dependency library
v0.0.131
1.fix the panic in crpc
caused missing header in message
2.update the redis-go
version
v0.0.130
v0.0.130