Changelog History
Page 1
-
v1.4.0 Changes
July 22, 2020๐ Release notes
- โ Added annotation at.RequiresPermissions and its examples in middleware
- ๐ Support to get method annotation from hiboot web application context
- โ Clean up unite tests
-
v1.3.1 Changes
January 09, 2020๐ Release notes
- ๐ Fixes the issue that swagger-ui does not work on windows
-
v1.3.0 Changes
October 10, 2019๐ Release Notes
- ๐ Implemented annotation v2 which is supported via struct.
- Implemented Middleware via at.Middleware and at.MiddlewareHandler.
- Implemented Swagger 2.0 and its annotations.
- ๐ Reimplemented property builder, the priority will be
- Command line arguments
- Environment variables
- External configuration file in working directory ( $WORK_DIR/config/applicaton.yml)
- External configuration file with active profile name as postfix ($WORK_DIR/config/applicaton-${app.profiles.active}.yml)
- Calling application method SetProperty()
- Default value that injected by Hiboot via tag
default
-
v1.2.1 Changes
August 24, 2019๐ Release notes
- ๐จ Refactored annotation, all annotations now inherit from at.Annotation
e.g. annotation at.RestController inherit from at.Annotation
// RestController is the annotation that declare current controller is the RESTful Controllertype RestController struct { Annotation}
โ Removed annotation
at.Path
, for request mapping, a value will be injected, no extra at.Path is needed, e.g. avalue:"/{id:int}/and/{name}"
will be injected to annotation at.GetMappingfunc (c *UserController) GetUserByPathVariable(at struct{ at.GetMapping
value:"/{id:int}/and/{name}"
}, id int, name string) (response *UserResponse, err error) { // TODO: add your business logic herereturn}
-
v1.2.0 Changes
August 07, 2019๐ Release Notes
- ๐ Support customized server context path, it can be configured in config file
application.yml
e.g.
server: context\_path: /my-app
๐ Support customized HTTP router annotations
at.RequestMapping
,at.GetMapping
,at.PostMapping
,at.PutMapping
,at.DeleteMapping
,at.Method
, andat.Path
, see here for more detailstype UserController struct { // at.RestController or at.RestController must be embedded here at.RestController// then Hiboot will inject /user to UserController.RequestMapping at.RequestMapping
value:"/user"
}func (c *UserController) Get( id int, name string, at struct{at.GetMapping; at.Pathvalue:"/{id:int}/and/{name}"
}, ) (response *UserResponse, err error) { // response response = new(UserResponse) // TODO: implement business logicreturn}โ Added Ping and Pong callback to WebSocket handler
- ๐ Support customized server context path, it can be configured in config file
-
v1.1.1 Changes
July 23, 2019๐ Release notes
- ๐ fixes the issue that integer does not inject to value tag.
- ๐ fixes the issue that idgen does not work for some mac address.
-
v1.1.0 Changes
April 27, 2019๐ Release Notes
- ๐ Implemented jaeger starter and examples, now Hiboot supports open tracing
- โ Added app.version property
- 0๏ธโฃ Implemented default application property setter
- ๐ Fixed the issue that default property does not work properly
- 0๏ธโฃ Implemented HTTP client starter and added default HTTP client
- ๐ Fixed the issue that request instance is reused which will cause failure on concurrent requests
- ๐ Fixed the issue that log is disabled on go test.
-
v1.0.4 Changes
March 12, 2019๐ Release Notes
- โ Added replace directive to go mod
-
v1.0.3 Changes
February 11, 2019๐ Release Notes
- ๐ Fixes the issue that the wrong context is injected to controller method on high concurrency sometimes.
-
v1.0.2 Changes
February 09, 2019๐ Release Notes
- ๐ Fixes issue #64 concurrent map writes error