Commit Graph

  • 62bfdcdfd6 add some test for routergroup chenhuiluo 2025-07-09 19:20:15 +08:00
  • 04d310a64b
    chore(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 dependabot[bot] 2025-07-15 02:21:54 +00:00
  • be39a2b9be added test of Hijack() keitosuwahara 2025-07-13 23:23:41 +09:00
  • b5118f65a2 Prevention of Hijack() runtime panics keitosuwahara 2025-07-13 22:57:28 +09:00
  • bdc1ad7987
    docs: added comment in doc.go (#4274) 諏訪原慶斗 2025-07-13 10:43:32 +09:00
  • 545fd74379
    chore(deps): bump github.com/go-playground/validator/v10 (#4289) dependabot[bot] 2025-07-13 09:41:58 +08:00
  • a6287825c9
    chore(deps): bump github.com/ugorji/go/codec from 1.2.12 to 1.3.0 (#4268) dependabot[bot] 2025-07-13 09:41:31 +08:00
  • dbd8a25150
    feat: added AbortWithStatusPureJSON() in Context (#4290) Denny Septian Panggabean 2025-07-13 08:40:35 +07:00
  • 56a79f401a
    chore(deps): bump github.com/ugorji/go/codec from 1.2.12 to 1.3.0 dependabot[bot] 2025-07-13 01:30:44 +00:00
  • 51803a88c3
    chore(deps): bump github.com/go-playground/validator/v10 dependabot[bot] 2025-07-13 01:28:13 +00:00
  • b7d6308bcc
    chore(deps): bump github.com/quic-go/quic-go from 0.52.0 to 0.53.0 (#4281) dependabot[bot] 2025-07-13 09:27:07 +08:00
  • 4bdcd9d0f1
    docs: added available ID documentation (#4287) Denny Septian Panggabean 2025-07-13 08:26:26 +07:00
  • 8668b611c9
    Update context_test.go Denny Septian Panggabean 2025-07-08 09:50:53 +07:00
  • 7d36764260
    feat: added AbortWithStatusPureJSON() in context Denny Septian Panggabean 2025-07-08 09:48:42 +07:00
  • e8622bf445 refactor function joinPaths and isAscii keitosuwahara 2025-07-07 19:09:46 +09:00
  • ba861602e7
    docs: added available ID documentation Denny Septian Panggabean 2025-07-07 16:44:43 +07:00
  • 76dd08d512
    docs: wrong badge workflow in README.md (#4286) Denny Septian Panggabean 2025-07-07 16:20:47 +07:00
  • cfebe6a14b
    fix: README.md Denny Septian Panggabean 2025-07-07 15:51:57 +07:00
  • 428784220c
    chore(deps): bump github.com/quic-go/quic-go from 0.52.0 to 0.53.0 dependabot[bot] 2025-07-01 01:48:15 +00:00
  • 41308005db clean up the multipart request files Ritik Singh 2025-06-27 14:11:07 +05:30
  • 22ae924b10 added test for protobuf negotiation logic and for the registration of custom contentType kkoehler 2025-06-27 09:54:49 +02:00
  • adae8b76db
    Update context.go Kristian Köhler 2025-06-27 09:42:04 +02:00
  • ac765410d3 adjusted negotiation logic so that it is possible to add or overwrite render logic for sepcific content-types and added/referenced a default protobuf renderer. kkoehler 2025-06-24 17:18:33 +02:00
  • 216226acae feat: add new function to get engine from Context type Youssef Ayman 2025-06-23 16:06:34 +03:00
  • 995d225fa9 added comment in doc.go keitosuwahara 2025-06-21 22:34:10 +09:00
  • cf4775283e
    chroe: migrate yaml package to github.com/goccy/go-yaml (#4272) M. Ilham Surya Pratama 2025-06-21 11:38:28 +07:00
  • 2f2ebfe700
    Merge 87d4db66086bed0abb1423605c6a81d9c85ee35b into 688a429d19d8c804447bb889d3635e2c31a5564d Jacob McSwain 2025-06-20 12:43:06 +00:00
  • 301f5277c2
    Merge 60e5dcf5946c8af35823b75588ae4e6a8722cac4 into 688a429d19d8c804447bb889d3635e2c31a5564d yxxhero 2025-06-20 12:42:20 +00:00
  • 8eb54b845e feat(logger):color latency lizhao 2025-01-23 15:43:07 +08:00
  • edbcb98c9c Migrate from gopkg.in/yaml.v3 to github.com/goccy/go-yaml milhamsuryapratama 2025-06-19 06:48:34 +07:00
  • 86aa75e5e7 fixed issue fix/#4269 keitosuwahara 2025-06-18 22:07:24 +09:00
  • 533d578ab5 gin example flybread 2025-06-17 16:10:25 +08:00
  • ee981f128a gin example flybread 2025-06-17 16:09:29 +08:00
  • 50e0aaf86c fix: Unwrap joinErr in gin.Error() arshukla98 2025-06-07 18:45:34 +05:30
  • 8bf96b5ba3
    chore(deps): bump github.com/ugorji/go/codec from 1.2.12 to 1.2.14 dependabot[bot] 2025-06-16 17:11:44 +00:00
  • 688a429d19
    feat: support custom json codec at runtime (#3391) Tim 2025-06-16 23:16:36 +08:00
  • 0a864884de
    chore(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 (#4262) dependabot[bot] 2025-06-16 23:01:46 +08:00
  • dd33ff7938
    fix(docs): missing go markdown codeblock (#4266) Victor Dusart 2025-06-16 16:59:53 +02:00
  • 70f7172834
    Merge b34e0714b485ea0b79dfbd7e33938315ef2667be into 77d70e5858278193abfab732164b0c1415d8d4ba Pavel Zarubin 2025-06-12 14:21:48 -04:00
  • 028480d99d
    fix(docs): missing go markdown codeblock Victor Dusart 2025-06-10 16:09:02 +02:00
  • eb534ce094
    Update SECURITY.md AhmedAmin83 2025-06-10 12:01:31 +03:00
  • 23eaad52bf
    Create SECURITY.md AhmedAmin83 2025-06-10 11:35:33 +03:00
  • bb49d0542f
    chore(deps): bump github.com/bytedance/sonic from 1.13.2 to 1.13.3 dependabot[bot] 2025-06-09 22:10:30 +00:00
  • 24f19b2033
    chore(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 dependabot[bot] 2025-06-09 22:10:05 +00:00
  • 78404bc851
    Merge 563f4f606ffef4df8e21461821e2364a73776833 into 77d70e5858278193abfab732164b0c1415d8d4ba jc 2025-06-09 22:35:22 +08:00
  • 77d70e5858
    refactor(internal/bytesconv): replace rand usage with crypto/rand and rand.Int63 (#4259) Name 2025-06-09 21:05:34 +08:00
  • a9c5b36578
    docs: small changes (#4261) eqsdxr 2025-06-09 18:04:23 +05:00
  • ce62c1f59d docs: small changes eqsdxr 2025-06-09 05:31:50 +05:00
  • 1a45951cbf refactor(internal/bytesconv): replace rand usage with crypto/rand and rand.Int63 huangzw 2025-06-06 15:48:59 +08:00
  • c80c9c48f7 绑定form-data flybread 2025-06-05 20:27:31 +08:00
  • 73da7abdaa bindJSon的源码读的原理 flybread 2025-06-05 17:01:32 +08:00
  • 305f2003c1 bindJSon的校验规则,待熟悉 flybread 2025-06-05 14:05:52 +08:00
  • bf5f26cf33 bindJSon的校验规则,待熟悉 flybread 2025-06-05 11:39:20 +08:00
  • b60fac92d9 example flybread 2025-06-04 18:20:15 +08:00
  • 07792fc478 fix(bind): update sonic to support passing io.Reader error 段仪 2025-06-03 11:51:12 +08:00
  • 14f7f687ae docs(gin): add custom json codec examples in doc file TimAndy 2025-06-03 11:43:43 +08:00
  • 0911dc911c chore(copyright): update copyright to 2025 gin core team TimAndy 2025-06-03 11:43:41 +08:00
  • 4703e4e21c feat(json): support custom json codec at runtime TimAndy 2025-06-03 11:43:39 +08:00
  • d3f234b835 refactor(json): export json codec TimAndy 2025-06-03 11:43:36 +08:00
  • e30123ad73
    refactor(recovery): extract Authorization header masking into maskAuthorization func (#4143) OHZEKI Naoki 2025-06-02 13:38:19 +09:00
  • 32b3414887 test(recovery): Add a test for maskAuthorization OHZEKI Naoki 2025-05-28 20:57:39 +09:00
  • b35d0e16cc refactor(recovery): extract Authorization header masking into maskAuthorization func OHZEKI Naoki 2025-05-29 14:39:45 +09:00
  • 3c12d2a80e
    perf(recover): replace bytes with strings in function for better performance (#4252) Name 2025-05-31 08:41:13 +08:00
  • 4533a36a78
    Merge 924e4f49a04ed250f4a51160ab7d2bf8483e39c8 into 61c2b1c28f0c5a754330545e31f02cd6d6f7944e ttoad 2025-05-28 16:29:04 -03:00
  • b8f57f8b07 perf: replace bytes with strings in function for better performance huangzw 2025-05-28 21:46:10 +08:00
  • 61c2b1c28f
    chore(deps): bump github.com/quic-go/quic-go from 0.51.0 to 0.52.0 (#4250) dependabot[bot] 2025-05-27 20:27:26 +08:00
  • d5d2c6f549
    chore(deps): bump github.com/quic-go/quic-go from 0.51.0 to 0.52.0 dependabot[bot] 2025-05-26 22:27:53 +00:00
  • 41d8591eb1
    refactor(context): refactor Keys type to map[any]any (#3963) Flc゛ 2025-05-26 23:15:14 +08:00
  • 848e1cdd0d
    refactor: replace interface{} with any in type declarations (#4249) Flc゛ 2025-05-26 23:11:05 +08:00
  • fb41e2323b refactor: replace interface{} with any in type declarations Flc 2025-05-25 21:02:29 +08:00
  • c8af82af15
    test(context): add cleanup for uploaded file in SaveUploadedFile test (#4248) Flc゛ 2025-05-25 20:38:39 +08:00
  • 40725d85ba
    chore(bind): return 413 status code when error is http.MaxBytesError (#4227) Alessandro (Ale) Segala 2025-05-25 05:36:33 -07:00
  • 291b5c4ee0 test(context): add cleanup for uploaded file in SaveUploadedFile test Flc 2025-05-24 15:19:11 +08:00
  • 4de0ae4795
    Test that the response is 400 for sonic and go-json ItalyPaleAle 2025-05-23 07:56:48 -07:00
  • bff43ed527
    Add references to GitHub issues ItalyPaleAle 2025-05-23 07:53:46 -07:00
  • 9a839a08c1
    Disable for go-json too ItalyPaleAle 2025-05-23 07:49:25 -07:00
  • 8816d9fa7c
    Fix ItalyPaleAle 2025-05-23 07:46:38 -07:00
  • c0db11b473
    Disable test when using sonic ItalyPaleAle 2025-05-23 07:39:46 -07:00
  • 666545f787
    Merge branch 'master' of https://github.com/gin-gonic/gin into bind-request-entity-too-large-2 ItalyPaleAle 2025-05-23 07:35:57 -07:00
  • 0ca191dada test(context): improve panic test message for non-existent key flc1125 2025-05-23 15:39:17 +08:00
  • 309d0be834 refactor(context): improve error message for missing key in context flc1125 2025-05-23 15:37:16 +08:00
  • 9c35f7958b test(context): remove trailing hyphen from context_test.go flc1125 2025-05-23 15:18:30 +08:00
  • b00f47329d refactor(context): replace fmt.Errorf with fmt.Sprintf in panic message flc1125 2025-05-23 15:14:08 +08:00
  • a94d7e7cd8 Merge branch 'master' of github.com:gin-gonic/gin into refactor-keys flc1125 2025-05-23 15:13:03 +08:00
  • c4287b1300
    ci(golangci-lint): update configuration and fix lint issues (#4247) Flc゛ 2025-05-23 14:46:48 +08:00
  • 3c15fae9f2 build(deps): downgrade golang.org/x/mod and golang.org/x/tools flc1125 2025-05-22 19:42:17 +08:00
  • e2f347ba47 build(deps): remove golang.org/x/lint flc1125 2025-05-22 19:40:35 +08:00
  • 31da74b8ec Merge branch 'upgrade-golangci-lint' of github.com:flc1125/gin; branch 'master' of github.com:gin-gonic/gin into upgrade-golangci-lint flc1125 2025-05-22 19:39:35 +08:00
  • 58c6b9190f Merge branch 'master' of github.com:gin-gonic/gin into refactor-keys flc1125 2025-05-22 19:38:17 +08:00
  • 889bb51bf6
    Merge 8f79761032f135a8635c2263a8842cb29825c55c into 8fb3136664254d7c592127f00d52849caba18a67 Damian Orzepowski 2025-05-22 21:35:53 +10:00
  • 8fb3136664
    Revert "fix(time): binding time with empty value (#4103)" (#4245) Bo-Yi Wu 2025-05-22 19:20:04 +08:00
  • 8cbb7ba07f
    Merge ff59b49650ad9b570d96c23be2857945608eadaa into 674522db91d637d179c16c372d87756ea26fa089 Andreas Deininger 2025-05-22 00:36:50 +05:30
  • 21df7395ca test: ignore testifylint and gofumpt lints in specific test cases Flc 2025-05-21 23:45:28 +08:00
  • 4092436c56 ci(golangci): add gofumpt linter and fix related issues- Added gofumpt linter to .golangci.yml Flc 2025-05-21 23:43:11 +08:00
  • 82549da4b9 ci: downgrade golangci-lint to v2.1.6 Flc 2025-05-21 23:36:35 +08:00
  • f02149ccb4 ci(github): update golangci-lint-action to v8 and lint version to v2.3.4 Flc 2025-05-21 23:29:54 +08:00
  • 21cfba8bba ci: update golangci-lint configuration and lint settings Flc 2025-05-21 23:24:27 +08:00
  • 9335fa5cb0 Merge remote-tracking branch 'upstream/master' into refactor-keys flc1125 2025-05-21 19:35:36 +08:00
  • ac59ed24d3 test(context): improve context.Set and context.Get tests flc1125 2025-05-21 19:26:38 +08:00
  • 5433c4cd50
    Revert "fix(time): binding time with empty value (#4103)" Bo-Yi Wu 2025-05-21 19:24:02 +08:00