Hanami v0.2.0 Release Notes

Release Date: 2014-06-23 // almost 10 years ago
  • โž• Added

    • ๐Ÿ‘ [Luca Guidi] Introduced lotus new as a command to generate projects. It supports "container" architecture for now.
    • [Luca Guidi] Show a welcome page when one mounted Lotus application doesn't have routes
    • ๐Ÿ’Ž [Luca Guidi] Introduced Lotus::Application.preload! to preload all the Lotus applications in a given Ruby process. (Bulk Lotus::Application.load!)
    • ๐Ÿ’ป [Trung Lรช] Allow browsers to fake non GET/POST requests via Rack::MethodOverride
    • ๐Ÿ”ง [Josue Abreu] Allow to define body parses for non GET HTTP requests (body_parsers configuration)
    • ๐Ÿ”ง [Alfonso Uceda Pompa] Allow to toggle static assets serving (serve_assets configuration)
    • ๐Ÿ”ง [Alfonso Uceda Pompa] Allow to serve assets from multiple sources (assets configuration)
    • ๐Ÿ”ง [Luca Guidi] Allow to configure ENV vars with per environment .env files
    • [Alfonso Uceda Pompa] Introduced lotus routes command
    • ๐Ÿ”ง [Luca Guidi] Allow to configure low level settings for MVC frameworks (model, view and controller configuration)
    • [Luca Guidi] Introduced Lotus::Container
    • [Trung Lรช] Include Lotus::Presenter as part of the duplicated modules
    • [Trung Lรช] Include Lotus::Entity and Lotus::Repository as part of the duplicated modules
    • [Luca Guidi] Introduced code reloading for lotus server
    • ๐Ÿ”ง [Trung Lรช] Allow to configure database adapter (adapter configuration)
    • ๐Ÿ”ง [Luca Guidi & Trung Lรช] Allow to configure database mapping (mapping configuration)
    • [Piotr Kurek] Introduced custom templates for non successful responses
    • ๐Ÿ”ง [Luca Guidi] Allow to configure exceptions handling (handle_exceptions configuration)
    • ๐Ÿ”ง [Michal Muskala] Allow to configure sessions (sessions configuration)
    • ๐Ÿ”ง [Josue Abreu] Allow to configure cookies (cookies configuration)
    • ๐Ÿ”ง [Piotr Kurek] Allow to yield multiple configurations per application, according to the current environment
    • ๐Ÿ”ง [David Celis] Allow to configure Rack middleware stack (middleware configuration)
    • ๐Ÿ”ง [David Celis] Introduced lotus console command. It runs the REPL configured in Gemfile (eg. pry or ripl). Defaults to IRb.
    • [Luca Guidi] Introduced Lotus::Environment which holds the informations about the current environment, and CLI arguments
    • ๐Ÿ”ง [Luca Guidi] Introduced Lotus::Application.load! to load and configure an application without requiring user defined code (controllers, views, etc.)
    • 0๏ธโƒฃ [Leonard Garvey] Introduced lotus server command. It runs the application with the Rack server declared in Gemfile (eg. puma, thin, unicorn). It defaults to WEBRick.
    • ๐Ÿ‘ [Luca Guidi] Official support for MRI 2.1 and 2.2

    ๐Ÿ”„ Changed

    • ๐Ÿ”ง [Alfonso Uceda Pompa] Changed semantic of assets configuration. Now it's only used to set the sources for the assets. Static serving assets has now a new configuration: serve_assets.

    ๐Ÿ›  Fixed

    • [Luca Guidi] Ensure HEAD requests return empty body