UNPKG

1.54 kBMarkdownView Raw
1# Changelog
2
3## 1.0.0
4
5Released 2016-10-05
6
7### Core
8
9* Refactored core classes
10* `.define()` no longer needs definition type
11* `.define()` can declare views and features
12* `.define()` can not attach event listeners anymore
13* `.has()` can be used to test for implemented features
14* Implemented direct route declaration using `.route()`
15* Implemented instance isolation
16* Implemented feature declaration
17* Implemented view declaration
18* Implemented `*` support for routes
19* Implemented `auto` view
20* Implemented __Accept__-based response for default error handler
21* Removed deprecated code
22* Removed `.router()`
23* Removed syncronous routes and `.async` flag
24* Removed __default__ event
25* Removed route hashMap, all routes now are compiled to RegExp
26* Removed `._routes`, `._patterns` and `._views`
27* Removed `.is_get()` and others
28* Removed `.chain()`
29* Removed `.view` property and all views except `auto`
30* Renamed `._response()` to `.sendResponse()`
31* Renamed `._destroy()` to `.destroyContext()`
32* Renamed `._handler()` to `.createContext()`
33* Renamed `Context.start` to `Context.stamp` (conflict with `.start()`)
34* Fixed _Content-Type_-based routes
35* Fixed `:placeholder` RegExp to not accept dots
36
37### Plugins
38
39* Implemented _ETag_ support for static plugin
40* Removed plugins for content translation (coffee, less, jade)
41* Compression plugin declares `feature::compression` when loaded
42* Static plugin declares `feature::static` when loaded
43* Static plugin has more obvious default properties
44* Shortcuts plugin lost `.any()` method