1
0
mirror of https://github.com/gogf/gf.git synced 2025-04-05 11:18:50 +08:00

6157 Commits

Author SHA1 Message Date
John Guo
92eab81926
fix(database/gdb): add compatibility for old configiration with both Type and part of Link configurations (#4058) cmd/gf/v2.8.3 contrib/drivers/mssql/v2.8.3 contrib/drivers/mysql/v2.8.3 contrib/drivers/oracle/v2.8.3 contrib/drivers/pgsql/v2.8.3 contrib/drivers/dm/v2.8.3 contrib/drivers/sqlite/v2.8.3 contrib/drivers/sqlitecgo/v2.8.3 contrib/metric/otelmetric/v2.8.3 contrib/drivers/clickhouse/v2.8.3 contrib/nosql/redis/v2.8.3 contrib/registry/consul/v2.8.3 cmd/gf/internal/cmd/testdata/build/varmap/v2.8.3 v2.8.3 contrib/registry/etcd/v2.8.3 contrib/registry/file/v2.8.3 contrib/config/polaris/v2.8.3 contrib/registry/nacos/v2.8.3 contrib/registry/polaris/v2.8.3 contrib/config/nacos/v2.8.3 contrib/registry/zookeeper/v2.8.3 contrib/config/kubecm/v2.8.3 contrib/rpc/grpcx/v2.8.3 contrib/sdk/httpclient/v2.8.3 contrib/config/consul/v2.8.3 contrib/config/apollo/v2.8.3 contrib/trace/otlpgrpc/v2.8.3 contrib/trace/otlphttp/v2.8.3 2024-12-18 15:54:27 +08:00
ninjashixuan
67a9db9e3e
perf(contrib/drivers/pgsql): improve conversion performace for slice string (#4046) 2024-12-17 21:45:38 +08:00
oldme
e7fdf82dd8
test(net/gipv4): add unit tests (#4052) 2024-12-17 21:17:27 +08:00
John Guo
f79aef6669
fix(database/gdb): fix context canceled error in transaction due to usage of TransTimeout configuration (#4037) 2024-12-17 21:15:54 +08:00
John Guo
0c2d5cac19
feat: new version v2.8.3 (#4048) 2024-12-17 09:24:13 +08:00
John Guo
5104f01b69
chore: update FUNDING.yml (#4049) 2024-12-17 09:23:59 +08:00
John Guo
a09454accf
feat(contrib/drivers/mssql): enable unit testing (#4043) 2024-12-16 11:17:47 +08:00
John Guo
ac53170884
feat(contrib/registry/etcd): add retry machenism when keepalive lease expires (#4035) 2024-12-13 11:09:07 +08:00
Lance Add
e3e82c7351
feat(contrib/config/nacos): add OnChange callbacks configuration support (#4038) 2024-12-13 09:57:28 +08:00
John Guo
ced4b57991
fix(contrib/drivers/pgsql): incompatible placeholder replacement with old version (#4036) 2024-12-13 09:29:34 +08:00
John Guo
5af342adc3
fix(net/ghttp): json omitempty takes no effect in BuildParams, which is not compatible with old version (#4041) 2024-12-13 09:29:19 +08:00
houseme
5c45d3533f
fix(ci/golangci): fix golangcl-lint git push (#4032) 2024-12-11 15:42:36 +08:00
John Guo
d748fb6564
fix(contrib/registry/consul): update dependence of gf to v2.8.2 with relative path specified (#4029) contrib/registry/etcd/v2.8.2 contrib/config/kubecm/v2.8.2 contrib/drivers/mssql/v2.8.2 contrib/config/apollo/v2.8.2 contrib/drivers/mysql/v2.8.2 contrib/trace/otlpgrpc/v2.8.2 contrib/drivers/oracle/v2.8.2 contrib/drivers/dm/v2.8.2 contrib/config/consul/v2.8.2 contrib/sdk/httpclient/v2.8.2 contrib/rpc/grpcx/v2.8.2 cmd/gf/internal/cmd/testdata/build/varmap/v2.8.2 v2.8.2 cmd/gf/v2.8.2 contrib/drivers/pgsql/v2.8.2 contrib/registry/zookeeper/v2.8.2 contrib/drivers/sqlite/v2.8.2 contrib/registry/polaris/v2.8.2 contrib/drivers/clickhouse/v2.8.2 contrib/trace/otlphttp/v2.8.2 contrib/drivers/sqlitecgo/v2.8.2 contrib/config/nacos/v2.8.2 contrib/registry/nacos/v2.8.2 contrib/registry/file/v2.8.2 contrib/nosql/redis/v2.8.2 contrib/registry/consul/v2.8.2 contrib/metric/otelmetric/v2.8.2 contrib/config/polaris/v2.8.2 2024-12-11 10:28:29 +08:00
houseme
00e2f6b5dc
chore: improve golangci-lint.yml, upgrade dependencies, and optimize code and comments (#4025) 2024-12-11 10:14:12 +08:00
John Guo
b7c74c9a35
fix(contrib/drivers/pgsql): add unix socket connection support (#4028) 2024-12-11 09:58:26 +08:00
John Guo
69969b1723
fix(contrib/registry/etcd): remove default configuration of AutoSyncInterval (#4027) 2024-12-10 20:59:44 +08:00
John Guo
38bffc77e2
fix(net/ghttp): occasional ci failed by unit testing cases using gctp.GetFreePort (#3982) 2024-12-10 09:52:48 +08:00
John Guo
2e788be1d3
feat(contrib/registry/consul): add consul registry support (#4016) 2024-12-09 23:12:29 +08:00
John Guo
13bc192e36
feat(database/gdb): add sharding feature for schema and table (#4014) 2024-12-09 23:12:20 +08:00
John Guo
bae78fbf5b
feat(net/ghttp): add middleware MiddlewareGzip for compressing response content using gzip (#4008) 2024-12-09 23:12:09 +08:00
John Guo
80e73da416
feat(errors/gerror): add As support (#4002) 2024-12-09 23:11:56 +08:00
John Guo
5e47590165
feat(database/gdb): add WhereExists/WhereNotExists (#4015) 2024-12-09 09:24:48 +08:00
TIANYU HU
3cffa4d5d6
fix(database/gdb): CRUD typos (#4017) 2024-12-09 09:22:52 +08:00
houseme
e18331aa2c
docs(cmd/gen): improve comments for command gen dao (#4007) 2024-12-07 14:19:36 +08:00
houseme
b0b84a3937
ci(gci/import): improve golangci.yml and add gci linter (#4010) 2024-12-07 14:17:33 +08:00
John Guo
2066aa4803
feat(database/gdb): add transaction propagation&isolation level&readonly features (#4013) 2024-12-07 14:01:31 +08:00
John Guo
b8142bf1fc
feat(os/gsession): add RegenerateId/MustRegenerateId support (#4012) 2024-12-06 14:16:03 +08:00
John Guo
ba968949f7
fix(database/gdb): orm tag from embedded struct is missing in with feature (#4011) 2024-12-05 22:02:47 +08:00
John Guo
c9b0237fc7
feat: version v2.8.2 (#4009) 2024-12-05 20:21:19 +08:00
ninjashixuan
4ad061faff
feat(contrib/drivers/pgsql): add array type varchar[] and text[] converting to Go []string support (#4000) 2024-12-05 15:50:59 +08:00
wanna
5fa33411fc
chore: add example for openapi/swagger authentication (#4004) 2024-12-05 15:49:50 +08:00
mingzaily
c0f2ef7348
feat(gctx): rename and remove gctx functions to prevent ambiguity (#3892) 2024-12-05 14:47:39 +08:00
oldme
77cb7fb412
test(drivers/mssql): add unit testing cases of transaction (#3818) 2024-12-05 14:44:40 +08:00
Hunk Zhu
7cd672d22c
feat(cmd/gf): add interface functions generating for embedded struct of logic struct in command gen service (#3802) 2024-12-05 14:44:21 +08:00
wanna
e2cafa35e0
fix(cmd/gf): custom tags repeatedly added using command gf gen pb with -a option (#3966) 2024-12-05 14:42:30 +08:00
John Guo
532e665841
fix(database/gdb): move Raw parameter from args to sql statement before committed to db driver (#3997) 2024-12-03 15:24:49 +08:00
John Guo
2d0cd7b770
refactor(cmd/gf): change default src value to api, path to internal/packed/packed_enums.go for command gen enums (#3996) 2024-12-02 21:39:04 +08:00
John Guo
2c916f8222
fix(database/gdb): issue where the Count/Value/Array query logic was incompatible with the old version when users extended the returned result fields using the Select Hook (#3995) 2024-12-01 23:47:51 +08:00
houseme
42eae41599
fix(util/gutil): code scanning alert no. 17: Potentially unsafe quoting (#3993) 2024-12-01 23:44:48 +08:00
houseme
5aa7504bb2
fix(util/gpage): code scanning alert no. 9: Potentially unsafe quoting (#3992) 2024-12-01 23:43:44 +08:00
Long FlyBridge
ec6e091882
chore: fix some function names in comment (#3967) 2024-12-01 11:29:09 +08:00
Wlynxg
c1850d4ab5
feat(net/goai): support OpenAPIv3.1 in description field for schema object (#3978) 2024-12-01 11:27:35 +08:00
oldme
9923975b1c
feat(net/gipv4): add enhanced the conversion between uint32 and string (#3988) 2024-12-01 10:16:03 +08:00
yijiong
e572ed01b3
fix(net/ghttp): get origin through referer (#3990) 2024-12-01 10:05:46 +08:00
0x7a7a
16d73b5bdf
fix(utils/gvalid): missing pkg path for enums pointer (#3983) 2024-11-29 18:25:13 +08:00
Luoyy
5521d768ff
feat(cmd/gf): add typeMapping and fieldMapping feature support for command gf gen genpbentity (#3970) 2024-11-27 21:09:42 +08:00
John Guo
81aed06643
feat: README updates (#3974) 2024-11-27 21:03:31 +08:00
John Guo
455830b842
test(database/gdb): add more unit testing cases for Raw feature (#3962) contrib/registry/polaris/v2.8.1 contrib/registry/etcd/v2.8.1 contrib/config/polaris/v2.8.1 contrib/config/apollo/v2.8.1 contrib/drivers/mysql/v2.8.1 contrib/drivers/dm/v2.8.1 contrib/config/consul/v2.8.1 contrib/sdk/httpclient/v2.8.1 cmd/gf/v2.8.1 contrib/drivers/oracle/v2.8.1 cmd/gf/internal/cmd/testdata/build/varmap/v2.8.1 v2.8.1 contrib/trace/otlpgrpc/v2.8.1 contrib/rpc/grpcx/v2.8.1 contrib/drivers/pgsql/v2.8.1 contrib/config/kubecm/v2.8.1 contrib/drivers/clickhouse/v2.8.1 contrib/registry/zookeeper/v2.8.1 contrib/drivers/sqlite/v2.8.1 contrib/registry/nacos/v2.8.1 contrib/drivers/sqlitecgo/v2.8.1 contrib/trace/otlphttp/v2.8.1 contrib/metric/otelmetric/v2.8.1 contrib/config/nacos/v2.8.1 contrib/nosql/redis/v2.8.1 contrib/registry/file/v2.8.1 contrib/drivers/mssql/v2.8.1 2024-11-23 18:35:02 +08:00
ppanphper
e56371e7c9
fix(cmd/gf): incorrect environment variables printing before cli does some environment changes (#3961) 2024-11-23 17:54:20 +08:00
ninjashixuan
eb8024913d
feat(net/goai): add min, max, length, min-length, max-length and between support for OpenAPIv3 (#3914) 2024-11-23 15:38:52 +08:00