PackageTrack
Sign in Get early access

github.com/teambition/gear

v1.27.3 #2436 most downloaded on Go modules teambition/gear

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 4 months

Most releases are documented

notes for 105 of 153 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

184 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

184 releases · Oct 2016 to Apr 2024
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 184
  1. v1.27.4-0.20240419153608-183e49112fcd 19 Apr 2024 pre-release

    Nothing published for this version

  2. v1.27.4-0.20231011233938-1d2489a357c5 11 Oct 2023 pre-release

    Nothing published for this version

  3. v1.27.3 08 Aug 2023
    Release notes

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

    Open source →
    Release notes

    Changed:

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

    Nothing published for this version

  5. v1.27.2 10 Jul 2023
    Release notes

    Update readme for install cmd

    Open source →
    Release notes

    Changed:

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

    Nothing published for this version

  7. v1.27.2-0.20230709164411-aae3e213341c 09 Jul 2023 pre-release

    Nothing published for this version

  8. v1.27.2-0.20230709163408-1cec3993ceaa 09 Jul 2023 pre-release

    Nothing published for this version

  9. v1.27.1 04 Jul 2023
    Release notes
    • Add a const MIMEApplicationCBOR.
    Open source →
    Release notes

    Changed:

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

    Nothing published for this version

  11. v1.27.1-0.20230509094042-d2096c855798 09 May 2023 pre-release

    Nothing published for this version

  12. v1.27.0 13 Jan 2023
    Release notes

    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-beta 12 Jan 2023 pre-release
    Release notes

    fix test on github workflow

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

    Nothing published for this version

  15. v1.26.1-0.20230112090306-0c2f74767266 12 Jan 2023 pre-release

    Nothing published for this version

  16. v1.26.1-0.20230112085351-76f539fcc592 12 Jan 2023 pre-release

    Nothing published for this version

  17. v1.26.1-0.20230106111824-20c4c96220e2 06 Jan 2023 pre-release

    Nothing published for this version

  18. v1.26.1-0.20230106110729-bbaade5c5e70 06 Jan 2023 pre-release

    Nothing published for this version

  19. v1.26.1-0.20221212072554-e1f34869ed94 12 Dec 2022 pre-release

    Nothing published for this version

  20. v1.26.1-0.20221212065642-ea562f757a81 12 Dec 2022 pre-release

    Nothing published for this version

  21. v1.26.0 30 Jun 2022
    Release notes

    Changed:

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

    Fix favicon middleware.

    Open source →
    Release notes

    Fixed:

    • Fix favicon middleware.
    Open source →
  23. v1.25.0 10 Sep 2021
    Release notes

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

    Open source →
    Release notes

    Changed:

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

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

    Open source →
    Release notes

    Changed:

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

    add SetGraceTimeout option; clear mod

    Open source →
    Release notes

    Changed:

    • add SetGraceTimeout option.
    • clear mod.
    Open source →
  26. v1.24.0 03 Feb 2021
    Release notes

    Changed:

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

    Changed:

    • Add app.ServeWithContext method.
    Open source →
  28. v1.22.0 12 Nov 2020
    Release notes

    Changed:

    • Update dependence.
    Open source →
  29. v1.21.7 25 Sep 2020
    Release notes

    Changed:

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

    Fixed:

    • Fix ctx.ParseBody' error code.
    Open source →
  30. v1.21.6 28 Aug 2020
    Release notes

    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.5 14 Aug 2020
    Release notes

    Changed:

    • Add gear.SetRenderError hook that convert error to raw response.
    • Add gear.MIMEApplicationSchemaJSONLD MIME type.
    Open source →
  32. v1.21.4 05 Aug 2020
    Release notes

    Changed:

    • Add default ReadHeaderTimeout, ReadTimeout, WriteTimeout and IdleTimeout for Server.
    Open source →
  33. v1.21.3 31 Jul 2020
    Release notes

    Fixed:

    • Fix ctx.ParseURL for empty query.
    Open source →
  34. v1.21.2 14 May 2020
    Release notes

    Fixed:

    • Fix ctx.WithContext: sets the context to underlying request object.
    Open source →
  35. v1.21.1 28 Mar 2020
    Release notes

    Changed:

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

    Fixed:

    • Fix ctx.Protocol() and ctx.IP() for proxy.
    Open source →
  36. v1.21.0 24 Mar 2020
    Release notes

    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.0 24 Mar 2020
    Release notes

    Changed:

    • Add "X-Canary" Header.
    • Add ctx.StartAt property.
    • Add ctx.GetHeaders method.
    Open source →
  38. v1.19.0 29 Feb 2020
    Release notes

    Changed:

    • Add gear.App.ListenWithContext method.
    • Add gear.ContextWithSignal function.
    • Add logging.SetLoggerLevel function.
    Open source →
  39. v1.18.0 23 Feb 2020
    Release notes

    Changed:

    • Improve misdirected response with message (421).

    Fixed:

    • Fix error's stack.
    Open source →
  40. v1.17.1 23 Dec 2019
    Release notes

    Fixed:

    • Fix error's stack.
    Open source →
  41. v1.17.0 03 Sep 2019
    Release notes

    Changed:

    • Remove "application/x-www-form-urlencoded" supporting from DefaultBodyParser.
    Open source →
  42. v1.16.2 29 Jul 2019
    Release notes

    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.1 25 Jul 2019
    Release notes

    Fixed:

    • Fix logging middleware: support JSON log.
    Open source →
  44. v1.16.0 24 Jul 2019
    Release notes

    Changed:

    • Update logging middleware: support JSON log.
    Open source →
  45. v1.15.4 03 Jul 2019
    Release notes

    Fixed:

    • Fix DefaultBodyParser's mediaType.
    Open source →
  46. v1.15.3 13 Jun 2019
    Release notes

    Fixed:

    • Allow add "after hook" and "end hook" after context ended but before header wrote.
    Open source →
  47. v1.15.2 05 Apr 2019
    Release notes

    Fixed:

    • Panic in "end hook" will be recovered.
    Open source →
  48. v1.15.1 07 Feb 2019
    Release notes

    Fixed:

    • Fix gear.Response https://github.com/teambition/gear/issues/49
    Open source →
  49. v1.15.0 13 Jan 2019
    Release notes

    Changed:

    • Remove 501 Not Implemented for gear.Router.
    Open source →
  50. v1.14.1 10 Jan 2019
    Release notes

    Changed:

    • Update logging middleware: add more log info.
    Open source →
  51. v1.14.0 08 Jan 2019
    Release notes

    Changed:

    • Add ctx.OkHTML, ctx.OkJSON, ctx.OkXML, ctx.OkSend, ctx.OkRender, ctx.OkStream
    Open source →
  52. v1.13.1 27 Dec 2018
    Release notes

    Fixed:

    • Fix and improve ctx.ParseURL
    Open source →
  53. v1.13.0 02 Dec 2018
    Release notes

    Changed:

    • Add go.mod
    Open source →
  54. v1.12.2 21 Sep 2018
    Release notes

    Changed:

    • Add GetRouterPatternFromCtx function
    Open source →
  55. v1.12.1 25 Jul 2018
    Release notes

    Changed:

    • Add x-request-XXX to header filter whitelist
    Open source →
  56. v1.12.0 06 Jul 2018
    Release notes

    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.0 20 Jun 2018
    Release notes

    Changed:

    • Add requestid middleware.
    • Improve json error message.
    Open source →
  58. v1.10.1 15 Jun 2018
    Release notes

    Changed:

    • Add ParseLevel function to logging middleware.
    Open source →
  59. v1.10.0 08 Jun 2018
    Release notes

    Changed:

    • Add MIMEApplicationYAML (for OpenAPI 3) and MIMEApplicationTOML, remove MIMEApplicationMsgpack.
    Open source →
  60. v1.9.13 15 May 2018
    Release notes

    Changed:

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

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive