aboutsummaryrefslogtreecommitdiffstats
path: root/ROADMAP.md
AgeCommit message (Collapse)Author
2014-09-26Unify the init and terminate callbacksLoïc Hoguin
This set of changes is the first step to simplify the writing of handlers, by removing some extraneous callbacks and making others optional. init/3 is now init/2, its first argument being removed. rest_init/2 and rest_terminate/2 have been removed. websocket_init/3 and websocket_terminate/3 have been removed. terminate/3 is now optional. It is called regardless of the type of handler, including rest and websocket. The return value of init/2 changed. It now returns {Mod, Req, Opts} with Mod being either one of the four handler type or a custom module. It can also return extra timeout and hibernate options. The signature for sub protocols has changed, they now receive these extra timeout and hibernate options. Loop handlers are now implemented in cowboy_long_polling, and will be renamed throughout the project in a future commit.
2014-09-24Remove the error tuple return value for middlewaresLoïc Hoguin
It wasn't interesting compared to simply returning a halt tuple with an explicit reply.
2014-09-24Remove the onrequest hookLoïc Hoguin
It was redundant with middlewares. Allows us to save a few operations for every incoming requests.
2014-09-23Breaking update of the cowboy_req interfaceLoïc Hoguin
Simplify the interface for most cowboy_req functions. They all return a single value except the four body reading functions. The reply functions now only return a Req value. Access functions do not return a Req anymore. Functions that used to cache results do not have a cache anymore. The interface for accessing query string and cookies has therefore been changed. There are now three query string functions: qs/1 provides access to the raw query string value; parse_qs/1 returns the query string as a list of key/values; match_qs/2 returns a map containing the values requested in the second argument, after applying constraints and default value. Similarly, there are two cookie functions: parse_cookies/1 and match_cookies/2. More match functions will be added in future commits. None of the functions return an error tuple anymore. It either works or crashes. Cowboy will attempt to provide an appropriate status code in the response of crashed handlers. As a result, the content decode function has its return value changed to a simple binary, and the body reading functions only return on success.
2014-08-01Remove 1.0 section in the ROADMAPLoïc Hoguin
2014-07-12Small addition to the ROADMAPLoïc Hoguin
2014-07-07Small addition to 2.0 roadmapLoïc Hoguin
2014-06-30Add note about httpbis to the roadmapLoïc Hoguin
2014-06-30Forgot a todo in the ROADMAPLoïc Hoguin
2014-06-30Roadmap for Cowboy 2.0Loïc Hoguin
2014-06-10Update CHANGELOG and ROADMAPLoïc Hoguin
2013-11-14Update ROADMAPLoïc Hoguin
2013-09-18Small roadmap updateLoïc Hoguin
2013-05-24Update ROADMAPLoïc Hoguin
2013-02-11Add a REST point on the roadmapLoïc Hoguin
2013-01-29Update roadmapLoïc Hoguin
2012-12-07Small Markdown fixes to better follow the specsLoïc Hoguin
2012-10-05Update ROADMAP.mdLoïc Hoguin
2012-05-23Update version to 0.6.00.6.0Loïc Hoguin
Also update the CHANGELOG and copyright years.
2012-05-21Small updates to the ROADMAP and doc commentsLoïc Hoguin
2012-02-27Add a roadmapLoïc Hoguin