All Versions
5
Latest Version
Avg Release Cycle
8 days
Latest Release
2887 days ago
Changelog History
Changelog History
-
v0.1.7 Changes
July 01, 2015What'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
anddomain
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 Changes
June 18, 2015What'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
andpath_parameters
)keys can beSymbol
orString
- 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
andHttpNotImplemented
Exceptions. In production mode, they will be turned toHttpNotFound
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""
, notnil
, thanks to @bararchy - ๐ fix scope bug when
require "amethyst"
, thanks to @paa001 - ๐ improve and add more specs
- 0๏ธโฃ default routes for controllers - if Amethyst didn't find regular route, it will try to handle default one -
-
v0.1 Changes
June 14, 2015What'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 Changes
June 08, 2015What'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 Changes
May 30, 2015๐ 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