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