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