6211 Commits

Author SHA1 Message Date
662a4c8e9f refract(os/gtime): swap function names between Format and Layout (#4275) 2026-05-18 20:36:35 +00:00
c5a90d93a7 refract(os/gtime): swap function names between Format and Layout (#4275) 2025-05-10 14:19:55 +08:00
1f2fcd39b1 refract(container/gtype): rename package gtype to gatomic (#4274) 2025-05-07 19:11:44 +08:00
f52b7de1cf refract(database/gdb): remove Ctx function for DB and Model, add context.Context parameter for all Operation functions (#4249) 2025-05-06 20:08:27 +08:00
2cc4835c49 v2 -> v3 2025-04-10 14:12:35 +08:00
1534abdb05 feat(util/gpage): marked deprecated (#4230) 2025-04-02 19:56:28 +08:00
fee38b4531 feat(net/ghttp): enhance GetHeader method to support default values (#4210) 2025-03-25 20:42:30 +08:00
69e3362d0d feat: new version v2.9.0 (#4204) contrib/metric/otelmetric/v2.9.0 contrib/drivers/dm/v2.9.0 contrib/drivers/pgsql/v2.9.0 contrib/registry/nacos/v2.9.0 contrib/config/apollo/v2.9.0 contrib/config/kubecm/v2.9.0 contrib/registry/polaris/v2.9.0 contrib/registry/file/v2.9.0 contrib/drivers/clickhouse/v2.9.0 contrib/drivers/sqlite/v2.9.0 contrib/config/nacos/v2.9.0 contrib/config/consul/v2.9.0 contrib/drivers/mssql/v2.9.0 cmd/gf/internal/cmd/testdata/build/varmap/v2.9.0 contrib/registry/etcd/v2.9.0 contrib/trace/otlphttp/v2.9.0 contrib/registry/zookeeper/v2.9.0 contrib/sdk/httpclient/v2.9.0 contrib/drivers/mysql/v2.9.0 contrib/drivers/sqlitecgo/v2.9.0 contrib/registry/consul/v2.9.0 contrib/nosql/redis/v2.9.0 contrib/drivers/oracle/v2.9.0 contrib/rpc/grpcx/v2.9.0 v2.9.0 cmd/gf/v2.9.0 contrib/trace/otlpgrpc/v2.9.0 contrib/config/polaris/v2.9.0 2025-03-17 15:52:26 +08:00
9a61a6970f fix(database/gdb): fix transaction propagation feature (#4199) 2025-03-17 14:50:07 +08:00
abf77fac50 fix(cmd/gf): invalid binary suffix after installing binary using custom renamed file name that has suffix with . character (#4207) 2025-03-17 13:48:54 +08:00
07696fc779 feat(net/ghttp): add GetMetaTag function to retrieve metadata value for HandlerItem (#4206) 2025-03-17 09:21:00 +08:00
bc1e1019c5 refract(util/gconv): change Converter interface definition for more convenient usage (#4202) 2025-03-14 18:23:07 +08:00
bb696bb281 refract(net/ghttp): move Request.GetMetaTag to HandlerItemParsed.GetMetaTag (#4191) 2025-03-12 21:55:35 +08:00
029f324c5c feat: version v2.9.0-beta (#4189) contrib/drivers/mssql/v2.9.0-beta contrib/config/consul/v2.9.0-beta contrib/metric/otelmetric/v2.9.0-beta contrib/drivers/pgsql/v2.9.0-beta contrib/trace/otlpgrpc/v2.9.0-beta contrib/drivers/dm/v2.9.0-beta contrib/registry/nacos/v2.9.0-beta cmd/gf/v2.9.0-beta v2.9.0-beta contrib/config/apollo/v2.9.0-beta contrib/config/kubecm/v2.9.0-beta contrib/config/polaris/v2.9.0-beta contrib/rpc/grpcx/v2.9.0-beta contrib/registry/polaris/v2.9.0-beta contrib/drivers/clickhouse/v2.9.0-beta contrib/registry/file/v2.9.0-beta contrib/drivers/oracle/v2.9.0-beta contrib/nosql/redis/v2.9.0-beta contrib/registry/zookeeper/v2.9.0-beta contrib/config/nacos/v2.9.0-beta contrib/drivers/sqlitecgo/v2.9.0-beta contrib/registry/consul/v2.9.0-beta contrib/drivers/mysql/v2.9.0-beta contrib/registry/etcd/v2.9.0-beta cmd/gf/internal/cmd/testdata/build/varmap/v2.9.0-beta contrib/sdk/httpclient/v2.9.0-beta contrib/drivers/sqlite/v2.9.0-beta contrib/trace/otlphttp/v2.9.0-beta 2025-03-09 22:31:20 +08:00
f8331bad6e feat(net/ghttp): add Request.GetMetaTag to retrieve specific meta tag value (#4185) 2025-03-09 11:17:41 +08:00
bcda48bf82 fix(net/ghttp):check parameter existence to determine using default or front-end value. (#4182) 2025-03-08 20:56:27 +08:00
a8a055f122 fix(util/gvalid): lots of memory consumed when required validation on big binary field (#4097) 2025-03-07 13:52:12 +08:00
dfe088f5cd refactor(util/gconv): add Converter feature for more flexable and extensible type converting (#4107) 2025-03-06 23:04:26 +08:00
f4074cd815 fix(net/gclient): remove default discovery for gclient when Discovery feature enabled (#4174) 2025-03-03 16:43:21 +08:00
4a65e7a629 feat: v2.9.0 (#4057) 2025-02-27 15:53:19 +08:00
ac653d3dee Merge branch 'master' into feat/v2.9.0 2025-02-27 14:36:05 +08:00
2d3ab4f9fb feat: add submodule examples (#4137) 2025-02-27 14:35:00 +08:00
bda42d18ee feat(cmd/gf): add controller comment support for command gf gen ctrl (#4169) 2025-02-27 14:21:40 +08:00
63cb3285f8 fix(net/ghttp): update response message handling in MiddlewareHandlerResponse (#4162) 2025-02-27 11:59:26 +08:00
2fa03556ef chore(util/gvalid): using 64 instead of 10 bitsize parameter for function strconv.ParseFloat although it treats 10 as 64 internally (#4154) 2025-02-20 16:32:01 +08:00
01593ad8b6 fix(ci): golangci-lint failed after upgrading go version to 1.24 (#4158) 2025-02-14 22:24:18 +08:00
42d8845d35 feat(cmd/gf): add gopackage option for command gf gen pbentity to specify go_package for generated proto files (#4141) 2025-02-14 13:39:13 +08:00
1ef1c442d3 test(os/gproc): add unit test for os/gproc (#4140) 2025-02-14 13:36:17 +08:00
7d3b055d3e fix(net/ghttp): MakeBodyRepeatableRead takes not effective when called after ParseForm (#4143) 2025-02-11 18:02:26 +08:00
a3b3c656d9 feat(database/gdb): enable transaction propagation when using tx.GetCtx() after Begin (#4121) 2025-02-11 16:09:27 +08:00
0eb229a887 feat(os/glog): add default time format 2006-01-02T15:04:05.000Z07:00 (#4134) 2025-02-11 15:59:27 +08:00
20b1987828 feat(test/gtest): add map type support for AssertNI/AssertIN (#4135) 2025-01-23 17:58:32 +08:00
e12768207e feat(cmd/gf): beautify progress bar of cli binary downloading for command gf up (#4094) 2025-01-22 19:22:36 +08:00
f9c7eae23b fix(net/ghttp): remove unused code snippet (#4131) 2025-01-22 19:22:02 +08:00
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
6bd15b0796 merge master 2025-01-22 19:17:16 +08:00
99f0fb14a1 fix(net/ghttp): BufferWriter.Flush writes additional information after custom response wrote (#4116) 2025-01-22 09:28:06 +08:00
e0f734851e fix(net/ghttp): MiddlewareHandlerResponse writes additional information after custom response wrote (#4109) 2025-01-14 09:28:19 +08:00
3f24b4da2e feat(os/gcmd): add default value display for an argument (#4083) 2025-01-13 09:26:59 +08:00
fc9093a1aa feat(cmd/gf): add ShardingPattern option for command gf gen dao to support generating dao files sharding tables (#4081) 2024-12-26 23:21:03 +08:00
Gin
f66e09717c feat(contrib/metric/otelmetric): add metrics option WithExemplarFilter support (#4061) 2024-12-26 18:30:21 +08:00
80f57d1c24 fix(database/gdb): gdb.Counter not work in OnDuplicate (#4073) 2024-12-26 18:18:35 +08:00
9ce2409659 fix(util/gpage): html.EscapeString for pagination HTML generation and URL parsing (#4079) 2024-12-26 16:21:30 +08:00
6ea1526b75 fix(ci/golangci): fix golangcl-lint git push and apply format code on Push (#4077) 2024-12-26 10:19:01 +08:00
89e5285d95 feat(net/ghttp): move plugin remove logic to Shutdown() && call Shutdown() when Run() exits (#4072) 2024-12-26 10:18:47 +08:00
e6bee78be4 Apply gci import order changes 2024-12-26 02:18:19 +00:00
96e833db6e feat(gf/gen/pbentity): add a TablesEx configuration to exclude the specified table names (#4060) 2024-12-26 10:17:51 +08:00
3a19ee9268 fix: securiry update CVE-2024-45338 for package golang.org/x/net (#4070) 2024-12-25 21:43:55 +08:00
594979c5af fix(net/ghttp): nil pointer panic error when server logger set nil (#4055) 2024-12-19 22:31:17 +08:00
4c2a78b7bf fix(database/gdb): regular expression pattern for link configuration to be compitable with tidbcloud (#4064) 2024-12-19 21:44:36 +08:00