Commit Graph

  • 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
  • 2c0b3eac4e ci(lint): enable usestdlibvars linter Matthieu MOREL 2024-11-10 10:02:31 +01:00
  • 61b89c400a ci(lint): enable perfsprint linter Matthieu MOREL 2024-11-10 09:50:23 +01:00
  • 62a652295c refactor(context): Added a third, optional parameter for permissions to the SaveUploadedFile method. (#4068) hso 2024-11-07 15:25:58 +09:00
  • 243df36169 Merge branch 'develop' of https://github.com/haesuo566/gin into develop hso 2024-11-07 15:10:04 +09:00
  • 1b35d8ed6b fixed lint (+2 squashed commit) haesuo 2024-11-03 13:50:29 +09:00
  • f21bac2f9d fixed lint hso 2024-11-07 15:04:53 +09:00
  • 151f477408
    test: refactor test context initialization and handler logic Bo-Yi Wu 2024-11-07 10:20:26 +08:00
  • 7e8e21b21c
    Merge branch 'master' of https://github.com/zjj/gin into zjj-master Bo-Yi Wu 2024-11-07 08:51:37 +08:00
  • 75fe2b9d00
    Fixed part where permissions could not be changed due to umask settings haesuo566 2024-11-06 12:33:44 +09:00
  • 84b377075d refactor(context): Added a third, optional parameter for permissions to the SaveUploadedFile method. (#4068) haesuo 2024-11-03 13:50:29 +09:00
  • c8a3adc657
    refactor(context): simplify "GetType()" functions (#4080) Konovalov Maxim 2024-10-29 18:24:53 +03:00
  • 90815bffc4 enhance code imported by #3413 zjj 2024-10-27 15:33:26 +08:00
  • 24db9b29e3 refactor: simplify GetType() functions Maksim Konovalov 2024-10-21 13:50:30 +03:00
  • ea53388e6e
    fix(tree): Keep panic infos consistent when wildcard type build faild (#4077) Xinyu Kuo 2024-10-26 08:28:59 +08:00
  • 9d11234efe
    docs(gin): Replace broken link to documentation with valid (#4064) Oskar Karpiński 2024-10-26 02:26:25 +02:00
  • 26f5476a62
    fix(tree): Keep panic information consistent when wildcard type build failed and update ci-lint version kingcanfish 2024-10-17 15:04:21 +08:00
  • 647311aba2
    refactor(context): refactor context handling and improve test robustness (#4066) Xinyu Kuo 2024-10-25 09:33:31 +08:00
  • 299c6f30e3
    docs: trimmed some white spaces (#4070) tsukasa-ino 2024-10-25 10:16:40 +09:00
  • b6c7ebd5f0
    refactor(context): refactor context handling and improve test robustness appleboy 2024-10-25 09:13:22 +08:00
  • b080116a7f
    docs(readme): add Portuguese documentation. (#4078) Enzo Lanzellotti 2024-10-24 22:08:11 -03:00
  • ad740d508f
    docs(context): fix some function names in comment (#4079) wangjingcun 2024-10-25 09:07:03 +08:00
  • 43c4b5bd11
    Merge branch 'master' into support-slice-and-array-of-bindunmarshaler Federico Jaramillo Martínez 2024-10-22 11:16:33 +02:00
  • a60f3736b7
    chore: fix some function names in comment wangjingcun 2024-10-21 15:17:30 +08:00
  • b998d86ea6
    chore: update README.md to add Portuguese documentation. Enzo Lanzellotti 2024-10-19 18:04:18 -03:00
  • eecc9c2a50 fixed Value do not respect the context.WithValue contract holgerhuang 2024-10-14 20:11:36 +08:00
  • 312cd7c9bd Fix the error in createStaticHandler when handling directories and index.html files aleimu 2024-10-12 16:44:55 +08:00
  • d3f07244f8
    Merge 42219b546659579117bd9ce00148d80ca062c79f into f05f966a0824b1d302ee556183e2579c91954266 gyula 2024-10-12 10:53:58 +08:00
  • c3665c0f79
    clean: trimed some white spaces tsukasa inoue 2024-10-09 12:58:37 +09:00
  • 97768067b6
    Merge 9ce3d65a1112d8fed1376de3facf62289a6770dd into f05f966a0824b1d302ee556183e2579c91954266 Iliya 2024-10-08 14:17:39 -04:00
  • b16dae8e98
    chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.35.1 dependabot[bot] 2024-10-07 22:35:01 +00:00
  • 4b973201ae
    fix: fix typo for c.ShouldBindBodyWithPlain comment and fix context_test for golang-lint kingcanfish 2024-10-07 01:37:44 +08:00
  • 1ce8c6ca3e
    fix(docs): Replace broken link to documentation with valid Oskar Karpiński 2024-09-26 13:36:25 +02:00
  • 60a7ca395e
    chore(deps): bump github.com/bytedance/sonic from 1.11.6 to 1.12.3 dependabot[bot] 2024-09-23 22:55:24 +00:00
  • cc42f81422 Add contributors section Abdullah Mara 2024-09-23 16:06:59 +03:00
  • f7139ea3db
    Merge dee7eb410b47191fdecf58e838f4f77b384f1137 into f05f966a0824b1d302ee556183e2579c91954266 Danial Gharib 2024-09-23 17:35:23 +08:00
  • 591a7d8fa7
    Merge af0276fe98b2fe4aebf1a13fb9110fd82f26c7e6 into f05f966a0824b1d302ee556183e2579c91954266 dilin 2024-09-22 07:57:24 +08:00
  • f05f966a08
    feat(form): Support default values for collections in form binding (#4048) takanuva15 2024-09-21 11:24:18 -04:00
  • 9d7c0e9e1a
    feat(context): GetXxx added support for more go native types (#3633) CC11001100 2024-09-15 08:58:59 +08:00
  • f2c861a24f
    docs: fix route group example code (#4020) demouth 2024-09-15 09:54:23 +09:00
  • edba6c2b69 feat(form): Support default values for collections in form binding takanuva15 2024-09-02 16:04:14 -04:00
  • eb4a5e1866 Move OnlyHTMLFS to internal and add test sunshineplan 2024-09-10 11:24:58 +08:00
  • e21fcce345 Add OnlyHTMLFS test sunshineplan 2024-09-10 10:25:39 +08:00
  • 3df1d433b3 Implement loading HTML from http.FileSystem sunshineplan 2024-09-10 10:11:11 +08:00
  • 373e03260f
    chore(deps): bump github.com/go-playground/validator/v10 dependabot[bot] 2024-09-09 22:27:36 +00:00
  • 0b193a994b
    chore(deps): bump github.com/quic-go/quic-go from 0.43.1 to 0.47.0 dependabot[bot] 2024-09-09 22:27:31 +00:00
  • 28e57f58b1
    fix(form): Set default value for form fields (#4047) Ahmad Saeed Goda 2024-09-06 08:21:19 +03:00
  • 3742addbff Optimize Gin recovery middleware for performance and readability dougtu 2024-09-04 20:27:24 -07:00
  • 497351c8dd fix: Set default value for form fields if sent empty ahmadsaeedgoda 2024-09-03 04:11:50 +03:00