v2.7.2
版本发布时间: 2024-06-26 10:18:42
gogf/gf最新发布版本:v2.7.2(2024-06-26 10:18:42)
What's Changed
- feat(cmd/gf): add command
gf init xxx -a
to create an empty app template folder in mono-repo by @oldme-git in https://github.com/gogf/gf/pull/3550 - refactor(util/gconv): refactor code unit testing by @oldme-git in https://github.com/gogf/gf/pull/3591
- perf(util/gconv): remove unnecessary logic for function doScanList by @oldme-git in https://github.com/gogf/gf/pull/3588
- fix(os/gcfg): SetPath failed when there's config.yaml in current working directory by @ynwcel in https://github.com/gogf/gf/pull/3587
- perf(driver/pgsql): optimize regex for version matching by @yincongcyincong in https://github.com/gogf/gf/pull/3583
- fix(container/gmap&gset): deadlock when removing values during iterating by @LonelySally in https://github.com/gogf/gf/pull/3572
- fix(os/gtime): unit testing case occasionally failed for package gtime by @hailaz in https://github.com/gogf/gf/pull/3596
- fix(contrib/registry/zookeeper): invalid searching prefix by @cruelchen in https://github.com/gogf/gf/pull/3598
- fix(os/gcfg): file searching always returning the configuration file of pwd by @gqcn in https://github.com/gogf/gf/pull/3592
- fix(database/gdb): deadlock when orm operations performing in cache closure function from gcache by @gqcn in https://github.com/gogf/gf/pull/3585
- fix(database/gdb): confusing error message in Insert/Update operations when table not exist or the table contains no fields by @wln32 in https://github.com/gogf/gf/pull/3553
- feat(database/gdb): add
unscoped
tag support for orm struct by @fainc in https://github.com/gogf/gf/pull/3464 - refactor(cmd/gf): refactor command
gf gen service
withAST
by @oldme-git in https://github.com/gogf/gf/pull/3488 - test(cmd/gf): add unit testing case of commented api definitions generating for command
gf gen ctrl
by @zcyc in https://github.com/gogf/gf/pull/3575 - docs(contrib/drivers): add
README.zh_CN.MD
by @hailaz in https://github.com/gogf/gf/pull/3604 - ci(.github/workflows): fix warning info from node16 on timezone setting by @hailaz in https://github.com/gogf/gf/pull/3614
- refactor(drivers/mssql): change driver from
github.com/denisenkom/go-mssqldb
togithub.com/microsoft/go-mssqldb
by @oldme-git in https://github.com/gogf/gf/pull/3612 - ci(.github/workflows): remove code coverage report for folder
example
by @hailaz in https://github.com/gogf/gf/pull/3608 - feat(cmd/gf): add
DaMeng
database driver support by @Insua in https://github.com/gogf/gf/pull/3606 - fix(cmd/gf): missing configuration file support for cli command
pack/run/tpl/up
by @hailaz in https://github.com/gogf/gf/pull/3629 - feat(util/gvalid): add
171
series number support for virtual phone number validation by @swift-fs in https://github.com/gogf/gf/pull/3622 - fix(os/gres): #3611 add custom prefix
/
support for resource packing by @hailaz in https://github.com/gogf/gf/pull/3621 - refactor(cmd/gf): improve
gf gen ctrl
usingast
by @oldme-git in https://github.com/gogf/gf/pull/3616 - chore(example): password encrypt-decrypt for database using custom implement driver by @hailaz in https://github.com/gogf/gf/pull/3610
- refactor(drivers/pgsql): pgsql returning id should use quotation marks,when primary key is capital by @Insua in https://github.com/gogf/gf/pull/3638
- feat(cmd/gf): add command
gf doc
for local documentation by @hailaz in https://github.com/gogf/gf/pull/3634 - refactor(cmd/gf): delete binary file when command
gf run
ends process by @oldme-git in https://github.com/gogf/gf/pull/3628 - fix(database/gdb): #3613 ignore automatic handling for creating/updating time if it has been specified by @jswxstw in https://github.com/gogf/gf/pull/3615
- refactor(cmd/gf): use automatic generating package names for go files of
dao/do/entity
instead of constant package names by @Insua in https://github.com/gogf/gf/pull/3639 - refactor(net/ghttp): update error message for duplicated routes registering by @hailaz in https://github.com/gogf/gf/pull/3603
- refactor(container/gtree): refactor code with gods package by @oldme-git in https://github.com/gogf/gf/pull/3595
- fix(errors/gerror): #3633
Is
performs the same as errors.Is from go stdlib by @gqcn in https://github.com/gogf/gf/pull/3640 - feat(contrib/drivers/pgsql): support slice type to insert into array for pgsql by @oldme-git in https://github.com/gogf/gf/pull/3645
- fix(net/ghttp): fix args issue for
forkRestartProcess
in graceful restarting of ghttp.Server by @hailaz in https://github.com/gogf/gf/pull/3661 - fix(net/ghttp): Content-Type for
jsonp
response fromapplication/json
toapplication/javascript
by @swift-fs in https://github.com/gogf/gf/pull/3651 - fix(net/goai): #3660, support multiple file upload parameters for OpenAPIv3 by @hailaz in https://github.com/gogf/gf/pull/3662
- refactor(database/gdb): remove duplicated SQL records in tracing events by @houseme in https://github.com/gogf/gf/pull/3659
- feat(os/gcron): add graceful shutdown support by @vector233 in https://github.com/gogf/gf/pull/3625
New Contributors
- @ynwcel made their first contribution in https://github.com/gogf/gf/pull/3587
- @yincongcyincong made their first contribution in https://github.com/gogf/gf/pull/3583
- @cruelchen made their first contribution in https://github.com/gogf/gf/pull/3598
- @Insua made their first contribution in https://github.com/gogf/gf/pull/3606
- @swift-fs made their first contribution in https://github.com/gogf/gf/pull/3622
- @vector233 made their first contribution in https://github.com/gogf/gf/pull/3625
Full Changelog: https://github.com/gogf/gf/compare/v2.7.1...v2.7.2
1、 gf_darwin_amd64 40.33MB
2、 gf_darwin_arm64 39.57MB
3、 gf_linux_amd64 40.64MB
4、 gf_linux_arm64 38.92MB
5、 gf_linux_ppc64le 39.51MB
6、 gf_windows_amd64.exe 41.32MB