Skip to content

Releases: xgfone/ship

v5.3.1

10 Feb 01:50
Compare
Choose a tag to compare
  • Fixed:
    • echo.Router maybe panics when using non-standard HTTP methods.

v5.3.0

09 Feb 12:28
Compare
Choose a tag to compare
  • Added:
    • echo.Router supports non-standard http methods. #18

v5.2.1

13 Sep 02:50
Compare
Choose a tag to compare
  • Fixed:
    • BindURLValuesAndFiles supports the exported anonymous struct field.

v5.2.0

12 Sep 12:51
Compare
Choose a tag to compare
  • Added:
    • Add BindURLValuesAndFiles to support to bind the values of type *multipart.FileHeader.
    • The form binder FormBinder uses BindURLValuesAndFiles instead of BindURLValues to support *multipart.FileHeader.

v5.1.4

09 Sep 02:04
Compare
Choose a tag to compare
  • Fixed:
    • Static and StaticFS also register the static root directory as a route to support the redirect for */index.html. #9
  • Others:
    • Comment the RFC sections for the HTTP header constants. #8
    • Supports to use http handler to implement the middleware.

v5.1.3

30 Dec 13:42
Compare
Choose a tag to compare
  • Fixed:
    • Fix the messy code of the non-ASCII filename of the attachment in iOS.

v5.1.2

29 Dec 13:45
Compare
Choose a tag to compare
  • Fixed:
    • Context.JSON and Context.XML work correctly on the invalid json or xml data.

v5.1.1

23 Nov 07:45
Compare
Choose a tag to compare
  • Fixed:
    • BindURLValues supports the unexported embedded anonymous struct, for example, #4
      type person struct {
           Name string `query:"name" form:"name"`
           Age  int    `query:"age"  form:"age"`
      }
      
      type Student struct {
           person
      
           School string `query:"school" form:"school"`
           Grade  int    `query:"grade"  form:"grade"`
      }

v5.1.0

12 Nov 13:34
Compare
Choose a tag to compare
  • Added:
    • The url value binder BindURLValues supports the types of time.Time and time.Duration. #3
  • Others:
    • The server runner Runner will watch the change of the certificate files and reload them.
    • The route group may not be start with /, which will be added automatically.
    • Use GitHub Actions instead of Travis to run the unit tests.

v5.0.1

08 Aug 04:49
Compare
Choose a tag to compare
  • Fixed:
    • Runner: Log the shutdown when the runner is stopped.