Releases: gogf/gf
Releases · gogf/gf
GoFrame Release v2.7.1
What's Changed
- fix: #3465 If the value of a string is null, the value of string is nil after the string is converted to []string by @wln32 in #3468
- emhace: unit testing cases update for package
cmd/gf
andcontrib/drivers
by @oldme-git in #3453 - feat: add
Scan
method for incremental key retrieval ingredis
by @phuonganhniie in #3451 - enhance: improve
gf gen ctrl
using AST by @oldme-git in #3470 - feat: add new rule
required-if-all
for package gvalid by @cococolanosugar in #3455 - fix: missing arguments on Windows platform for package gproc by @wln32 in #3482
- fix: sqlitecgo to support 32-bit architecture by @hailaz in #3480
- fix: file name example/pack/packed/paked.go → example/pack/packed/packed.go by @hailaz in #3479
- enhance: improve command
gf gen ctrl
using AST for parsingDstFolder
by @oldme-git in #3478 - fix: #3238 first column might be overwritten in interal context data in multiple goroutines querying by @gqcn in #3476
- fix: missing file closding when printing downloading percent of gf cli file for command
gf up
by @testwill in #3483 - enhance: upgrade version of dependencies by @hailaz in #3494
- chore: fix function names in comments for package
otelmetric
by @writegr in #3493 - enhance:
gf gen ctrl
with-merge
option by @wln32 in #3490 - enhance: upgrade version of dependencies by @oldme-git in #3526
- enhance: improve performance of struct converting for package gconv by @wln32 in #3412
- fix: uint testing case for signal feature of package gproc occasionally failed by @gqcn in #3529
- cmd/gf: fix unit testing cases for compatibility with windows by @oldme-git in #3532
- fix: #3459
gf gen dao
should ignorelink
configuration from file as it is passed from arguments by @oldme-git in #3531 - chore: fix function names in comment by @findnature in #3536
- other: enhance Issues and Pull Requests template by @oldme-git in #3533
- test/gtest: add support for string type in AssertIN and AssertNI by @oldme-git in #3537
- fix: #3200 empty content in glog handler after structure logging feature supported by @gqcn in #3475
- feat: add custom field type mapping support for command
gf gen dao
by @CyJaySong in #3498 - database/gdb/gdb_model_soft_time: fix soft-time support fieldType:
LocalTypeUint64
in Insert/Update perations by @muddydog in #3551 - cmd/gf: fix command
gf gen dao
for fieldMapping feature by @CyJaySong in #3549 - cmd/gf: fix pbentity generate fail in mono-repo by @oldme-git in #3547
- other: update some issue templates by @oldme-git in #3544
- contrib/sdk/httpclient: add custom response handler support, fixe #3539 by @jswxstw in #3540
- util/gvalid: fix slice enums verification failed by @xyqweb in #3566
- cmd/gf: fix gen enums failed in go version v1.22.1 by @oldme-git in #3565
- ci: fix code coverage not sync to CodeCov by @oldme-git in #3570
- os/gtime: fix #3558 time zone issues by @wln32 in #3561
New Contributors
- @phuonganhniie made their first contribution in #3451
- @cococolanosugar made their first contribution in #3455
- @writegr made their first contribution in #3493
- @findnature made their first contribution in #3536
- @CyJaySong made their first contribution in #3498
- @muddydog made their first contribution in #3551
Full Changelog: v2.7.0...v2.7.1
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 https://githu...
GoFrame Release v2.6.4
What's Changed
- 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
- 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
New Contributors
- @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
Full Changelog: v2.6.3...v2.6.4
GoFrame Release v2.6.3
What's Changed
- 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 issue #3292 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 Contributors
- @conwaypan made their first contribution in #3287
- @jswxstw made their first contribution in #3290
Full Changelog: v2.6.2...v2.6.3
GoFrame Release v2.6.2
What's Changed
- 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 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 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
New Contributors
- @cyruslo made their first contribution in #3236
- @loveyfore made their first contribution in #3260
- @Blacknight1260 made their first contribution in #3274
Full Changelog: v2.6.1...v2.6.2
GoFrame Release v2.6.1
GoFrame v2.6.0
What's Changed
- fix g.Wait not support OS Signal #2752 by @xyqweb in #2768
- fix gf gen ctrl import by @oldme-git in #2771
- fix issue #2775 by @windvalley in #2777
- add default time check for converting functions of gtime.Time by @LonelySally in #2755
- add
BuiltVersion
for packagegbuild
, auto inject build version intogbuild.BuiltVersion
by @hailaz in #2754 - improve import path generating for command gen ctrl by @gqcn in #2781
- upgrade package
gopkg.in/yaml.v3
to latest stable versionv3.0.1
by @gqcn in #2783 - improve command
init
andgen ctrl
by @gqcn in #2785 - feat: add Diff feature to gmap by @LonelySally in #2774
- fix issue #2782 that orm builder generate incorrect sql in some case by @Agzer0 in #2787
- feat: improve watch for polaris registrar by @houseme in #2788
- fix issue #2482 by @gqcn in #2789
- add
NeverDone
function for packagegctx
that creates and returns a never done ctx by @gqcn in #2784 - fix
gen ctrl
import path by @hinego in #2800 - expose
iClient
asIClient
in generated sdk for commandgen ctrl
by @gqcn in #2804 - fix issue #2816 by @windvalley in #2817
- refactor: add default client instance for contrib/sdk/httpclient by @windvalley in #2814
- change minimum golang version from v1.15 to v1.18 by @gqcn in #2820
- fix issue #2803 by @gqcn in #2805
- add generic support for http routes registering #2227 #2457 by @gqcn in #2807
- fix issue #2570 by @gqcn in #2819
- fix: disable map tag
summary
anddescription
from the OpenAPIOperation
toPathItem
by @WankkoRee in #2823 - feat: Using sqlite CGO is for building a 32-bit Windows operating system by @horizon220222 in #2743
- fix: psgql tx unsupport LastInsertId by @hailaz in #2815
- Feat:upgrade redis v9 by @houseme in #2825
- Bump golang.org/x/text from 0.3.8-0.20211105212822-18b340fc7af2 to 0.3.8 in /contrib/drivers/sqlitecgo by @dependabot in #2835
- Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.7.0 in /contrib/drivers/sqlitecgo by @dependabot in #2834
- Update README for minimum go version requirement by @zcyc in #2833
- add more ut case for package goai by @gqcn in #2843
- fix gf gen service remove all comments. by @oldme-git in #2845
- improve command
gen ctrl
for api parsing and interface file generating by @gqcn in #2836 - improve data converting for
DB.DoInsert/DoUpdate
by @gqcn in #2830 - Add gconv custom converter feature. by @joy999 in #2828
- improve comment replacement regex pattern for command
gen service
by @gqcn in #2846 - fix issue in
SliceMap/Maps
for packagegconv
when nil value in map of slice item by @gqcn in #2857 - fix(ghttp): fix access log info format by @stardemo in #2853
- fix: marked gcode.CodeInternalPanic for panic by @LonelySally in #2860
- fix generic check with slice for ghttp by @WankkoRee in #2850
- it returns error when
Scan
to a none empty slice with emptyResult
for packagegdb
by @gqcn in #2858 - improve converter feature for package
gconv
by @gqcn in #2869 - Fix empty map or struct convert to another map will return error. by @joy999 in #2863
- improve support for generic router registering by @gqcn in #2877
- version v2.5.2 by @gqcn in #2878
- rewrite gmutex with sync.RWMutex by @joy999 in #2883
- improve packed project template for command init by @gqcn in #2885
- fix typo "Upadte" -> "Update" by @gqcn in #2906
- add
AdapterContent
implements forgcfg.Adapter
by @gqcn in #2892 - fix: OpenAPI cannot correctly identify the file type under the canoni… by @wlynxg in #2898
- improve error stack configuration for package gerror, add framework error stack filter for package glog by @gqcn in #2918
- fix(cmd): Fix gf build examples by @lingcoder in #2917
- docs: fix code comment err in Model Join case by @BugKillerPro in #2884
- fix:
gutil.IsSlice
judgment logic error by @wlynxg in #2910 - fix: multiple interfaces cause the original type to be inaccessible by @wlynxg in #2915
- ORM add function: LeftJoinOnFields,RightJoinOnFields,InnerJoinOnFields by @oldme-git in #2921
- fix: gjson encode to string expect inconformity(issue 2520) by @wlynxg in #2928
- add structure logging handler for package glog by @gqcn in #2919
- change interface
ConvertDataForRecord
toConvertValueForField
for package gdb by @gqcn in #2916 - add cluster mode and tls configuration support for package gredis by @joy999 in #2936
- improve join feature for package gdb by @gqcn in #2929
- test: add unit tests regarding issue 2901 by @wlynxg in #2930
- fix codes due to static codes analysis by @hailaz in #2935
- improve trace span generating for package gctx and http tracing content for package ghttp by @will0306 in #2937
- improve signal listening for package
grpcx/ghttp/gproc
by @gqcn in #2942 - add new function
g.Go
by @gqcn in #2943 - version v2.5.3 by @gqcn in #2945
- improve
g.Go
by @gqcn in #2956 - feat: jaeger package will be removed in v2.6.0. by @houseme in #2946
- feat: upgrade action/checkout to v4 by @houseme in #2948
- upgrade dependence
github.com/apolloconfig/agollo/v4
version fromv4.1.1
tov4.3.1
for packagecontrib/config/apollo
by @hailaz in #2949 - add ut cases for command
gen dao
by @gqcn in #2958 - Make GTime support multiple formats by @bigger-boss in #2933
- fix: gutil.IsMap judgment logic error by @wlynxg in #2953
- fix(gutil): panic when field is []byte(BINARY in mysql) by @laushunyu in #2957
- improve example cases for package gi18n by @hailaz in #2970
- feat: Preserve original file permissions & Default copy permissions c… by @wlynxg in #2969
- fix isue #2976, to be compatible with bad response type definition for strict route function by @gqcn in #2977
- add consul config adapter by @monchickey in #2964
- add
in:header
tag cache for http request to enhance performance by @hailaz in #2923 - fix: improve specification version by @houseme in #2987
- improve address configuration for grpc server by @gqcn in #2982
- Add consul config adapter usage example. by @monchickey in #2988
- allowing use printToStdout, printToFile and printToWriter at the same time for Logger of package glog by @dabubus in #2990
- add function
Partition
for Model of package gdb by @arieslee in #2989 - add
List2/List3/ListAndTrim2/ListAndTrim3
functions for packagegstr
by @gqcn in #2986 - fix issue #2890 by @gqcn in #3002
- add direct service address support for grpc client by @gqcn in #2991
- feat: Migrate the service call tracing to use
otlphttp
orotlpgrpc
for reporting by @houseme in #3001 - temporaryly close the testing of package
kubecm
to avoid disk unavailable issue by @hailaz in #3007 - fix issue reading resource from manage in function New of package gres by @hailaz in #2961
- fix issues #2980 by @oldme-git in #2994
- fix issue #2904 by @gqcn in #3004
- fix issue #2907 by @gqcn in #3005
- fix issue gconv struct slice/map of json.RawMessage (#3006) by @kele1997 in #3008
- enable go cache for ci, coverage of ut testing is only available after merge of pr by @hailaz in https://github.com/gogf/g...
GoFrame Release v2.6.0-beta
What's Changed
- fix g.Wait not support OS Signal #2752 by @xyqweb in #2768
- fix gf gen ctrl import by @oldme-git in #2771
- fix issue #2775 by @windvalley in #2777
- add default time check for converting functions of gtime.Time by @LonelySally in #2755
- add
BuiltVersion
for packagegbuild
, auto inject build version intogbuild.BuiltVersion
by @hailaz in #2754 - improve import path generating for command gen ctrl by @gqcn in #2781
- upgrade package
gopkg.in/yaml.v3
to latest stable versionv3.0.1
by @gqcn in #2783 - improve command
init
andgen ctrl
by @gqcn in #2785 - feat: add Diff feature to gmap by @LonelySally in #2774
- fix issue #2782 that orm builder generate incorrect sql in some case by @Agzer0 in #2787
- feat: improve watch for polaris registrar by @houseme in #2788
- fix issue #2482 by @gqcn in #2789
- add
NeverDone
function for packagegctx
that creates and returns a never done ctx by @gqcn in #2784 - fix
gen ctrl
import path by @hinego in #2800 - expose
iClient
asIClient
in generated sdk for commandgen ctrl
by @gqcn in #2804 - fix issue #2816 by @windvalley in #2817
- refactor: add default client instance for contrib/sdk/httpclient by @windvalley in #2814
- change minimum golang version from v1.15 to v1.18 by @gqcn in #2820
- fix issue #2803 by @gqcn in #2805
- add generic support for http routes registering #2227 #2457 by @gqcn in #2807
- fix issue #2570 by @gqcn in #2819
- fix: disable map tag
summary
anddescription
from the OpenAPIOperation
toPathItem
by @WankkoRee in #2823 - feat: Using sqlite CGO is for building a 32-bit Windows operating system by @horizon220222 in #2743
- fix: psgql tx unsupport LastInsertId by @hailaz in #2815
- Feat:upgrade redis v9 by @houseme in #2825
- Bump golang.org/x/text from 0.3.8-0.20211105212822-18b340fc7af2 to 0.3.8 in /contrib/drivers/sqlitecgo by @dependabot in #2835
- Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.7.0 in /contrib/drivers/sqlitecgo by @dependabot in #2834
- Update README for minimum go version requirement by @zcyc in #2833
- add more ut case for package goai by @gqcn in #2843
- fix gf gen service remove all comments. by @oldme-git in #2845
- improve command
gen ctrl
for api parsing and interface file generating by @gqcn in #2836 - improve data converting for
DB.DoInsert/DoUpdate
by @gqcn in #2830 - Add gconv custom converter feature. by @joy999 in #2828
- improve comment replacement regex pattern for command
gen service
by @gqcn in #2846 - fix issue in
SliceMap/Maps
for packagegconv
when nil value in map of slice item by @gqcn in #2857 - fix(ghttp): fix access log info format by @stardemo in #2853
- fix: marked gcode.CodeInternalPanic for panic by @LonelySally in #2860
- fix generic check with slice for ghttp by @WankkoRee in #2850
- it returns error when
Scan
to a none empty slice with emptyResult
for packagegdb
by @gqcn in #2858 - improve converter feature for package
gconv
by @gqcn in #2869 - Fix empty map or struct convert to another map will return error. by @joy999 in #2863
- improve support for generic router registering by @gqcn in #2877
- rewrite gmutex with sync.RWMutex by @joy999 in #2883
- improve packed project template for command init by @gqcn in #2885
- fix typo "Upadte" -> "Update" by @gqcn in #2906
- add
AdapterContent
implements forgcfg.Adapter
by @gqcn in #2892 - fix: OpenAPI cannot correctly identify the file type under the canoni… by @wlynxg in #2898
- improve error stack configuration for package gerror, add framework error stack filter for package glog by @gqcn in #2918
- fix(cmd): Fix gf build examples by @lingcoder in #2917
- docs: fix code comment err in Model Join case by @BugKillerPro in #2884
- fix:
gutil.IsSlice
judgment logic error by @wlynxg in #2910 - fix: multiple interfaces cause the original type to be inaccessible by @wlynxg in #2915
- ORM add function: LeftJoinOnFields,RightJoinOnFields,InnerJoinOnFields by @oldme-git in #2921
- fix: gjson encode to string expect inconformity(issue 2520) by @wlynxg in #2928
- add structure logging handler for package glog by @gqcn in #2919
- change interface
ConvertDataForRecord
toConvertValueForField
for package gdb by @gqcn in #2916 - add cluster mode and tls configuration support for package gredis by @joy999 in #2936
- improve join feature for package gdb by @gqcn in #2929
- test: add unit tests regarding issue 2901 by @wlynxg in #2930
- fix codes due to static codes analysis by @hailaz in #2935
- improve trace span generating for package gctx and http tracing content for package ghttp by @will0306 in #2937
- improve signal listening for package
grpcx/ghttp/gproc
by @gqcn in #2942 - add new function
g.Go
by @gqcn in #2943 - improve
g.Go
by @gqcn in #2956 - feat: jaeger package will be removed in v2.6.0. by @houseme in #2946
- feat: upgrade action/checkout to v4 by @houseme in #2948
- upgrade dependence
github.com/apolloconfig/agollo/v4
version fromv4.1.1
tov4.3.1
for packagecontrib/config/apollo
by @hailaz in #2949 - add ut cases for command
gen dao
by @gqcn in #2958 - Make GTime support multiple formats by @bigger-boss in #2933
- fix: gutil.IsMap judgment logic error by @wlynxg in #2953
- fix(gutil): panic when field is []byte(BINARY in mysql) by @laushunyu in #2957
- improve example cases for package gi18n by @hailaz in #2970
- feat: Preserve original file permissions & Default copy permissions c… by @wlynxg in #2969
- fix isue #2976, to be compatible with bad response type definition for strict route function by @gqcn in #2977
- add consul config adapter by @monchickey in #2964
- add
in:header
tag cache for http request to enhance performance by @hailaz in #2923 - fix: improve specification version by @houseme in #2987
- improve address configuration for grpc server by @gqcn in #2982
- Add consul config adapter usage example. by @monchickey in #2988
- allowing use printToStdout, printToFile and printToWriter at the same time for Logger of package glog by @dabubus in #2990
- add function
Partition
for Model of package gdb by @arieslee in #2989 - add
List2/List3/ListAndTrim2/ListAndTrim3
functions for packagegstr
by @gqcn in #2986 - fix issue #2890 by @gqcn in #3002
- add direct service address support for grpc client by @gqcn in #2991
- feat: Migrate the service call tracing to use
otlphttp
orotlpgrpc
for reporting by @houseme in #3001 - temporaryly close the testing of package
kubecm
to avoid disk unavailable issue by @hailaz in #3007 - fix issue reading resource from manage in function New of package gres by @hailaz in #2961
- fix issues #2980 by @oldme-git in #2994
- fix issue #2904 by @gqcn in #3004
- fix issue #2907 by @gqcn in #3005
- fix issue gconv struct slice/map of json.RawMessage (#3006) by @kele1997 in #3008
- enable go cache for ci, coverage of ut testing is only available after merge of pr by @hailaz in #3011
- ci: Update action script to remove inactive labels by @lingcoder in #3013
- add service...
GoFrame Release v2.5.7
What's Changed
- Update README.MD by @hailaz in #3082
- feat: upgrade version and improve consul action by @houseme in #3078
- fix separator issue in windows os for command
gf gen
by @hailaz in #3088 - ignore cmd/gf/go.work.sum from version controll by @hailaz in #3087
- fix issue #3086 by @gqcn in #3089
- Add the Protocol attribute to the Redis configuration by @tianxing113 in #3109
- fix issue #3100 by @joy999 in #3106
- fix cmd
gen pbentity
for generating go orm files for database postgres by @qobbysam in #3105 - fix: nacos mod by @qinyuguang in #3103
- fix issue #3099 by @joy999 in #3107
- fix: gRPC-Go HTTP/2 Rapid Reset vulnerability by @houseme in #3095
- fix(goai): example value needs to be converted just like default value by @wond4 in #3085
- improve impelements for logging file rotation in windows by @gqcn in #3080
- improve TemplateGenCtrlController is comments and formats by @oldme-git in #3065
- add Output configuration support for command
gf build
in cross-buildling binary scenario by @gqcn in #3120 - add unit testing cases for command
gen ctrl
by @oldme-git in #3090 - add function
CaseConvert
for package gstr by @hailaz in #3098 - fix duplicated route dump for package ghttp by @gqcn in #3116
- improve implements and fix issues for package
contrib/drivers/dm
by @zhonghuaxunGM in #3128 - enhance #3063 by @oldme-git in #3115
- rename function name
PKCS5UnPadding
toPKCS7UnPadding
by @hailaz in #3124 - enhance #3129 by @oldme-git in #3134
- feat: improve code for shutdown of otel by @houseme in #3136
- improve struct converting in parameter name case sensitive scenario for package
gconv
by @gqcn in #3122 - example: log rotate by @hailaz in #3137
- fix "gf gen pb" api and ctrl not working well. by @joy999 in #3076
- fix: "gf gen dao" utils.GetModPath Return empty string in windows by @li-caspar in #3141
- add gen service unit testing by @oldme-git in #3142
- fix: gdb unsupport aliyun hologres link by @hailaz in #3150
- fix issue: Windows Platform did not handle process signal by @zhangyuyu in #3154
- fix issue in cross-building failed in windows by @hailaz in #3152
- improve gen service code by @oldme-git in #3140
- Optimize the information display of gf -v by @hailaz in #3145
- Fix the bug that ScanAndCount and AllAndCount report errors in sqlserver by @wlqe in #3155
- Upgrade nacos sdk to latest version by @joy999 in #3166
- fix issue in Join stements with prefix specified for package gdb by @gqcn in #3151
- script updates for version upgrading by @hailaz in #3169
- fix issue #3147 by @gqcn in #3161
New Contributors
- @tianxing113 made their first contribution in #3109
- @qobbysam made their first contribution in #3105
- @wond4 made their first contribution in #3085
- @li-caspar made their first contribution in #3141
- @zhangyuyu made their first contribution in #3154
- @wlqe made their first contribution in #3155
Full Changelog: v2.5.6...v2.5.7
GoFrame Release v2.5.6
What's Changed
- split ci workflow into two workflows for short by @gqcn in #3069
- README.MD updates for cli installation by @gqcn in #3071
- add example for http rate llimit by @hailaz in #3072
- add README and example cases for nacos registry by @joy999 in #3075
- fix issue #3077 by @gqcn in #3081
Full Changelog: v2.5.5...v2.5.6