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. (BulkLotus::Application.load!
) - ๐ป [Trung Lรช] Allow browsers to fake non
GET
/POST
requests viaRack::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
andcontroller
configuration) - [Luca Guidi] Introduced
Lotus::Container
- [Trung Lรช] Include
Lotus::Presenter
as part of the duplicated modules - [Trung Lรช] Include
Lotus::Entity
andLotus::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 inGemfile
(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 inGemfile
(eg. puma, thin, unicorn). It defaults toWEBRick
. - ๐ [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
- ๐ [Luca Guidi] Introduced