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

6168 Commits

Author SHA1 Message Date
star liu
1f8845291a
fix(contrib/config/polaris): it only supports json format for configuration contents, add more content formats support (#4126) 2025-01-22 19:20:21 +08:00
Wlynxg
99f0fb14a1
fix(net/ghttp): BufferWriter.Flush writes additional information after custom response wrote (#4116) 2025-01-22 09:28:06 +08:00
Wlynxg
e0f734851e
fix(net/ghttp): MiddlewareHandlerResponse writes additional information after custom response wrote (#4109) 2025-01-14 09:28:19 +08:00
Wlynxg
3f24b4da2e
feat(os/gcmd): add default value display for an argument (#4083) 2025-01-13 09:26:59 +08:00
CyJaySong
80f57d1c24
fix(database/gdb): gdb.Counter not work in OnDuplicate (#4073) 2024-12-26 18:18:35 +08:00
houseme
9ce2409659
fix(util/gpage): html.EscapeString for pagination HTML generation and URL parsing (#4079) 2024-12-26 16:21:30 +08:00
houseme
6ea1526b75
fix(ci/golangci): fix golangcl-lint git push and apply format code on Push (#4077) 2024-12-26 10:19:01 +08:00
yijiong
3a19ee9268
fix: securiry update CVE-2024-45338 for package golang.org/x/net (#4070) 2024-12-25 21:43:55 +08:00
John Guo
594979c5af
fix(net/ghttp): nil pointer panic error when server logger set nil (#4055) 2024-12-19 22:31:17 +08:00
Mr.Fan
4c2a78b7bf
fix(database/gdb): regular expression pattern for link configuration to be compitable with tidbcloud (#4064) 2024-12-19 21:44:36 +08:00
John Guo
817ac36ce2
ci: use latest go version for unit testing cases of contribution components (#4062) 2024-12-19 10:11:55 +08:00
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