WebGo v3.5.4 Release Notes

Release Date: 2020-06-03 // almost 4 years ago
  • v3.5.4

    Chances since v2.4.1

    v3.5.4, Wed Jun 3 17:32:37 2020 +0530

    🔊 [minor] deprecation logs are now printed while initial setup (list available in Readme)
    🌲 [patch] Send,SendResponse,Render methods would log and respond with Internal server error in case of errors while writing response
    🔨 [patch] refactored route.init method to reduce cognitive complexity & to smaller functions
    🐎 [patch] refactored URI matching methods to reduce cognitive complexity, to smaller functions & minor performance improvement
    🗄 [patch] introduced new function ContextPayload.URIParams(*http.Request), deprecated ContextPayload.Params
    ⚡️ [-] updated contribution.md


    v3.4.2, Wed May 27 00:59:26 2020 +0530

    🐎 [minor] refactored serve method to reduce cyclomatic complexity. This provides performance improvement
    ⚡️ [patch] updated go.mod file to use Go version 1.14
    ⚡️ [patch] updated travis config to remove go version from go.mod


    v3.3.3, Wed May 13 17:43:44 2020 +0530

    🔧 [patch] added function to allow configuration of default logger


    v3.3.2, Wed May 13 03:18:02 2020 +0530

    🌲 [patch] duplicate route name log is made into a "info" log instead of warn
    ⚡️ [patch] updated README with valid code


    v3.3.0, Tue Jan 28 09:55:41 2020 +0530

    [minor] Implemented http.Hijacker interface


    v3.2.9, Fri Jan 24 18:24:30 2020 +0530

    ⚡️ [patch] updated how middleware is used on NotFound & NotImplemented handlers


    v3.2.8, Fri Jan 24 16:57:25 2020 +0530

    🔨 [patch] refactored for better readability
    [patch] overwriting the actual request instance
    ✅ [patch] added test to check if webgo context is avaialble in middleware


    v3.2.5, Fri Jan 24 16:42:04 2020 +0530

    ⚡️ [patch] updated ServeHTTP to inject webgo context into the request earlier, to make it available to middleware as well


    v3.2.4, Sat Jan 18 18:56:36 2020 +0530

    🚚 [patch] removed some variable declaration to avoid memory allocation
    ⚡️ [patch] updated sample app to show chaining


    v3.2.2, Sat Jan 18 16:41:55 2020 +0530

    ⚡️ [patch] minor updates to tests and sample app


    v3.2.1, Fri Jan 17 19:18:18 2020 +0530

    [minor] middleware will now be excecuted for the router's NotFound handler as well
    [minor] Method not implemented status is now executed using a handler similar to NotFound
    ⚡️ [patch] updated responses test to use t.Error instead of Log & Fail


    v3.0.2, Sun Oct 6 00:50:29 2019 +0530

    ⚡️ updated test to use v3


    v3.0.1, Sun Oct 6 00:37:10 2019 +0530

    ⚡️ middleware package updated


    v3.0.0, Sun Oct 6 00:35:15 2019 +0530

    ⚡️ context payload updated


    v2.5.3, Sat Oct 5 22:14:01 2019 +0530

    📚 documentation update


    v2.5.2, Thu Sep 5 10:11:24 2019 +0530

    🛠 fixed go.mod


    v2.5.1, Thu Sep 5 10:09:55 2019 +0530

    🛠 fixed go.mod v2


    v2.5.0, Wed Jul 3 17:24:26 2019 +0530

    Webgo context is now available inside middleware too!