3.12.0.txt

doc/release_notes/3.12.0.txt
Last Update: 2018-09-14 09:44:36 -0700

New Features

  • A common_logger plugin has been added for common log support. This offers about 30% better performance than Rack::CommonLogger, with the following differences:

    • When timing requests, doesn't consider middleware or proxy the body, so timing information is just the time that Roda takes to process the request.

    • Only looks for “Content-Length” as a header, not different capitalizations (Roda only uses “Content-Length” internally).

    • Logs to $stderr instead of rack.errors in request environment if a logger object is not explicitly passed.

Other Improvements

  • Internal before/after hook methods now use more descriptive names for easier debugging, with a naming format designed to not conflict with hook methods in external plugins.