All Versions
26
Latest Version
Avg Release Cycle
16 days
Latest Release
1375 days ago

Changelog History
Page 1

  • v4.1.3 Changes

    July 14, 2020

    [minor] added webgo.ResponseStatus(rw http.ResponseWriter) int which returns response status code
    ๐Ÿ›  [patch] fixed a bug which did not send appropriate JSON response header for the convenience methods
    ๐Ÿ–จ [patch] fixed accesslog middleware not printing valid http status code when not using webgo response methods
    0๏ธโƒฃ [patch] fixed regression introduced in 4.0.4, where default http status was 0, now it's set to 200
    ๐Ÿ”จ [patch] refactored accesslog & CORS middleware (moved to new package)
    ๐Ÿ”จ [patch] refactored global logger for improved modularity
    ๐Ÿšš [patch] Removed unnecessary WriteHeader from SendResponse, SendError. Added relevant header write for Send
    [-] added handler which directly writes using w.Write where 'w' is the http.ResponseWriter, in cmd/main.go
    โœ… [-] added tests for logger
    ๐ŸŽ [-] no performance impact with these changes
    ๐Ÿšš [-] removed the empty deprecation logs function
    ๐Ÿšš [-] removed unwanted comments from cmd/main.go
    โšก๏ธ [-] updated README with correct version number & updated important section highlight the regression
    โšก๏ธ [-] updated README with correct version number and updated the sample code
    โšก๏ธ [-] updated tests to test if w.Write([]byte) where 'w' is the http.ResponseWriter, works as expected

  • v4.1.1

    June 09, 2020
  • v4.0.7

    June 07, 2020
  • v4.0.6

    June 07, 2020
  • v4.0.4 Changes

    June 06, 2020

    [patch] added http.CloseNotifier implementation
    ๐Ÿ”จ [patch] refactored response writer and context payload usage
    ๐Ÿšš [patch] removed ineffectual assignments
    ๐Ÿšš [patch] removed redundant check of customResponseWriter.headerWritten
    โœ๏ธ [-] fixed typos in comments
    ๐Ÿ”จ [-] refactored for better readability at multiple places

    [-] MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports), OS: 10.15.5 (19F101), Go 1.14.4 darwin/amd64
    [-] benchmark results

            BenchmarkGetNoParams-8 809166 1433 ns/op
            BenchmarkGetWithParams-8 229358 4878 ns/op
            BenchmarkPostWithParams-8 204218 4904 ns/op
    
  • v4.0.3

    June 06, 2020
  • v4.0.1

    June 05, 2020
  • v4.0.0 Changes

    June 04, 2020

    v4.0.0

    ๐Ÿšš [major] removed deprecations from 3.x
    ๐Ÿ”จ [patch] refactored context payload remove unused fields
    [patch] introduced new Params function for fetching URI parameters
    [-] regression introduced in 3.5.4, for URI params computing. Was computing escaped values again, when r.URL.EscapedPath() already gives escaped value
    โšก๏ธ [-] README updated with new verison number & details
    ๐Ÿš€ [-] releasenotes.md was removed in favour of git tag messages & github releases
    [-] benchmark results, run on MacbookPro 2019, Catalina 10.15.5 (19F101), 16 GB 2133 MHz LPDDR3, 1.4 GHz Quad-Core Intel Core i5

     BenchmarkGetNoParams-8 741256 1606 ns/op BenchmarkGetWithParams-8 223771 5062 ns/op BenchmarkPostWithParams-8 220663 5131 ns/op
    
  • v3.5.4 Changes

    June 03, 2020

    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!

  • v3.4.2

    May 26, 2020