amethyst v0.1.3 Release Notes

Release Date: 2015-06-18 // over 6 years ago
  • What's new:

    • 0๏ธโƒฃ default routes for controllers - if Amethyst didn't find regular route, it will try to handle default one - /:controller/:action
    • ๐Ÿ‘Œ improve and optimize cookies support
    • introduce params - all params(GET, POST, path) in one place
    • params (also query_parameters, request_parameters and path_parameters)keys can be Symbol or String - it is no matter from now(params["id"] == params[:id])
    • โž• add has_keys?(Array) for parameters. If at least one key is missing, it will return false
    • โž• add HttpMethodNotAllowed and HttpNotImplemented Exceptions. In production mode, they will be turned to HttpNotFound error page.
    • ๐Ÿ›  fix HttpException raising in controllers
    • ๐Ÿ›  fix bug with empty values of parameters. Now, by default, all unsetted parameters will be empty string( for example, if controller invoked with path, params will be "", not nil , thanks to @bararchy
    • ๐Ÿ›  fix scope bug when require "amethyst", thanks to @paa001
    • ๐Ÿ‘Œ improve and add more specs