Commit Graph

  • 8b7e4732b4
    Merge 9e84bc5f8a5a48390933abcfde1f898c28dd3d06 into afa0c31d97e1b112ccfe7652957f7d8514580c72 dependabot[bot] 2025-04-20 16:02:08 +00:00
  • afa0c31d97
    chore(deps): bump github.com/gin-contrib/sse from 0.1.0 to 1.1.0 (#4216) dependabot[bot] 2025-04-21 00:02:02 +08:00
  • 56fccc39ec
    chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#4221) dependabot[bot] 2025-04-21 00:01:35 +08:00
  • 3319038418
    fix(readme): fix broken link to English documentation (#4222) eduardo-ax 2025-04-20 13:01:03 -03:00
  • f827219942 fix(readme): fix broken link to English documentation Eduardo Alexandre 2025-04-19 10:59:16 -03:00
  • af49958f8c Merge branch 'master' into feat/render 1911860538 2025-04-18 22:01:50 +08:00
  • 4eafd1bb41
    Merge branch 'gin-gonic:master' into master Name 2025-04-18 22:00:44 +08:00
  • a8c8942a3a
    chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 dependabot[bot] 2025-04-16 23:26:26 +00:00
  • b0e3cdc077 fix(context): improve client disconnection handling in Stream method linhujun 2025-04-15 11:18:39 +08:00
  • 0adbcce9f3
    chore(deps): bump github.com/gin-contrib/sse from 0.1.0 to 1.1.0 dependabot[bot] 2025-04-14 22:27:50 +00:00
  • cd8ad99947
    add a thread safe context that can be used when UseInternalContext is enabled. Ruben de Vries 2025-03-03 15:42:38 +01:00
  • 6d77638bbd
    Merge ad70fbf73aee6c21cfd6b4cfa3bc3ce86ff23054 into 49e9137c68e6dfaa529a2d0c9fe64d9e69a8554e Danny Hermes 2025-04-12 02:08:04 +08:00
  • be16d6346e
    Merge a4006e2db5dbdb7cff4d00ff56719b84c855dd1f into 49e9137c68e6dfaa529a2d0c9fe64d9e69a8554e ljluestc 2025-04-11 16:01:03 +00:00
  • 49e9137c68
    docs: fix comment (#4205) NezhaFan 2025-04-12 00:00:59 +08:00
  • 1b53a47790
    docs: Fixing English grammar mistakes and awkward sentence structure in doc/doc.md (#4207) Adlai Bridson-Boyczuk 2025-04-11 11:59:03 -04:00
  • 3afff295a2
    docs: add Upd language list (#4211) Andrey Bolonin 2025-04-11 18:58:02 +03:00
  • 6be5f3168e
    Update url Andrey Bolonin 2025-04-07 10:39:07 +03:00
  • ae37389934
    Upd language list Andrey Bolonin 2025-04-07 10:37:57 +03:00
  • a4006e2db5 Update HTMLDebug to return nil instead of panicking and adjust tests ljluestc 2025-04-06 21:02:00 -07:00
  • fe9ad938d1
    Update doc.md Adlai Bridson-Boyczuk 2025-04-06 21:44:46 -04:00
  • 4ea46566ee docs: Fixing grammar mistakes and awkward sentences, such as modeling binding section adlai 2025-03-31 15:21:45 -04:00
  • c4e549a738 fix test Denis Galeev 2025-03-31 17:44:15 +03:00
  • 0fe68969cf init test Denis Galeev 2025-03-31 17:41:12 +03:00
  • b16b1c3663 docs: fix comment voyager1 2025-03-28 23:13:18 +08:00
  • 4eecebf8bf implement partitioned cookies implement cookie validation with error logging refactor c.SetCookie to accept option pattern modifications as vararg refactor c.SetSameSite to use option pattern under the hood bound2 2025-03-28 09:09:45 +02:00
  • 6aa933c40b
    chore(deps): bump golangci/golangci-lint-action from 6 to 7 dependabot[bot] 2025-03-25 00:17:22 +00:00
  • 0cebb2da0a fix context copy ljluestc 2025-03-23 22:40:36 -07:00
  • e5d837948a fix context error ljluestc 2025-03-23 22:10:34 -07:00
  • 043b245931 fix context error ljluestc 2025-03-23 20:49:53 -07:00
  • a075c2a8bd
    Merge 78e74dc158323fe33b95b3a506b1acf670bfc180 into 8763f33c65f7df8be5b9fe7504ab7fcf20abb41d David Zbarsky 2025-03-23 08:24:08 +08:00
  • 8763f33c65
    fix: prevent middleware re-entry issue in HandleContext (#3987) bound2 2025-03-20 17:40:41 +02:00
  • e737e3e267
    fix(binding): prevent duplicate decoding and add validation in decodeToml (#4193) revevide 2025-03-20 23:35:49 +08:00
  • 4ccfa7c275
    feat(binding): add support for unixMilli and unixMicro (#4190) takanuva15 2025-03-20 11:33:10 -04:00
  • 89032c3d98 feat(binding): add support for unixMilli and unixMicro takanuva15 2025-03-18 17:40:26 -04:00
  • 0a36ef76f2 fix(binding): prevent duplicate decoding and add validation in decodeToml revevide 2025-03-20 17:27:35 +08:00
  • 3d862a991b
    chore(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.50.0 dependabot[bot] 2025-03-20 02:14:53 +00:00
  • 90cf460269
    chore: update Go versions and dependencies for improved compatibility (#4187) Bo-Yi Wu 2025-03-20 10:13:47 +08:00
  • fdcea7498a
    chore: update project for Go 1.23 compatibility and documentation fixes appleboy 2025-03-19 21:58:41 +08:00
  • 8ebb9ec5cd feat: Add gracefully shut down methods for gin 侯尧 2025-03-19 11:03:08 +08:00
  • 4f44e3b3d2
    chore: update Go versions and dependencies for improved compatibility appleboy 2025-03-18 23:51:10 +08:00
  • ebe5e2a6bf
    fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar (#4167) Name 2025-03-18 23:13:03 +08:00
  • 2e5ba860d1
    test: refactor codebase for improved readability and efficiency appleboy 2025-03-18 23:11:26 +08:00
  • 6d999ec344
    chore: update Go version in CI workflows and dependencies appleboy 2025-03-18 22:53:59 +08:00
  • 94e13d1619
    ci: refactor GitHub actions and update GolangCI configuration appleboy 2025-03-18 22:40:15 +08:00
  • f05ba36bbb
    chore(deps): bump github.com/go-playground/validator/v10 dependabot[bot] 2025-03-18 14:16:26 +00:00
  • 8b05f619d4
    chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.36.5 dependabot[bot] 2025-03-18 14:16:21 +00:00
  • 733ee094fc
    chore(deps): bump golang.org/x/net from 0.33.0 to 0.37.0 (#4178) dependabot[bot] 2025-03-18 22:15:13 +08:00
  • a4baac6e5e
    refactor(context):Avoid using filepath.Dir twice in SaveUploadedFile (#4181) NezhaFan 2025-03-18 22:14:38 +08:00
  • 1eb827240e
    docs: fix case error of X-Real-IP (#4185) NezhaFan 2025-03-18 22:12:36 +08:00
  • 1822e6338e docs: fix case error of X-Real-IP voyager1 2025-03-18 15:21:25 +08:00
  • aebd54606c refactor(context):Avoid using filepath.Dir twice in SaveUploadedFile voyager1 2025-03-12 17:12:28 +08:00
  • eca05fe048
    chore(deps): bump golang.org/x/net from 0.33.0 to 0.37.0 dependabot[bot] 2025-03-10 22:33:46 +00:00
  • 4498a9b34e perf: optimize JsonpJSON rendering to reduce allocations 1911860538 2025-03-06 21:58:18 +08:00
  • 7365d1236b perf: optimize AsciiJSON.Render method by using fmt.Appendf and reusing temp buffer 1911860538 2025-03-06 20:55:44 +08:00
  • e62bf94e48
    Merge branch 'gin-gonic:master' into master Robert-XIAO-777 2025-03-03 18:03:56 +08:00
  • d5d36fac7e fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar huangzw 2025-02-26 12:48:01 +08:00
  • 5a9754369d fix: correct RLock scope in Context.Copy method huangzw 2025-02-26 12:14:31 +08:00
  • 181d87743f
    Merge branch 'gin-gonic:master' into master Name 2025-02-26 11:52:34 +08:00
  • 65ac95e387
    Merge f32f8cb6e5692ce26a0ca6a42c6fbdc10a868ae7 into 3b28645dc95d58e0df36b8aff7a6c64f7c0ca5e9 ekeyme 2025-02-18 10:23:33 +08:00
  • 00c82ccfb7
    chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 dependabot[bot] 2025-02-17 22:43:08 +00:00
  • 01ffd1f717
    chore(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.49.0 dependabot[bot] 2025-02-17 22:43:04 +00:00
  • 90aa10bd4e
    chore(deps): bump golang.org/x/net from 0.33.0 to 0.35.0 dependabot[bot] 2025-02-17 22:42:59 +00:00
  • 40a0cb5372
    chore(deps): bump github.com/gin-contrib/sse from 0.1.0 to 1.0.0 dependabot[bot] 2025-02-17 22:42:53 +00:00
  • 9e84bc5f8a
    chore(deps): bump github.com/goccy/go-json from 0.10.2 to 0.10.5 dependabot/go_modules/github.com/goccy/go-json-0.10.5 dependabot[bot] 2025-02-17 22:42:51 +00:00
  • cf7bfb945b
    chore(deps): bump codecov/codecov-action from 4 to 5 dependabot[bot] 2025-02-17 22:40:19 +00:00
  • e9fbaa6d57
    Merge 4787b8203b79012877ac98d7806422da3a678ba2 into 3b28645dc95d58e0df36b8aff7a6c64f7c0ca5e9 tobi 2025-02-13 22:42:49 +08:00
  • 3b28645dc9
    ci: add go version 1.24 to GitHub Actions (#4154) Bo-Yi Wu 2025-02-12 10:22:02 +08:00
  • 568c9f3b2d
    ci: add go version 1.24 to GitHub Actions go1.24 Bo-Yi Wu 2025-02-12 08:49:45 +08:00
  • c3c8620a7f
    chore(deps): bump github.com/go-playground/validator/v10 from 10.20.0 to 10.22.1 (#4052) dependabot[bot] 2025-02-12 08:50:51 +08:00
  • c39cc18d8e
    add gin-gonic/contrib in README Liu Ziming 2025-01-09 15:20:46 +08:00
  • 924e4f49a0 feat: BindJSON Unfriendly prompt when parsing empty body. toad 2024-12-27 16:37:01 +08:00
  • 91bbebe2db chore: fix some function names in comment yangquanshi 2025-01-05 15:49:45 +08:00
  • 14aefbb4dc
    chore: update license period Max Katz 2025-01-03 23:11:49 +02:00
  • fbd60bfe6b feat(binding): add CustomDecimal type for parsing decimal numbers with leading dot aydinomer00 2025-01-03 11:55:56 +03:00
  • 3f818c3fa6
    chore(security): upgrade quic-go version to 0.48.2 (#4127) Bo-Yi Wu 2024-12-30 11:40:37 +08:00
  • 23d6961aeb
    ci(lint): update workflows and improve test request consistency (#4126) Bo-Yi Wu 2024-12-30 11:39:24 +08:00
  • b815547ba9
    Merge fc1a19e6cc85756d9e553d999b66043341f05a86 into e2e80f33472bd02094f242da3c3efde2cec0a037 ChenPuChu 2024-12-29 04:28:57 +07:00
  • 89d13a2c29
    chore(security): upgrade quic-go version to 0.48.2 sec appleboy 2024-12-28 21:04:04 +08:00
  • 4f0f23205d
    ci(lint): update workflows and improve test request consistency lint appleboy 2024-12-28 20:56:43 +08:00
  • e2e80f3347
    chore(security): update vendor to fix CVE (#4121) Xianglin Gao 2024-12-28 17:18:03 +08:00
  • 67d4ff8f6e a temporary fix for issue 4120 Mohammad AlSammak 2024-12-26 13:25:33 +03:00
  • ef1ec7f31c update vendor to fix cve Xianglin Gao 2024-12-23 15:07:37 +08:00
  • ff59b49650 Fix issues reported by testifylint Andreas Deininger 2024-12-13 22:51:16 +01:00
  • dc293d469c context_test.go: fix useless asserts Andreas Deininger 2024-12-13 22:45:07 +01:00
  • f4f5c44402 test: add test for zeroUnixNanoTime Kashiwa 2024-11-30 06:39:22 +00:00
  • 025db2a7c9 refact: simplify null-to-zero filling logic Kashiwa 2024-11-30 06:36:38 +00:00
  • abb667dc95 fix: empty value in unix and unixnano query param Fernando Lisboa Costa 2024-11-22 15:07:51 -03:00
  • 67a65f1a5a fix: binding time with empty value (#4098) ksw2000 2024-11-21 23:34:41 +08:00
  • fc1a19e6cc Fix golangci-lint issues ChenPuChu 2024-11-21 10:12:02 +00:00
  • 01c7c95fc1 fix: case-insensitive RawPath comparison to prevent infinite redirect KIbeom Lee 2024-11-21 00:42:51 +09:00
  • 87ce468c78 Optimize JSON.render renderer code 朱宗辉 2024-11-17 16:09:14 +08:00
  • 6144ce5af3 Testing custom JSON render 朱宗辉 2024-11-16 02:34:02 +08:00
  • ea103661a9 Fix issue #4094:By using structure encapsulation parameters to achieve the purpose of user-defined JSON rendering, while not changing the functions implemented by the original code 朱宗辉 2024-11-16 02:30:10 +08:00
  • 75eefd484a Added JSON initialization function 朱宗辉 2024-11-16 02:20:21 +08:00
  • a5378c0399
    Merge 002f8bc70de23d737d7225d0273e13ffd23528f0 into e46bd521859fdfc83c508f1d42c92cb7f91e9fcb ross 2024-11-16 01:26:12 +08:00
  • e7564a55ac Change the annotation names in line 90 of context.go that are different from the attributes to be consistent, and change the first letter to lowercase 朱宗辉 2024-11-16 00:37:31 +08:00
  • e46bd52185
    refactor(context): add an optional permission parameter to the SaveUploadedFile method (#4068) (#4088) haesuo566 2024-11-16 00:54:06 +09:00
  • e8d34d053f
    ci(lint): enable usestdlibvars linter (#4091) Matthieu MOREL 2024-11-15 16:52:16 +01:00
  • 02c1144f31
    ci(lint): enable perfsprint linter (#4090) Matthieu MOREL 2024-11-15 16:51:12 +01:00
  • f875d87283
    chore(context): test context initialization and handler logic (#4087) Bo-Yi Wu 2024-11-15 23:49:08 +08:00