Minimal, extremely fast, lightweight Ruby framework for HTTP APIs.
- [Sean Collins] Official support for Ruby 3.3 & 3.4
- [Sean Collins] Drop support for Ruby 3.1
- [Luca Guidi] Official support for Ruby 3.1 & 3.2
- [Thomas Jachmann] Streamed responses
- [Luca Guidi] Introduce
Hanami::API.helpersto define helper methods to be used in route blocks - [Luca Guidi] Introduce
Hanami::API#to_inspectto inspect app routes
- [Luca Guidi] Drop support for Ruby 2.7
- [Luca Guidi] Official support for Ruby: MRI 3.0
- [Luca Guidi] Introduce
Hanami::API::DSLwhich gives the ability to other Ruby web frameworks to use theHanami::APIDSL
- [Luca Guidi] Ensure to be able to instantiate an
Hanami::APIapp multiple times
- [Luca Guidi] Ensure Rack middleware to be mounted in scopes without a leading slash
- [Luca Guidi] Ensure nested scopes to use the given middleware stack
- [Luca Guidi] Ensure nested scopes to inherit middleware from outer scopes
- [Luca Guidi] Allow to use Rack middleware with scope visibility
- [Luca Guidi] Block syntax: introduced
jsonto render JSON response body - [Luca Guidi] Block syntax: introduced
redirectto perform HTTP redirect - [Luca Guidi] Block syntax: introduced
haltto interrupt the execution flow and return a HTTP status and body - [Luca Guidi] Block syntax: introduced
status,headers,bodythat act both as getters and setters for the response values - [Luca Guidi] Block syntax: introduced
paramsgetter - [Luca Guidi] Introduced
Hanami::APIsuperclass