Skip to content

Releases: chenjie199234/Corelib

v0.0.139

09 Jun 06:13
Compare
Choose a tag to compare

1.update the required golang version to 1.24.4
2.update dependence libs' version
3.fix prometheus exporter's NameEscapingScheme in cotel

v0.0.138

20 May 08:27
Compare
Choose a tag to compare
  1. fix buf bug in rotatefile
  2. update golang version to 1.24.3
  3. update some dependent lib's version

v0.0.137

22 Apr 11:55
Compare
Choose a tag to compare

fix the url encode bug in typescript code which generated by web/protoc-gen-browser

v0.0.136

22 Apr 07:15
Compare
Choose a tag to compare
  1. update dependence
  2. delete util/country,we can get more detailed data from https://github.com/dr5hn/countries-states-cities-database/tree/master/json

v0.0.135

02 Apr 08:38
Compare
Choose a tag to compare

add a country name to country code and tel prefix map

v0.0.134

31 Mar 05:35
Compare
Choose a tag to compare
  1. fix bug in cerror.convert
  2. fix bug in GetBody() in web.server.context
  3. remove the codegen code's force min IOTimeout in mysql mongo redis
  4. optimize the codegen's html code
  5. add email client config in codegen code's SourceConfig
  6. 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
		}
	}
  1. web.server's static src root path now can't be the parent path of the execute file
  2. break change in crpc add data encoder to support accept and send JSON or PROTOBUF data!!!!!!!!

v0.0.133

07 Mar 10:56
Compare
Choose a tag to compare
  1. mongo driver update to v2.1.0.break change
  2. upgrade the trace and metric function to opentelemetry.break change
  3. codegen's -update flag removed,the codegen's generate code's cmd.bat/cmd.sh now contains the update function.break change
  4. codegen's generate code updated.break change
  5. codegen's generate code's required env updated.break change
  6. fix some bug

v0.0.132

01 Dec 07:39
Compare
Choose a tag to compare

update dependency library

v0.0.131

21 Oct 12:04
Compare
Choose a tag to compare

1.fix the panic in crpc caused missing header in message
2.update the redis-go version

v0.0.130

16 Oct 08:29
Compare
Choose a tag to compare

v0.0.130