Skip to content

GoFrame Release v2.8.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Dec 02:37
· 1 commit to master since this release
d748fb6

What's Changed

Feature

  • feat(cmd/gf): add typeMapping and fieldMapping feature support for command gf gen genpbentity by @zishang520 in #3970
  • feat(cmd/gf): add interface functions generating for embedded struct of logic struct in command gen service by @joy999 in #3802
  • feat(contrib/drivers/pgsql): add array type varchar[] and text[] converting to Go []string support by @ninjashixuan in #4000
  • feat(contrib/registry/consul): add consul registry support by @gqcn in #4016
  • feat(database/gdb): add WhereExists/WhereNotExists by @gqcn in #4015
  • feat(database/gdb): add sharding feature for schema and table by @gqcn in #4014
  • feat(database/gdb): add transaction propagation&isolation level&readonly features by @gqcn in #4013
  • feat(errors/gerror): add As support by @gqcn in #4002
  • feat(net/ghttp): add middleware MiddlewareGzip for compressing response content using gzip by @gqcn in #4008
  • feat(os/gsession): add RegenerateId/MustRegenerateId support by @gqcn in #4012

Enhancement

  • feat(gctx): rename and remove gctx functions to prevent ambiguity by @mingzaily in #3892
  • feat(net/gipv4): add enhanced the conversion between uint32 and string by @oldme-git in #3988
  • feat(net/goai): support OpenAPIv3.1 in description field for schema object by @wlynxg in #3978
  • refactor(cmd/gf): change default src value to api, path to internal/packed/packed_enums.go for command gen enums by @gqcn in #3996

BugFix

  • fix(cmd/gf): custom tags repeatedly added using command gf gen pb with -a option by @wangle201210 in #3966
  • fix(contrib/drivers/pgsql): add unix socket connection support by @gqcn in #4028
  • fix(contrib/registry/consul): update dependence of gf to v2.8.2 with relative path specified by @gqcn in #4029
  • fix(contrib/registry/etcd): remove default configuration of AutoSyncInterval by @gqcn in #4027
  • fix(database/gdb): CRUD typos by @huty1998 in #4017
  • fix(database/gdb): issue where the Count/Value/Array query logic was incompatible with the old version when users extended the returned result fields using the Select Hook by @gqcn in #3995
  • fix(database/gdb): move Raw parameter from args to sql statement before committed to db driver by @gqcn in #3997
  • fix(database/gdb): orm tag from embedded struct is missing in with feature by @gqcn in #4011
  • fix(net/ghttp): invalid CORS AllowOrigin parsing from referer by @yzy613 in #3990
  • fix(net/ghttp): occasional ci failed by unit testing cases using gctp.GetFreePort by @gqcn in #3982
  • fix(util/gpage): code scanning alert no. 9: Potentially unsafe quoting by @houseme in #3992
  • fix(util/gutil): code scanning alert no. 17: Potentially unsafe quoting by @houseme in #3993
  • fix(utils/gvalid): missing pkg path for enums pointer by @0x7a7a in #3983

Chore

  • feat: README updates by @gqcn in #3974
  • chore: add example for openapi/swagger authentication by @wangle201210 in #4004
  • chore: fix some function names in comment by @longxiangqiao in #3967
  • chore: improve golangci-lint.yml, upgrade dependencies, and optimize code and comments by @houseme in #4025
  • ci(gci/import): improve golangci.yml and add gci linter by @houseme in #4010
  • docs(cmd/gen): improve comments for command gen dao by @houseme in #4007
  • test(drivers/mssql): add unit testing cases of transaction by @oldme-git in #3818

New Contributors

Full Changelog: v2.8.1...v2.8.2