Commit Graph

  • 12d42118de refactor: prepare trusted proxies Stefan Bildl 2023-03-25 15:56:45 +01:00
  • fc3aee84b5 refactor: rename method to reflect use-case Stefan Bildl 2023-03-25 15:02:48 +01:00
  • 88b0dfbf41
    chore(deps): bump github.com/bytedance/sonic from 1.8.2 to 1.8.5 dependabot[bot] 2023-03-20 22:57:48 +00:00
  • 8d944a32dd
    chore(deps): bump actions/setup-go from 3 to 4 dependabot[bot] 2023-03-20 22:57:40 +00:00
  • 97ac651b37
    chore(deps): bump github.com/goccy/go-json from 0.10.0 to 0.10.2 dependabot[bot] 2023-03-20 22:57:40 +00:00
  • 972d386711
    chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.30.0 dependabot[bot] 2023-03-20 22:57:38 +00:00
  • cd5634d350
    chore(deps): bump github.com/bytedance/sonic from 1.8.2 to 1.8.4 dependabot[bot] 2023-03-13 22:58:10 +00:00
  • 1034849de8
    chore(deps): bump github.com/goccy/go-json from 0.10.0 to 0.10.1 dependabot[bot] 2023-03-13 22:58:04 +00:00
  • f680cad114
    chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.29.0 dependabot[bot] 2023-03-13 22:57:57 +00:00
  • 04e75f4712 improve the context.MultipartForm method cncal 2023-03-11 15:51:52 +08:00
  • 19dff1a81e
    Add content-length header where it is possible without reading buffers Erik Jansson 2023-03-08 20:36:19 +01:00
  • 3c682e0eee
    chore(deps): bump github.com/bytedance/sonic from 1.8.2 to 1.8.3 dependabot[bot] 2023-03-06 23:00:09 +00:00
  • 8f9c4b14fa
    chore(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 dependabot[bot] 2023-03-06 22:59:56 +00:00
  • d034969435
    chore(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 dependabot[bot] 2023-03-06 22:59:48 +00:00
  • 7b6e87b44e support form bind with **Struct (#3526) Ather Shu 2023-03-06 19:09:23 +08:00
  • 74a81ee4a0 improve render code coverage CCpro10 2023-03-05 11:19:21 +08:00
  • 040a2c3e00 fix bug: embed.FS index.html render Kiyan Gauss 2023-03-04 23:34:29 +08:00
  • 75241e2eb9 refactor: Handle error that never occur CCpro10 2023-03-04 20:35:47 +08:00
  • 41a4159766 fix bug in validateHeader trigun 2023-03-03 12:42:18 +03:00
  • 96a97bcf15 ci: remove notification gitter thinkerou 2023-03-03 11:52:31 +08:00
  • 7a18a39526
    remove notification gitter thinkerou 2023-03-02 19:05:28 +08:00
  • a889c58de7
    Convert strings and slices using the officially recommended way (#3344) hopehook 2023-03-02 08:12:20 +08:00
  • 26c932b145 feat: allow custom unmarshalers for form binding: json/text/binary Jakub Slocki 2022-09-22 14:57:11 +02:00
  • de1c4ec546
    refactor: use bytes.ReplaceAll directly (#3455) lgbgbl 2023-03-01 13:57:15 +08:00
  • 76a8ac8178 chore: remove build tag "+build !go1.20" hopehook 2023-03-01 10:22:15 +08:00
  • 457fabd7e1
    chore(deps): bump github.com/bytedance/sonic from 1.8.1 to 1.8.2 (#3516) dependabot[bot] 2023-03-01 10:05:28 +08:00
  • d1b2408027
    chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#3515) dependabot[bot] 2023-03-01 10:04:56 +08:00
  • 1e1f0b1e76
    chore: support min go version 1.18 (#3511) thinkerou 2023-03-01 10:03:48 +08:00
  • a0b18e5b74
    chore(deps): bump github.com/bytedance/sonic from 1.8.1 to 1.8.2 dependabot[bot] 2023-02-27 22:58:57 +00:00
  • c6981c0faa
    chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 dependabot[bot] 2023-02-27 22:58:41 +00:00
  • d6e350d3cd support override default binding implement ssfyn 2023-02-27 16:37:22 +08:00
  • f32f8cb6e5 fix middleware called multiple times in HandleContext redirection ekeyme 2022-12-05 17:55:43 +08:00
  • 7f7ab66332 replace interface{} instead of any thinkerou 2023-02-27 10:34:19 +08:00
  • b75f1bf3b3 remove any.go thinkerou 2023-02-26 09:46:05 +08:00
  • 440862ef43 fix word thinkerou 2023-02-24 12:23:31 +08:00
  • cd17edb19a remove build tag thinkerou 2023-02-24 11:36:35 +08:00
  • bff6fcb631 fix build tag error thinkerou 2023-02-23 10:09:22 +08:00
  • 417a115342 chore: min go version 1.18 thinkerou 2023-02-22 20:17:46 +08:00
  • 6e4c00a655
    Merge ac0eaab99cafa174223a8fbf97cdeb3eb52846ec into 943e93cba04808294d0748b74bcdc8322b8ebaa7 Cookiery 2023-02-21 21:19:16 +08:00
  • 943e93cba0
    chore(deps): bump github.com/ugorji/go/codec from 1.2.9 to 1.2.10 (#3509) dependabot[bot] 2023-02-21 17:43:24 +08:00
  • 0b5df9fc39
    chore(deps): bump github.com/bytedance/sonic from 1.7.1 to 1.8.1 (#3508) dependabot[bot] 2023-02-21 17:42:49 +08:00
  • b45ef52387
    chore(deps): bump github.com/bytedance/sonic from 1.7.1 to 1.8.1 dependabot[bot] 2023-02-21 09:21:39 +00:00
  • 1ee9f25775
    chore(deps): bump github.com/ugorji/go/codec from 1.2.9 to 1.2.10 dependabot[bot] 2023-02-21 09:21:37 +00:00
  • ea03e10384
    docs(readme): release v1.9.0 version (#3474) v1.9.0 thinkerou 2023-02-21 17:20:32 +08:00
  • 9cd730699b update changelog thinkerou 2023-02-20 20:28:09 +08:00
  • 7d336c7cec chore: upgrade dependency version thinkerou 2023-02-20 10:12:50 +08:00
  • 0d4a5a3610 Merge remote-tracking branch 'upstream/master' into v19 thinkerou 2023-02-20 10:09:40 +08:00
  • 4cee78f538
    Fix #3500 Add escape logic for header (#3503) t0rchwo0d 2023-02-19 22:25:48 +09:00
  • 69e306f7e2 Fix #3500 Add escape logic for header t0rchwo0d 2023-02-17 12:46:00 +09:00
  • fc1c43298d
    fix(security): vulnerability GO-2023-1571 (#3505) Kevin Chen 2023-02-18 01:43:39 -05:00
  • 030e3c1ba4 fix: vulnerability GO-2023-1571 Kevin Chen 2023-02-17 15:49:13 -05:00
  • 81ac7d55a0
    Add escape logic for header (#3500) t0rchwo0d 2023-02-17 11:00:19 +09:00
  • f7a70e3a0a
    Merge a185482cc5d8c53b8da7342e002a9f76bf985f54 into d07db174acf44bfaf191ca2f6d7beafa2ff946da Rinat 2023-02-17 01:06:38 +04:00
  • cb5832c4ba Add escape logic for header t0rchwo0d 2023-02-15 02:46:45 +09:00
  • f949602373
    fix(tree): correctly expand the capacity of params Georgi Dimitrov 2023-02-16 13:16:15 +00:00
  • 303e21a421 pass linter iliya 2023-02-14 08:04:42 +03:30
  • d07db174ac
    chore(deps): bump golang.org/x/net from 0.5.0 to 0.6.0 (#3498) dependabot[bot] 2023-02-14 10:59:36 +08:00
  • 9eaba78ab6
    stop execution in example Hannes 2023-02-13 16:17:23 -08:00
  • e363ca4a37
    chore(deps): bump golang.org/x/net from 0.5.0 to 0.6.0 dependabot[bot] 2023-02-13 22:57:46 +00:00
  • 582a864292 chore: add bind cookie to documentation jqualls 2023-02-12 10:56:06 -07:00
  • 48c56178db chore: ignore .idea files jqualls 2023-02-12 10:52:53 -07:00
  • 843aad187b Merge branch 'master' of github.com:gin-gonic/gin into feat/cookie-binding jqualls 2023-02-12 10:51:58 -07:00
  • c1d06e3d08
    add supprt for go1.20 http.rwUnwrapper to gin.responseWriter (#3489) David Desmarais-Michaud 2023-02-12 00:01:43 -05:00
  • bd82c9e351
    chore(go): Add support go 1.20 (#3484) mstmdev 2023-02-12 13:01:05 +08:00
  • 0c96a20209
    Stop useless panicking in context and render (#2150) Vladislav Dmitriyev 2023-02-12 05:01:33 +03:00
  • 891cdd31d1 chore(deps): bump github.com/bytedance/sonic from v1.7.0 to v1.7.1 mstmdev 2023-02-11 00:39:54 +08:00
  • 9a36e013f0 Merge branch 'master' into support-go1.20 mstmdev 2023-02-11 00:37:43 +08:00
  • f684de8618 chore: update Copyright hopehook 2023-02-08 23:23:26 +08:00
  • ad7779d934 chore: add reference documentation link to comment of code hopehook 2023-02-08 17:40:59 +08:00
  • a1efe3f28c update .gitignore lipeng 2023-02-07 22:41:46 +08:00
  • 153b229fcc
    chore(deps): bump github.com/ugorji/go/codec from 1.2.8 to 1.2.9 (#3491) dependabot[bot] 2023-02-07 16:37:36 +08:00
  • ca796f9bf7
    chore(deps): bump github.com/ugorji/go/codec from 1.2.8 to 1.2.9 dependabot[bot] 2023-02-06 22:02:52 +00:00
  • e02ae6ae61
    chore(router): match method added to routergroup for multiple HTTP methods supporting (#3464) Alireza (Pure) 2023-02-06 11:16:42 +03:30
  • 7019960099
    add supprt for go1.20 http.rwUnwrapper to gin.responseWriter davidmdm 2023-02-04 13:56:57 -05:00
  • 9ce3d65a11 make default value in GetQueryBool true, return error in QueryBool iliya 2023-02-04 12:28:23 +03:30
  • 72f42b88a4 feature: add ShouldBindForm function iliya 2023-02-04 12:06:00 +03:30
  • d2415e54db
    Trea http.ErrAbortHandler as broken pipe adshield-joon 2023-02-02 15:31:58 -05:00
  • 12a2d63d97 Surround the go version parameters with single quotes mstmdev 2023-02-02 12:53:51 +08:00
  • f99108123a chore(go): Add support go 1.20 mstmdev 2023-02-02 12:38:28 +08:00
  • c5fd06361b
    chore(deps): bump github.com/go-playground/validator/v10 (#3482) dependabot[bot] 2023-01-31 19:53:45 +08:00
  • ea17875035
    chore(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#3478) dependabot[bot] 2023-01-31 19:53:10 +08:00
  • 9c84fa9078
    chore(deps): bump github.com/go-playground/validator/v10 dependabot[bot] 2023-01-30 22:03:38 +00:00
  • 8e7df33dd6
    gin.Context: check key type on calling Value when key is 0 Ali Josie 2023-01-30 14:02:10 +01:00
  • 2cf4ce1085 feature: add BindForm function iliya 2023-01-27 20:45:14 +03:30
  • 4f9dabc72c
    chore(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 dependabot[bot] 2023-01-23 22:02:34 +00:00
  • 25fc61102d refactor: use bytes.ReplaceAll directly lgbgbl 2022-12-31 18:16:35 +08:00
  • b2d4185eec
    Replace bytes.Buffer with strings.Builder where appropriate (#3347) hopehook 2023-01-20 09:51:42 +08:00
  • c7ffdfc15e copyright illia 2023-01-17 17:09:55 +02:00
  • 8cd11c82e4
    chore(docs): Remove the Brigade project, because the Gin is no longer used in the latest version and the Brigade is an archived CNCF project now (#3378) mstmdev 2023-01-17 14:26:27 +08:00
  • 1660995a04
    Adjust the position of some functions (#3385) Heliner 2023-01-17 14:23:54 +08:00
  • 6052c12217 docs(readme): release v1.9.0 version thinkerou 2023-01-17 14:18:15 +08:00
  • 97082f8acc
    chore(deps): bump github.com/bytedance/sonic from 1.6.1 to 1.7.0 (#3473) dependabot[bot] 2023-01-17 09:58:28 +08:00
  • baa66fa306
    chore(deps): bump github.com/bytedance/sonic from 1.6.1 to 1.7.0 dependabot[bot] 2023-01-16 22:03:05 +00:00
  • 7cb151bb4c
    fix(context): panic on NegotiateFormat - index out of range (#3397) adrianiacobghiula 2023-01-16 15:50:07 +01:00
  • 2e41772d61 feature: write query bool parser for query parameters. iliya 2023-01-15 17:17:18 +03:30
  • f32da2dc73 Renamed panic render to render in context test eeonevision 2023-01-10 16:09:18 +03:00
  • 9a45526592 Fixed error handling in context render eeonevision 2023-01-10 16:00:46 +03:00
  • d0b7ad21ce Fixed json renderer eeonevision 2023-01-10 15:50:02 +03:00
  • 3dea0bc95b Merge remote-tracking branch 'upstream/master' eeonevision 2023-01-10 15:41:41 +03:00
  • 63df1c75a0
    Merge c2268830431c0d13fb2c0d8ec46de6f375e31e1f into 3010cbd7f4eccdbb610c510274895e083b8c058c Yuki Igarashi 2023-01-10 19:05:30 +09:00