All Versions
12
Latest Version
Avg Release Cycle
54 days
Latest Release
795 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