All Versions
12
Latest Version
Avg Release Cycle
54 days
Latest Release
1052 days ago

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
      1. Command line arguments
      2. Environment variables
      3. External configuration file in working directory ( $WORK_DIR/config/applicaton.yml)
      4. External configuration file with active profile name as postfix ($WORK_DIR/config/applicaton-${app.profiles.active}.yml)
      5. Calling application method SetProperty()
      6. 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. a value:"/{id:int}/and/{name}" will be injected to annotation at.GetMapping

      func (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 fileapplication.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, and at.Path, see here for more details

      type 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.Path value:"/{id:int}/and/{name}"}, ) (response *UserResponse, err error) { // response response = new(UserResponse) // TODO: implement business logicreturn}

    • โž• Added Ping and Pong callback to WebSocket handler

  • 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