Skip to content

Releases: amethyst-framework/amethyst

v0.1.7

01 Jul 17:27
Compare
Choose a tag to compare

What's new:

  • Totally new views - now without manual arguments specifying - all controller's instance variables can be acessed as a local in views.
  • Add before_action macros - now you can specify filters for actions
  • Application classes now can be placed into the modules
  • Now you can specify static dirs
  • Add secure, httponly, path and domain options for response.cookie
  • Add Session::Pool (thanks to @bararchy )
  • Add button_to method for views
  • Fix whole bunch of bugs (thanks to @bararchy for encountering and opening issues)
  • Improve perfomance (thanks to @bararchy )

v0.1.3

18 Jun 19:36
Compare
Choose a tag to compare

What's new:

  • 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 example.com?id=5&name=, params will be "", not nil , thanks to @bararchy
  • fix scope bug when require "amethyst", thanks to @paa001
  • improve and add more specs

v0.1

14 Jun 10:15
Compare
Choose a tag to compare

What's new:

  • views for actions (with some magic behind the scene done for you)
  • intoduce Rails-like respond_to method
  • formats for respond_to ( html and any for now)
  • redirect_to method for redirecting available in controllers
  • http errors implemented as Crystal exceptions
  • controllers perfomance improved
  • better mime-types support for static files serving(thanks to crystal-mime)
  • numerous bug fixes and improves

Wiki will be updated soon

v0.0.7

08 Jun 15:21
Compare
Choose a tag to compare

What's new:

  • reworked middleware support (much faster and flexible now)
  • reworked actions implementation
  • simple REST routing (GET, POST, PUT, DELETE)
  • path, GET and POST params inside actions
  • base cookies support
  • static files serving
  • tools for developers (handy logging middleware)

Also, there are detailed wiki comes!

v0.0.2-pre

30 May 14:50
Compare
Choose a tag to compare
v0.0.2-pre Pre-release
Pre-release

First release of Amethyst! Note, this is a preview version, it has poor functionality yet, but it works. The main achievement is framework architecture, that allows Amethyst to grow up fast and unpainly. For now, we have:

  • working class-based controllers with actions methods
  • simple routing that maps controllers actions
  • class-based middleware support
  • support of GET method (yet)

As we have a pretty solid base, we can move towards extending a functionality. Goals of next release:

  • static files serving
  • REST architecture (GET, POST, PUT, DELETE)
  • cookies support
  • POST and GET parameters