Colossus v0.10.0 Release Notes

Release Date: 2017-10-18 // almost 3 years ago
  • To migration from 0.9.x to 0.10.x:

    📦 Package namespace changes, a non-exhausted list:

    • colossus.protocols.http.server.HttpServer => colossus.protocols.http.HttpServer
    • colossus.protocols.http.server.Initializer => colossus.protocols.http.Initializer
    • colossus.protocols.http.server.RequestHandler => colossus.protocols.http.RequestHandler
    • colosuss.metrics.LoggerSender => colosuss.metrics.senders.LoggerSender

    - colosuss.metrics.OpenTsdbSender => colosuss.metrics.senders.OpenTsdbSender

    🚚 Content type removed from HttpBody and is now correctly accessible as a HttpHeader. For example:

    request.ok(HttpBody("text", HttpHeader("content-type", "application/json")))
    

    Becomes

    request.ok(HttpBody("text")).withContentType(ContentType.ApplicationJson)