Releases: gogf/gf
Releases · gogf/gf
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
GoFrame Release v2.5.5
Known bugs
The parameters of HTTP requests under standard routing will be affected by the last request, resulting in data contamination.(fixed in v2.5.6)
What's Changed
- 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 registry implements using
nacos
by @joy999 in #2995 - feat: add
-w/--watchPaths
for subcommandgf run
by @windvalley in #3009 - improve comment of router feature for ghttp.Server by @gqcn in #3014
- fix security issue for
golang.org/x
packages by @hailaz in #3042 - improve version checks for ci script by @hailaz in #3047
- fix:incorrect parameter passing causes captured errors to be lost by @lazyironf4ur in #3048
- add option
merge
controlling generating controller files into one single file for commandgf gen ctrl
by @zhangshican in #3045 - improve comments and variable names for
gcfg.AdapterFile
of packagegcfg
by @gqcn in #3046 - resolve response is gzip in internalMiddlewareServerTracing by @ltp217 in #3055
- improve comments for package gconv by @gqcn in #3057
- add
SetNoUrlEncode/NoUrlEncode
functions forgclient.Client
by @gqcn in #3041 - add go workspace for cmd/gf, to enable go install for cmd/gf by @hailaz in #3040
- improve cache duration from second to millisecond for redis adapter of package gcache by @fainc in #3052
- delete repeat code in ut for package ghttp by @ltp217 in #3058
- fix issue #2963 by @gqcn in #3062
- version v2.5.5 by @gqcn in #3068
New Contributors
- @bigger-boss made their first contribution in #2933
- @monchickey made their first contribution in #2964
- @dabubus made their first contribution in #2990
- @kele1997 made their first contribution in #3008
- @lazyironf4ur made their first contribution in #3048
- @zhangshican made their first contribution in #3045
- @ltp217 made their first contribution in #3055
- @fainc made their first contribution in #3052
Full Changelog: v2.5.4...v2.5.5
GoFrame Release v2.5.4
What's Changed
- 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
Full Changelog: v2.5.3...v2.5.4
GoFrame Release v2.5.3
What's Changed
- 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
New Contributors
- @wlynxg made their first contribution in #2898
- @BugKillerPro made their first contribution in #2884
- @will0306 made their first contribution in #2937
Full Changelog: v2.5.2...v2.5.3
GoFrame Release v2.5.2
What's Changed
- 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
New Contributors
- @WankkoRee made their first contribution in #2823
- @joy999 made their first contribution in #2828
Full Changelog: v2.5.1...v2.5.2
GoFrame Release v2.5.1
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
New Contributors
Full Changelog: v2.5.0...v2.5.1
GoFrame Release v2.5.0
What's Changed
- correct makefile by @starccck in #2597
- fix file permission error when overwriting directory containing .git … by @bobzh39 in #2599
- fix: polaris discouvery relation by @houseme in #2603
- fix some comments by @cuishuang in #2600
- http context never done by @gqcn in #2602
- fix file registry that not works on windows by @starccck in #2605
- fix issue #2561 #2431 by @gqcn in #2598
- fix empty string converted to none empty string type slice by @gqcn in #2612
- use first column name for Model.Array by @gqcn in #2609
- feat: improve polaris relation and add copyright for polaris example by @houseme in #2607
- v2.4.1 by @gqcn in #2615
- fix duplicated fields in function TableFields of driver pgsql by @gqcn in #2620
- fix missing
.exe
suffix for cli file for windows downloading, unable replacing self cli binary by @hailaz in #2622 - fix: When repairing protobuf to generate controllers, if the project … by @liangguifeng in #2630
- fix: genpbentity invalid proto3 by @caiwp in #2632
- feat: modify readme doc address by @houseme in #2638
- fix: genpbentity type error, []byte => bytes by @scoolor in #2633
- fix host ip retrieving for package contrib/trace/jaeger when there is no intranet ip in host by @gqcn in #2640
- cli command exits with code 1 if error by @gqcn in #2645
- new logo by @gqcn in #2647
- doc: correct level value comment by @zjfsdnu in #2653
- add WhereOrNot/WhereOrPrefixNot functions for gdb.Model by @gqcn in #2661
- update default logging time format using SetTimeFormat by @mason51 in #2611
- fix issue in array border exceeded in RoundRobin of package gsel by @gqcn in #2642
- fix(CLI): install cmd path choose empty not use default by @stardemo in #2655
- add DumpJson for package gutil by @gqcn in #2651
- fix issue in building binary for command docker by @gqcn in #2660
- change parameter prefix of type string to prefixes of type slice for command enums by @gqcn in #2662
- add multiple methods support for object route by @gqcn in #2663
- add multiple methods support for united routes registering by @gqcn in #2664
- fix issue in http proxy when repeatable reading request body content by @gqcn in #2666
- refactor: code optimization by @testwill in #2667
- comment update for package
contrib/drivers/mysql
by @hailaz in #2649 - add oltp(http&grpc) trace support by @houseme in #2641
- improve command up for goframe version upgrade by @gqcn in #2670
- template updates for command
gf init
by @gqcn in #2671 - fix issue #2439 by @gqcn in #2673
- add method
ScanAndCount
andAllAndCount
for Model packagegdb
by @lusson-luo in #2635 - ignore binary building if option
Build
is empty for commandbuild
by @gqcn in #2678 - add auto sync ci from github to gitee by @houseme in #2680
- version v2.4.2 by @gqcn in #2679
- feat: improve golangci-lint config by @houseme in #2681
- fix version retrieving of goframe for command version by @gqcn in #2682
- improve command
make version
by @hailaz in #2676 - fix issue in Where when used in field with prefix that not match struct attribute name by @gqcn in #2688
- improve key words transaction for package i18n by @arieslee in #2652
- add new validation rule "enums" by @gqcn in #2690
- fix gdb_fun.go code comments by @oldme-git in #2687
- Update gcompress_zip.go by @rexxar5188 in #2694
- bugfix : when using otel, calling gclient *Raw methods may result in null pointer exceptions by @hanqian200705 in #2697
- add command
gen ctrl
for parsing api to generate controller and sdk go files by @gqcn in #2708 - improve command
gen ctrl
andgen service
by @gqcn in #2711 - add type mapping feature for command
gf gen dao
by @gqcn in #2722 - fix: cmd gen dao typeMapping.Name=>typeMapping.Type by @LonelySally in #2723
- update context of the original http request by @gqcn in #2717
- add service comments for command
gf gen service
by @horizon220222 in #2714 - Update README to demonstrate how to configure polaris by @xgd16 in #2724
- fix issue in converting value to nil when calling IsNil return ture for gdb.Core by @niluan304 in #2720
- feat: add codecov.yml ignore cmd test by @LonelySally in #2729
- feat(glog): add log rotation support for short-running process by @xuyue86 in #2658
- fix length check issue by @gqcn in #2725
- add sharding feature on Model for package gdb by @gqcn in #2732
- add chaining function Discovery to disable/enable discovery feature for package gclient; fix issue #2737 by @gqcn in #2738
- fix issue #2734 by @gqcn in #2740
- add custom endpoints configuration for package
grpcx
by @xxxwang1983 in #2625 - improve command gen service for import alias and comments handling by @gqcn in #2745
- feat: improve polaris register and discovery by @houseme in #2739
- add user name configuration support for package gredis by @wanov in #2684
- version v2.5.0 by @gqcn in #2747
- add endpoints configuration for
ghttp.Server
by @gqcn in #2741 - fix typo by @gqcn in #2753
- fix issue #2760 by @gqcn in #2763
- remove sharding feature from gdb.Model by @gqcn in #2758
- add example for package gvalid by @gqcn in #2767
- improve gctx.New for none default opentelemetry provider by @gqcn in #2756
- add complicated map with custom type converting support for package gconv by @gqcn in #2769
New Contributors
- @bobzh39 made their first contribution in #2599
- @liangguifeng made their first contribution in #2630
- @caiwp made their first contribution in #2632
- @scoolor made their first contribution in #2633
- @zjfsdnu made their first contribution in #2653
- @mason51 made their first contribution in #2611
- @testwill made their first contribution in #2667
- @lusson-luo made their first contribution in #2635
- @oldme-git made their first contribution in #2687
- @rexxar5188 made their first contribution in #2694
- @hanqian200705 made their first contribution in #2697
- @horizon220222 made their first contribution in #2714
- @xgd16 made their first contribution in #2724
- @niluan304 made their first contribution in #2720
- @xuyue86 made their first contribution in #2658
- @xxxwang1983 made their first contribution in #2625
- @wanov made their first contribution in #2684
Full Changelog: v2.4.0...v2.5.0