PackageTrack

Go modules · #2436

github.com/teambition/gear

v1.27.3teambition/gear

Release timeline

184 releases since 2016
20182020202220242026

Releases

  1. v1.27.4-0.20240419153608-183e49112fcd19 Apr 2024pre-release

    Nothing published for this version

  2. v1.27.4-0.20231011233938-1d2489a357c511 Oct 2023pre-release

    Nothing published for this version

  3. v1.27.38 Aug 2023
    Release notes

    Add gear.ThresholdCompress instead of `github.com/teambition/compre…

    Open source →
    Additional notes2 sources agree

    Changed:

    • Add gear.ThresholdCompress instead of github.com/teambition/compressible-go.
    • Update dependencies.
    Open source →
  4. v1.27.3-0.20230808143006-e044e813712e8 Aug 2023pre-release

    Nothing published for this version

  5. v1.27.210 Jul 2023
    Release notes

    Update readme for install cmd

    Open source →
    Additional notes2 sources agree

    Changed:

    • Add gearproxy as example.
    Open source →
  6. v1.27.2-0.20230710023313-17cc7bb8be4b10 Jul 2023pre-release

    Nothing published for this version

  7. v1.27.2-0.20230709164411-aae3e213341c9 Jul 2023pre-release

    Nothing published for this version

  8. v1.27.2-0.20230709163408-1cec3993ceaa9 Jul 2023pre-release

    Nothing published for this version

  9. v1.27.14 Jul 2023
    Release notes
    • Add a const MIMEApplicationCBOR.
    Open source →
    Additional notes2 sources agree

    Changed:

    • Update dependencies.
    • Add a const MIMEApplicationCBOR.
    Open source →
  10. v1.27.1-0.20230704025443-0c132b2a84514 Jul 2023pre-release

    Nothing published for this version

  11. v1.27.1-0.20230509094042-d2096c8557989 May 2023pre-release

    Nothing published for this version

  12. v1.27.013 Jan 2023
    Release notes2 sources agree

    Changed:

    • Improve gear.Context with generics.
    • Add gear.State for passing information through middleware and handlers.
    • Add functions:
      • func CtxWith[T any](parent context.Context, v *T) context.Context
      • func CtxValue[T any](ctx context.Context) *T
      • func CtxDoIf[T any, TI isValid[T]](ctx context.Context, fn func(v *T))

    Fixed:

    • Fix gear.ValuesToStruct for slice type.
    Open source →
  13. v1.27.0-beta12 Jan 2023pre-release
    Release notes

    fix test on github workflow

    Open source →
  14. v1.26.1-0.20230112092856-b70cfc24447012 Jan 2023pre-release

    Nothing published for this version

  15. v1.26.1-0.20230112090306-0c2f7476726612 Jan 2023pre-release

    Nothing published for this version

  16. v1.26.1-0.20230112085351-76f539fcc59212 Jan 2023pre-release

    Nothing published for this version

  17. v1.26.1-0.20230106111824-20c4c96220e26 Jan 2023pre-release

    Nothing published for this version

  18. v1.26.1-0.20230106110729-bbaade5c5e706 Jan 2023pre-release

    Nothing published for this version

  19. v1.26.1-0.20221212072554-e1f34869ed9412 Dec 2022pre-release

    Nothing published for this version

  20. v1.26.1-0.20221212065642-ea562f757a8112 Dec 2022pre-release

    Nothing published for this version

  21. v1.26.030 Jun 2022
    Release notes2 sources agree

    Changed:

    • Support h2c, the non-TLS version of HTTP/2
    Open source →
  22. v1.25.16 Feb 2022
    Release notes

    Fix favicon middleware.

    Open source →
    Additional notes2 sources agree

    Fixed:

    • Fix favicon middleware.
    Open source →
  23. v1.25.010 Sept 2021
    Release notes

    update trie-mux mod for issue #54. Your routing may be affected!

    Open source →
    Additional notes2 sources agree

    Changed:

    • update trie-mux mod for issue #54. Your routing may be affected!
    Open source →
  24. v1.24.210 Sept 2021
    Release notes

    update trie-mux mod; add Log.KV method.

    Open source →
    Additional notes2 sources agree

    Changed:

    • update trie-mux.
    • add Log.KV method.
    Open source →
  25. v1.24.111 Jun 2021
    Release notes

    add SetGraceTimeout option; clear mod

    Open source →
    Additional notes2 sources agree

    Changed:

    • add SetGraceTimeout option.
    • clear mod.
    Open source →
  26. v1.24.03 Feb 2021
    Release notes2 sources agree

    Changed:

    • Remove ctx.Get and ctx.Set methods.
    • Change Log structure fields: "time" -> "duration"; "timestamp" -> "time".
    Open source →
  27. v1.23.07 Jan 2021
    Release notes2 sources agree

    Changed:

    • Add app.ServeWithContext method.
    Open source →
  28. v1.22.012 Nov 2020
    Release notes2 sources agree

    Changed:

    • Update dependence.
    Open source →
  29. v1.21.725 Sept 2020
    Release notes2 sources agree

    Changed:

    • Add gear.MIMEApplicationSchemaGraphQL constant.
    • Enlarge Error' Stack trace buffer size.

    Fixed:

    • Fix ctx.ParseBody' error code.
    Open source →
  30. v1.21.628 Aug 2020
    Release notes2 sources agree

    Changed:

    • Add gear.ErrorResponse struct that represents error response like JSON-RPC2 or Google cloud API.
    • Add gear.RenderErrorResponse function that render error with ErrorResponse struct.

    Fixed:

    • Fix default SetRenderError function.
    • Fix xCanary field in logging middleware.
    Open source →
  31. v1.21.514 Aug 2020
    Release notes2 sources agree

    Changed:

    • Add gear.SetRenderError hook that convert error to raw response.
    • Add gear.MIMEApplicationSchemaJSONLD MIME type.
    Open source →
  32. v1.21.45 Aug 2020
    Release notes2 sources agree

    Changed:

    • Add default ReadHeaderTimeout, ReadTimeout, WriteTimeout and IdleTimeout for Server.
    Open source →
  33. v1.21.331 Jul 2020
    Release notes2 sources agree

    Fixed:

    • Fix ctx.ParseURL for empty query.
    Open source →
  34. v1.21.214 May 2020
    Release notes2 sources agree

    Fixed:

    • Fix ctx.WithContext: sets the context to underlying request object.
    Open source →
  35. v1.21.128 Mar 2020
    Release notes2 sources agree

    Changed:

    • Add ctx.Scheme() instead of ctx.Protocol().

    Fixed:

    • Fix ctx.Protocol() and ctx.IP() for proxy.
    Open source →
  36. v1.21.024 Mar 2020
    Release notes2 sources agree

    Changed:

    • Add request body and response body to access log when 500 error.

    Fixed:

    • Fix start time error for development logging.
    Open source →
  37. v1.20.024 Mar 2020
    Release notes2 sources agree

    Changed:

    • Add "X-Canary" Header.
    • Add ctx.StartAt property.
    • Add ctx.GetHeaders method.
    Open source →
  38. v1.19.029 Feb 2020
    Release notes2 sources agree

    Changed:

    • Add gear.App.ListenWithContext method.
    • Add gear.ContextWithSignal function.
    • Add logging.SetLoggerLevel function.
    Open source →
  39. v1.18.023 Feb 2020
    Release notes2 sources agree

    Changed:

    • Improve misdirected response with message (421).

    Fixed:

    • Fix error's stack.
    Open source →
  40. v1.17.123 Dec 2019
    Release notes2 sources agree

    Fixed:

    • Fix error's stack.
    Open source →
  41. v1.17.03 Sept 2019
    Release notes2 sources agree

    Changed:

    • Remove "application/x-www-form-urlencoded" supporting from DefaultBodyParser.
    Open source →
  42. v1.16.229 Jul 2019
    Release notes2 sources agree

    Fixed:

    • Fix logging middleware: fix time format.
    • Fix logging middleware: change severity level to lowercase (https://en.wikipedia.org/wiki/Syslog).
    Open source →
  43. v1.16.125 Jul 2019
    Release notes2 sources agree

    Fixed:

    • Fix logging middleware: support JSON log.
    Open source →
  44. v1.16.024 Jul 2019
    Release notes2 sources agree

    Changed:

    • Update logging middleware: support JSON log.
    Open source →
  45. v1.15.43 Jul 2019
    Release notes2 sources agree

    Fixed:

    • Fix DefaultBodyParser's mediaType.
    Open source →
  46. v1.15.313 Jun 2019
    Release notes2 sources agree

    Fixed:

    • Allow add "after hook" and "end hook" after context ended but before header wrote.
    Open source →
  47. v1.15.25 Apr 2019
    Release notes2 sources agree

    Fixed:

    • Panic in "end hook" will be recovered.
    Open source →
  48. v1.15.17 Feb 2019
    Release notes2 sources agree

    Fixed:

    • Fix gear.Response https://github.com/teambition/gear/issues/49
    Open source →
  49. v1.15.013 Jan 2019
    Release notes2 sources agree

    Changed:

    • Remove 501 Not Implemented for gear.Router.
    Open source →
  50. v1.14.110 Jan 2019
    Release notes2 sources agree

    Changed:

    • Update logging middleware: add more log info.
    Open source →
  51. v1.14.08 Jan 2019
    Release notes2 sources agree

    Changed:

    • Add ctx.OkHTML, ctx.OkJSON, ctx.OkXML, ctx.OkSend, ctx.OkRender, ctx.OkStream
    Open source →
  52. v1.13.127 Dec 2018
    Release notes2 sources agree

    Fixed:

    • Fix and improve ctx.ParseURL
    Open source →
  53. v1.13.02 Dec 2018
    Release notes2 sources agree

    Changed:

    • Add go.mod
    Open source →
  54. v1.12.221 Sept 2018
    Release notes2 sources agree

    Changed:

    • Add GetRouterPatternFromCtx function
    Open source →
  55. v1.12.125 Jul 2018
    Release notes2 sources agree

    Changed:

    • Add x-request-XXX to header filter whitelist
    Open source →
  56. v1.12.06 Jul 2018
    Release notes2 sources agree

    Fixed:

    • Fix gear.SetOnError hook.

    Changed:

    • ctx.Error and ctx.ErrorStatus will not trigger gear.SetOnError hook now.
    • Add gear.SetParseError hook.
    Open source →
  57. v1.11.020 Jun 2018
    Release notes2 sources agree

    Changed:

    • Add requestid middleware.
    • Improve json error message.
    Open source →
  58. v1.10.115 Jun 2018
    Release notes2 sources agree

    Changed:

    • Add ParseLevel function to logging middleware.
    Open source →
  59. v1.10.08 Jun 2018
    Release notes2 sources agree

    Changed:

    • Add MIMEApplicationYAML (for OpenAPI 3) and MIMEApplicationTOML, remove MIMEApplicationMsgpack.
    Open source →
  60. v1.9.1315 May 2018
    Release notes2 sources agree

    Changed:

    • Improve error message for gear.Router.
    Open source →