GoFrame Release v2.6.0-beta
github-actions
released this
04 Dec 11:44
·
268 commits
to master
since this release
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 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
- 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
- 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 git 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
- improve map converting feature using
MapOption
for packagegconv
by @gqcn in #3170 - fix: #2967 by @hailaz in #3175
- test: add date-format test for RFC3339 by @hailaz in #3181
- improve initialization performance and logging content for cmd gf by @hailaz in #3174
- Version/v2.6.0 beta by @gqcn in #3183
New Contributors
- @xyqweb made their first contribution in #2768
- @Agzer0 made their first contribution in #2787
- @WankkoRee made their first contribution in #2823
- @joy999 made their first contribution in #2828
- @wlynxg made their first contribution in #2898
- @BugKillerPro made their first contribution in #2884
- @will0306 made their first contribution in #2937
- @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
- @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.0...v2.6.0-beta