Releases: gogf/gf
Releases · gogf/gf
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
GoFrame Release v2.4.4
What's Changed
Full Changelog: v2.4.3...v2.4.4
GoFrame Release v2.4.3
What's Changed
- 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
New Contributors
- @oldme-git made their first contribution in #2687
- @rexxar5188 made their first contribution in #2694
- @hanqian200705 made their first contribution in #2697
Full Changelog: v2.4.2...v2.4.3
GoFrame Release v2.4.2
What's Changed
- 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
New Contributors
- @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
Full Changelog: v2.4.1...v2.4.2
GoFrame Release v2.4.1
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
New Contributors
Full Changelog: v2.4.0...v2.4.1
GoFrame Release v2.4.0
What's Changed
- fix issue 2391 by @gqcn in #2398
- fix issue 2395 by @gqcn in #2399
- add cli upgraded supported for command up by @gqcn in #2405
- fix issue 2403 by @qinyuguang in #2404
- add auto
go mod tidy
after version upgraded for commandup
by @gqcn in #2407 - add label
planned
for ci to check issue inactive by @gqcn in #2408 - fix issue in
gf run
failed with arguments passed in windows platform by @hailaz in #2414 - fix issue #2011 by @gqcn in #2421
- fix issue #2015 by @gqcn in #2422
- fix issue #2050: add
-t
option support for commandgf docker
to compatable with older version by @gqcn in #2423 - .gitignore updates by @gqcn in #2426
- fix type of default value in swagger ui for package
goai
by @hailaz in #2413 - fix issue 2356 by @gqcn in #2428
- fix issue #2371 by @gqcn in #2429
- fix issue #2355 by @gqcn in #2430
- fix issue #2331 by @gqcn in #2432
- fix issue #2339 by @gqcn in #2433
- comment updates for with function of package gdb by @Deng-Xian-Sheng in #2418
- improve Timezone escape for driver dm/mysql by @LonelySally in #2412
- gdb error should wrap original underlying database error like MySQLError by @wesleywu in #2402
- fix #2435 by @glennliao in #2437
- fix issue #2338 by @gqcn in #2444
- fix issue #2427 by @gqcn in #2442
- fix issue #2447 by @gqcn in #2448
- improve ci by using cache feature of
setup-go
by @hailaz in #2463 - fix issue #2261 by @hailaz in #2458
- README update for
cmd/gf
by @hailaz in #2459 - Bump golang.org/x/net from 0.1.0 to 0.7.0 in /cmd/gf by @dependabot in #2460
- fix: use keyword(like: group) as table name in sqlite by @glennliao in #2461
- improve unit testing cases by @hailaz in #2468
- Protect RemoveValue from race condition by @blinkbean in #2472
- fix: gredis maxActive config and duplicate connection bug by @qinyuguang in #2479
- fix configuration of
Namespace
for pgsql by @hailaz in #2481 - add issue translation robot by @gqcn in #2490
- robot translator updates by @gqcn in #2491
- fix issue in empty json name along with omitempty tag in package oai by @gqcn in #2500
- improve command
gen dao
by removing all dao files if clear option is true by @gqcn in #2502 - fix issue struct attribute converting when has no json name but with omitempty tag by @gqcn in #2486
- improve unit testing cases coverage to 80%+ by @hailaz in #2480
- add package contrib/rpc/grpcx by @gqcn in #2169
- improvement for grpcx by @gqcn in #2510
- fix: cli gen service:BUG #2310 by @sanrentai in #2485
- feat: support graceful shutdown (#2469) by @windvalley in #2475
- add tag value of
in
support for api definition that has meta info by @hailaz in #2450 - fix issue #2499 #2515 by @gqcn in #2517
- improve command
gen pb
by adding controller go files generating by @gqcn in #2518 - add postForm with multi data content type support by @Cyberhan123 in #2508
- improve grpcx by @gqcn in #2522
- fix goreport for gofmt by @hailaz in #2523
- fix quick exit when double click cli to install/upgrade by @hailaz in #2521
- improve error message when the router hander definition is not standrad by @gqcn in #2528
- feat:upgrade polairs-go sdk version v1.3.0 for config by @houseme in #2525
- feat: improve polaris register and upgrade polaris-go version v1.3.0 by @houseme in #2524
- support microseconds resolution for created_at/updated_at/deleted_at by @wesleywu in #2512
- add
Quick
mode for gtimer by @hinego in #2488 - optimize the handling of the
SIGUSR1
signal by @windvalley in #2532 - fix issue #2509 by @gqcn in #2530
- fix issue #2516 by @gqcn in #2531
- comment updates for gdb.Builder by @org-org-org in #2513
- fix: unified go.mod dependent version by @hailaz in #2452
- Bump golang.org/x/crypto from 0.0.0-20200622213623-75b288015ac9 to 0.1.0 in /cmd/gf by @dependabot in #2546
- change temp dir to os.TempDir for package gfile by @gqcn in #2547
- feat: automatic update gf for contrib by @hailaz in #2551
- improve stream response for http by @gqcn in #2564
- add
RemoveValues
for packagegarray
by @gqcn in #2568 - add
clickhouse
support in commandgf gen dao
by @alaywn in #2557 - fix issue #2529 #2487 by @gqcn in #2548
- Add Filter function to garray by @wsy998 in #2541
- fix missing trace id in gctx.GetInitCtx by @gqcn in #2562
- inherit context from http.Request for ghttp.Request by @gqcn in #2550
- update cli build action by @stardemo in #2563
- uf case update for contrib/drivers/mysql by @gqcn in #2569
- fix issue in New when creating concurrent-safety var for package gvar by @osgochina in #2573
- version updates to v2.4.0-rc by @gqcn in #2574
- v2.4.0-rc2 by @gqcn in #2575
- feature/v2.4.0-rc4 by @gqcn in #2578
- add command
make version to
in Makefile by @hailaz in #2579 - fix issue converting values to custom type pointers by @gqcn in #2585
- fix issue #2584 by @gqcn in #2586
- improve
AddObject
to supportCommand/*Command
parameter for packagegcmd
by @gqcn in #2587 - add command
gen enums
by @gqcn in #2591 - fix: fix typo and go-staticcheck S1002 warning by @feranwq in #2590
- improve auto retrieving of ip addresses for service registering by @gqcn in #2593
- version v2.4.0 by @gqcn in #2595
New Contributors
- @Deng-Xian-Sheng made their first contribution in #2418
- @dependabot made their first contribution in #2460
- @blinkbean made their first contribution in #2472
- @windvalley made their first contribution in #2475
- @Cyberhan123 made their first contribution in #2508
- @hinego made their first contribution in #2488
- @org-org-org made their first contribution in #2513
- @alaywn made their first contribution in #2557
- @wsy998 made their first contribution in #2541
- @feranwq made their first contribution in #2590
中文发布记录
https://goframe.org/display/gf/v2.4-2023-04-24
Full Changelog: v2.3.0...v2.4.0
GoFrame Release v2.4.0-rc4
What's Changed
- optimize the handling of the
SIGUSR1
signal by @windvalley in #2532 - fix issue #2509 by @gqcn in #2530
- fix issue #2516 by @gqcn in #2531
- comment updates for gdb.Builder by @org-org-org in #2513
- fix: unified go.mod dependent version by @hailaz in #2452
- Bump golang.org/x/crypto from 0.0.0-20200622213623-75b288015ac9 to 0.1.0 in /cmd/gf by @dependabot in #2546
- change temp dir to os.TempDir for package gfile by @gqcn in #2547
- feat: automatic update gf for contrib by @hailaz in #2551
- improve stream response for http by @gqcn in #2564
- add
RemoveValues
for packagegarray
by @gqcn in #2568 - add
clickhouse
support in commandgf gen dao
by @alaywn in #2557 - fix issue #2529 #2487 by @gqcn in #2548
- Add Filter function to garray by @wsy998 in #2541
- fix missing trace id in gctx.GetInitCtx by @gqcn in #2562
- inherit context from http.Request for ghttp.Request by @gqcn in #2550
- update cli build action by @stardemo in #2563
- uf case update for contrib/drivers/mysql by @gqcn in #2569
- fix issue in New when creating concurrent-safety var for package gvar by @osgochina in #2573
- version updates to v2.4.0-rc by @gqcn in #2574
- v2.4.0-rc2 by @gqcn in #2575
- feature/v2.4.0-rc4 by @gqcn in #2578
New Contributors
- @org-org-org made their first contribution in #2513
- @alaywn made their first contribution in #2557
- @wsy998 made their first contribution in #2541
Full Changelog: v2.4.0-beta...v2.4.0-rc4