Commit Graph

  • 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
  • 674522db91
    fix(time): binding time with empty value (#4103) Kashiwa 2025-05-21 19:21:46 +08:00
  • f1bcc093b8 refactor(context): simplify GetStringSlice function flc1125 2025-05-21 19:17:06 +08:00
  • 8f7c340577
    context_test.go: fix useless asserts (#4115) Andreas Deininger 2025-05-21 13:16:29 +02:00
  • d00e6a5695
    chore: fix some function names in comment (#4131) yangquanshi 2025-05-21 20:14:28 +09:00
  • 3d8e4e928a style(context): remove empty lines before GetInt16, GetIntSlice, and GetStringMapString methods flc1125 2025-05-21 19:14:09 +08:00
  • ab148b997a Merge remote-tracking branch 'upstream/master' into refactor-keys flc1125 2025-05-21 19:12:29 +08:00
  • 19f5a13fb4
    docs(readme): add gin-gonic/contrib (#4134) Liu Ziming 2025-05-21 08:25:00 +08:00
  • fb09c825e8
    feat(context): add SetCookieData (#4240) NARITA 2025-05-21 09:20:44 +09:00
  • 4d3ae3a50a fix(context): respect caller-specified SameSite value in SetCookieData Rikiya Narita 2025-05-21 01:58:28 +09:00
  • 0bee089a02 feat(context): fix SetCookieStruct→SetCookieData (gin-gonic#4215) Rikiya Narita 2025-05-21 00:27:07 +09:00
  • 3d8e288c64
    perf(all): use strings.Cut to replace strings.SplitN (#4239) Name 2025-05-20 22:58:34 +08:00
  • cc76014ea3 feat(context): add SetCookieStruct (#4215) Rikiya Narita 2025-05-20 23:48:15 +09:00
  • f348e695ed feat(context): add SetCookieStruct (#4215)# This is a combination of 2 commits. Rikiya Narita 2025-05-17 01:32:11 +09:00
  • 14b56ea5fe perf(all): use strings.Cut to replace strings.SplitN 1911860538 2025-05-13 21:37:52 +08:00
  • 2e2bd1f408
    test(internal/fs): fix test function name (#4235) Salim Absi 2025-05-20 13:29:39 +03:00
  • da67cc1b98
    test: fix lint failures (#4244) Siddhesh Mhadnak 2025-05-20 15:46:21 +05:30
  • b5af779653
    refactor: strengthen HTTPS security and improve code organization v1.10.1 security Bo-Yi Wu 2025-05-20 17:33:47 +08:00
  • 24f600bde9
    test: fix lint failures Siddhesh Mhadnak 2025-05-18 13:05:48 +05:30
  • fb022f54c0 chore: longestCommonPrefix func in tree.go, fix variable name and add comment 白茶清欢 2025-05-17 14:52:59 +08:00
  • 7478c58492
    Merge b00d3ec5b6100fd514208c6c4a3547c293fde079 into ef68fa032c0e6ce637db56e89ec734c0de0a9f5e SaltySooda 2025-05-15 09:12:12 +02:00
  • c9cd7f098a
    Merge 3742addbffdd73310e0a55629b3ffe613ecdd9eb into ef68fa032c0e6ce637db56e89ec734c0de0a9f5e dougtu 2025-05-13 22:26:32 +08:00
  • ae353171ff
    test(internal/fs): fix test function name Salim Absi 2025-05-11 22:53:17 +03:00
  • ef68fa032c
    chore(deps): bump golang.org/x/net from 0.38.0 to 0.40.0 (#4229) dependabot[bot] 2025-05-11 22:42:01 +08:00
  • b38c59de7f
    fix(errors): change Unwrap method receiver to value type (#4232) Orkhan Alikhanov 2025-05-11 18:38:33 +04:00
  • 96f63d68d3
    Merge branch 'master' into fix-cors Bo-Yi Wu 2025-05-11 22:36:26 +08:00
  • 0af4177603
    chore(deps): bump golang.org/x/net from 0.38.0 to 0.40.0 dependabot[bot] 2025-05-11 14:35:58 +00:00
  • cf32d2dcf8
    chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212) dependabot[bot] 2025-05-11 22:35:03 +08:00
  • 4714c2a9a3
    chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.36.6 (#4198) dependabot[bot] 2025-05-11 22:34:39 +08:00
  • 7a1b655074
    fix: sonic on arm64 (#4234) Yash 2025-05-11 20:04:09 +05:30
  • cf3b42b394
    fix: sonic on arm64 Yash Gorana 2025-05-11 09:24:40 +05:30
  • f533f2a698 fix(errors): change Unwrap method receiver to value type Orkhan Alikhanov 2025-05-08 09:24:01 +00:00
  • af56f034de
    chore(deps): bump golangci/golangci-lint-action from 6 to 8 dependabot[bot] 2025-05-05 23:35:49 +00:00
  • dd4801c822
    Merge 43da7c16ca651aecc11c09f60daf77627b6c0a0d into 67c9d4ee110e9adfe33063ef847dba56717c148a youzeliang 2025-04-27 16:39:45 +00:00
  • 49615cfe0b
    Merge ea3669ea6e027edd416e95b5fabd3d5da894113e into 67c9d4ee110e9adfe33063ef847dba56717c148a youzeliang 2025-04-27 16:39:44 +00:00
  • fafbebb7ec
    Merge 1f4500a5e608d47e19660af7a95d1c58f6d4e6fa into 67c9d4ee110e9adfe33063ef847dba56717c148a Goran Marić 2025-04-27 16:39:25 +00:00
  • 2efd359c20
    Bind: return 413 status code when error is http.MaxBytesError ItalyPaleAle 2025-04-25 22:26:08 -07:00
  • 45a4445559
    More lint ItalyPaleAle 2025-04-25 22:02:25 -07:00
  • 1ba9420247
    Lint ItalyPaleAle 2025-04-25 21:59:32 -07:00
  • 70c30afabf
    Merge branch 'master' of https://github.com/gin-gonic/gin into bind-request-entity-too-large ItalyPaleAle 2025-04-25 21:54:07 -07:00
  • 159dc9bdda
    chore(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 dependabot[bot] 2025-04-21 22:48:27 +00:00
  • 5038663d2b
    chore(deps): bump github.com/bytedance/sonic from 1.13.1 to 1.13.2 dependabot[bot] 2025-04-21 22:48:24 +00:00
  • 67c9d4ee11
    refactor: replace magic number 128 with unicode.MaxASCII in AsciiJSON Render (#4224) Name 2025-04-21 22:05:28 +08:00
  • f936e62259 refactor: replace magic number 128 with unicode.MaxASCII in AsciiJSON Render huangzw 2025-04-21 10:26:38 +08:00
  • 65f3fcf739 refactor: replace magic number 128 with unicode.MaxASCII in AsciiJSON Render huangzw 2025-04-21 09:55:16 +08:00
  • 3b8fedb0e4
    Merge branch 'gin-gonic:master' into master Name 2025-04-21 09:31:08 +08:00
  • 7b86a6d64d
    chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 dependabot[bot] 2025-04-20 16:17:02 +00:00
  • 4d2cc66546
    chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.36.6 dependabot[bot] 2025-04-20 16:16:56 +00:00
  • bb82473103
    chore(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.50.1 (#4197) dependabot[bot] 2025-04-21 00:15:51 +08:00
  • 255af882db
    chore(deps): bump github.com/go-playground/validator/v10 (#4208) dependabot[bot] 2025-04-21 00:14:45 +08:00
  • 71496abe68
    feat(fs): Implement loading HTML from http.FileSystem (#4053) sunshineplan 2025-04-21 00:11:16 +08:00
  • 0eb99493c2
    perf: optimize AsciiJSON.Render method by using fmt.Appendf and reusing temp buffer (#4175) Name 2025-04-21 00:05:34 +08:00
  • ae694a6f67
    chore(deps): bump github.com/go-playground/validator/v10 dependabot[bot] 2025-04-20 16:03:29 +00:00
  • 7f7f1c7042
    chore(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.50.1 dependabot[bot] 2025-04-20 16:02:48 +00:00