v2.7.0
版本发布时间: 2024-04-08 20:52:42
gogf/gf最新发布版本:v2.7.2(2024-06-26 10:18:42)
What's Changed
- fix issue #3218 #3204 by @gqcn in https://github.com/gogf/gf/pull/3220
- fix: #2689 change sessionId in cookie by @glennliao in https://github.com/gogf/gf/pull/3203
- fix: #2938 by @hailaz in https://github.com/gogf/gf/pull/3178
- fix issues for package contrib/drivers/dm by @zhonghuaxunGM in https://github.com/gogf/gf/pull/3157
- fix: #2924 by @hailaz in https://github.com/gogf/gf/pull/3177
- version v2.6.1 by @gqcn in https://github.com/gogf/gf/pull/3222
- Add comment for Format method so that you can know Layout method. by @zhangyuyu in https://github.com/gogf/gf/pull/3230
- enhance #3221 by @oldme-git in https://github.com/gogf/gf/pull/3224
- feat: update dependent redoc js for swagger ui by @hailaz in https://github.com/gogf/gf/pull/3217
- fix: #3191 allow custom and overwrite the
Do
method implements by @hailaz in https://github.com/gogf/gf/pull/3194 - fix:gz files are compressed repeatedly every time tick by @cyruslo in https://github.com/gogf/gf/pull/3236
- comments update for package gstr by @gqcn in https://github.com/gogf/gf/pull/3233
- fix typo flie -> file by @gqcn in https://github.com/gogf/gf/pull/3228
- add configuration support for logger of
grpcx.Server
by @gqcn in https://github.com/gogf/gf/pull/3223 - add example for serve file by @hailaz in https://github.com/gogf/gf/pull/3193
- Update Github issue template by @oldme-git in https://github.com/gogf/gf/pull/3234
- Update README.MD by @hailaz in https://github.com/gogf/gf/pull/3243
- fix: memory leak when gcache.NewAdapterMemory with lru by @qinyuguang in https://github.com/gogf/gf/pull/3241
- add
MiddlewareNeverDoneCtx
for packageghttp
by @gqcn in https://github.com/gogf/gf/pull/3250 - fix #3253 by @oldme-git in https://github.com/gogf/gf/pull/3255
- fix #3251 by @oldme-git in https://github.com/gogf/gf/pull/3254
- fix issue #3232 by @gqcn in https://github.com/gogf/gf/pull/3247
- Fix gf gen service bug. Fix the issue of significant differences in the generated code every … by @loveyfore in https://github.com/gogf/gf/pull/3260
- add example for exporting prometheus metrics using
ghttp.Server
by @gqcn in https://github.com/gogf/gf/pull/3266 - fix some wrong comment by @oldme-git in https://github.com/gogf/gf/pull/3265
- fix: #3237 big memory consumed when post large files to http server by @gqcn in https://github.com/gogf/gf/pull/3267
- fix workflow for gitee sync by @gqcn in https://github.com/gogf/gf/pull/3269
- feat: upgrade gitee sync Hub Mirror Action by @houseme in https://github.com/gogf/gf/pull/3272
- add internal error logging and update comments for
gclient.RequestVar
by @gqcn in https://github.com/gogf/gf/pull/3270 - no printing internal middleware for
ghttp.Server
by @gqcn in https://github.com/gogf/gf/pull/3271 - rename gitee ISSUE_TEMPLATE.MD to ISSUE_TEMPLATE by @Blacknight1260 in https://github.com/gogf/gf/pull/3274
- add example for ctx keys feature of package
glog
by @gqcn in https://github.com/gogf/gf/pull/3273 - improve converter feature for package gconv by @gqcn in https://github.com/gogf/gf/pull/3211
- version v2.6.2 by @gqcn in https://github.com/gogf/gf/pull/3276
- fix error in
gerror.HasCode
by @gqcn in https://github.com/gogf/gf/pull/3277 - fix workflow script for cli building and release by @gqcn in https://github.com/gogf/gf/pull/3279
- Update annotation for redis.toml by @oldme-git in https://github.com/gogf/gf/pull/3282
- add offline document link in readme.md by @hailaz in https://github.com/gogf/gf/pull/3284
- bugfix:fix gconv map deep option not effective by @conwaypan in https://github.com/gogf/gf/pull/3287
- fix issue #3286 by @gqcn in https://github.com/gogf/gf/pull/3289
- feat: support running commands via non-command line arguments by @jswxstw in https://github.com/gogf/gf/pull/3290
- fix: #3292 all http requests walk through naming resolving if discovery is enabled by @gqcn in https://github.com/gogf/gf/pull/3294
- fix issue #2457 by @gqcn in https://github.com/gogf/gf/pull/3297
- fix issue #2552 by @gqcn in https://github.com/gogf/gf/pull/3300
- fix issue #2503 by @gqcn in https://github.com/gogf/gf/pull/3299
- fix empty pwd path read from
gfile.Pwd()
which could cause internal error logging forgview.New
by @hailaz in https://github.com/gogf/gf/pull/3302 - fix issue #2572 by @gqcn in https://github.com/gogf/gf/pull/3301
- fix issue #2594 by @gqcn in https://github.com/gogf/gf/pull/3303
- add field type detection for soft time field like
created_at/updated_at/deleted_at
to support unix timestamp or bool deleting table field by @gqcn in https://github.com/gogf/gf/pull/3293 - fix issue #2643 by @gqcn in https://github.com/gogf/gf/pull/3304
- use iota to unify the enums definition by @oldme-git in https://github.com/gogf/gf/pull/3305
- fix #3245 by @oldme-git in https://github.com/gogf/gf/pull/3298
- add
#
for cron pattern that can ignore seconds, which makes the cron pattern running in minimum minute like linux crontab pattern by @gqcn in https://github.com/gogf/gf/pull/3306 - fix issue #2616 by @gqcn in https://github.com/gogf/gf/pull/3307
- new version v2.6.3 by @gqcn in https://github.com/gogf/gf/pull/3308
- enhance: add ExampleCache_Clear by @oldme-git in https://github.com/gogf/gf/pull/3310
- fix: fix issue command
gf run -w
takes no effect by @hailaz in https://github.com/gogf/gf/pull/3321 - fix: fix #3226 by @hailaz in https://github.com/gogf/gf/pull/3322
- enhance: improve mysql_z_unit_model_test by @oldme-git in https://github.com/gogf/gf/pull/3329
- fix: fix typo by @Tallone in https://github.com/gogf/gf/pull/3332
- fix: update ci of github pages by @hailaz in https://github.com/gogf/gf/pull/3331
- fix: update error code comment on i18n defaultLanguage value by @weishirongzhen in https://github.com/gogf/gf/pull/3335
- enhance: upgrade nacos-sdk-go to v2 by @lrioo in https://github.com/gogf/gf/pull/3334
- fix: otel tracing content contains invalid UTF-8 by @seth-shi in https://github.com/gogf/gf/pull/3340
- enhance: gproc.signal enhance #3325 by @Agzer0 in https://github.com/gogf/gf/pull/3326
- enhance: add
Save
operation support for pgsql #3053 by @oldme-git in https://github.com/gogf/gf/pull/3324 - feat: upgrade set-go version and add go 1.22 version by @houseme in https://github.com/gogf/gf/pull/3316
- fix: generated dao go files forcely cleared by command
gf gen dao
if clear set true by @gqcn in https://github.com/gogf/gf/pull/3337 - enhance: change tracing span name from request uri to router uri for http request by @seth-shi in https://github.com/gogf/gf/pull/3338
- enhance: improve
FormatUpsert
implements for pgsql by @oldme-git in https://github.com/gogf/gf/pull/3349 - fix: recognize
json_valid
constraint as json field type for database mariadb #2746 by @oldme-git in https://github.com/gogf/gf/pull/3309 - fix:
WherePri
function wrong in pgsql #3330 by @oldme-git in https://github.com/gogf/gf/pull/3339 - enhance: add
Save
operation support for SQLite #2764 by @oldme-git in https://github.com/gogf/gf/pull/3315 - enhance: add sentinel auth config for redis by @laushunyu in https://github.com/gogf/gf/pull/3348
- feat: version v2.6.4 by @gqcn in https://github.com/gogf/gf/pull/3352
- enhance: update contrib/drivers/README.MD by @oldme-git in https://github.com/gogf/gf/pull/3355
- fix: cache value assertion panic if the cache adapter is not in-memory for soft time feature of
package gdb
; improve converting performance forgconv.Scan
by @gqcn in https://github.com/gogf/gf/pull/3351 - fix: unit test error in PgSQL and SQLite; Unified
t.Assert(err, nil)
tot.AssertNil(err)
by @oldme-git in https://github.com/gogf/gf/pull/3356 - fix:
for
typo in comments for packagecontrib/drivers
andgdb
by @oldme-git in https://github.com/gogf/gf/pull/3366 - enhance: cut tracing content as unicode for safety by @seth-shi in https://github.com/gogf/gf/pull/3342
- enhance: do not ignore error from
gdb.FormatMultiLineSqlToSingle
func by @oldme-git in https://github.com/gogf/gf/pull/3368 - fix: unit test of dm failed occasionally by @oldme-git in https://github.com/gogf/gf/pull/3369
- enhance: support save for Oracle by @oldme-git in https://github.com/gogf/gf/pull/3364
- fix: fix lost log directory path for grapc log by @arceushui in https://github.com/gogf/gf/pull/3387
- fix: unit test of dm failed occasionally by @oldme-git in https://github.com/gogf/gf/pull/3382
- enhance:
Save
operation support forcontrib/drivers/dm
by @oldme-git in https://github.com/gogf/gf/pull/3404 - fix: #3362
IsEmpty
panics when some interface implement panics with nil receiver by @gqcn in https://github.com/gogf/gf/pull/3367 - fix: #3370 fixed process parameter parsing failed on Windows for package
gproc
by @wln32 in https://github.com/gogf/gf/pull/3386 - fix: unit testing cases of
contrib/drivers
occasionally failed by using now time assertion by @gqcn in https://github.com/gogf/gf/pull/3410 - feat: add metric feature support in goframe by @gqcn in https://github.com/gogf/gf/pull/3138
- fix: #3432 Add Access-Control-Expose-Headers: Content-Disposition header in ServeFileDownload by @wohenbushuang in https://github.com/gogf/gf/pull/3433
- fix: http superfluous response.WriteHeader call in some scenario by @gqcn in https://github.com/gogf/gf/pull/3428
- fix: the cron job with precise second time pattern might be executed twice in the same time by @gqcn in https://github.com/gogf/gf/pull/3437
- fix: lost trace content in occasion when shutting down trace by @oldme-git in https://github.com/gogf/gf/pull/3418
- feat: add auth support in address configuration for etcd registry by @xxxwang1983 in https://github.com/gogf/gf/pull/3439
- fix: #3390 name&shor tag mapping failed to command input object for package gcmd by @gqcn in https://github.com/gogf/gf/pull/3429
- enhance: improve Save feature for drivers
oracle
anddm
by @oldme-git in https://github.com/gogf/gf/pull/3426 - enhance:
Save
operation support formssql
by @oldme-git in https://github.com/gogf/gf/pull/3365 - enhance: use in-memory cache for soft field name and type by @helloqiu in https://github.com/gogf/gf/pull/3420
- fix: map converting in loop logic of validation for package gvalid by @wln32 in https://github.com/gogf/gf/pull/3423
- feat: add custom go module configuration support when initialize go project using command
gf init
by @houseme in https://github.com/gogf/gf/pull/3425 - fix: invalid cache key using pointer address of variable for soft time fields by @xgd16 in https://github.com/gogf/gf/pull/3448
- feat: add metrics option and prometheus handler wraps by @gqcn in https://github.com/gogf/gf/pull/3445
- enhance: use map iter to iterate the map instead of map keys and values by @wln32 in https://github.com/gogf/gf/pull/3457
- fix: #3449 accept slice parameter as json.RawMessage for http request by @wln32 in https://github.com/gogf/gf/pull/3452
- fix: fsnotify watcher panics when closing by @wlynxg in https://github.com/gogf/gf/pull/3399
- enhance: add ORM tag to the entity result of command
gen dao
to make entity assignment more faster by @wln32 in https://github.com/gogf/gf/pull/3454
New Contributors
- @cyruslo made their first contribution in https://github.com/gogf/gf/pull/3236
- @loveyfore made their first contribution in https://github.com/gogf/gf/pull/3260
- @Blacknight1260 made their first contribution in https://github.com/gogf/gf/pull/3274
- @conwaypan made their first contribution in https://github.com/gogf/gf/pull/3287
- @jswxstw made their first contribution in https://github.com/gogf/gf/pull/3290
- @Tallone made their first contribution in https://github.com/gogf/gf/pull/3332
- @weishirongzhen made their first contribution in https://github.com/gogf/gf/pull/3335
- @lrioo made their first contribution in https://github.com/gogf/gf/pull/3334
- @seth-shi made their first contribution in https://github.com/gogf/gf/pull/3340
- @arceushui made their first contribution in https://github.com/gogf/gf/pull/3387
- @wln32 made their first contribution in https://github.com/gogf/gf/pull/3386
- @wohenbushuang made their first contribution in https://github.com/gogf/gf/pull/3433
- @helloqiu made their first contribution in https://github.com/gogf/gf/pull/3420
Full Changelog: https://github.com/gogf/gf/compare/v2.6.0...v2.7.0
1、 gf_darwin_amd64 35.48MB
2、 gf_darwin_arm64 34.75MB
3、 gf_freebsd_386 31.97MB
4、 gf_freebsd_amd64 35.68MB
5、 gf_freebsd_arm 31.94MB
6、 gf_linux_386 32.21MB
7、 gf_linux_amd64 35.74MB
8、 gf_linux_arm 32.02MB
9、 gf_linux_arm64 34.18MB
10、 gf_linux_ppc64le 34.7MB
11、 gf_netbsd_amd64 35.59MB
12、 gf_openbsd_amd64 35.69MB
13、 gf_windows_amd64.exe 36.37MB