Releases: xgfone/ship
Releases · xgfone/ship
v5.3.1
Fixed:
echo.Router
maybe panics when using non-standard HTTP methods.
v5.3.0
Added:
echo.Router
supports non-standard http methods. #18
v5.2.1
Fixed:
BindURLValuesAndFiles
supports the exported anonymous struct field.
v5.2.0
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
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
Fixed:
Fix the messy code of the non-ASCII filename of the attachment in iOS.
v5.1.2
Fixed:
Context.JSON
and Context.XML
work correctly on the invalid json
or xml
data.
v5.1.1
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
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
Fixed:
Runner
: Log the shutdown when the runner is stopped.
You can’t perform that action at this time.