source: project/release/4/awful/extra/doc/version-history @ 25686

Last change on this file since 25686 was 25686, checked in by Mario Domenech Goulart, 9 years ago

awful (doc): updated version history

File size: 10.7 KB
Line 
1=== Version history
2
3===== version 0.33
4* jQuery updated to version 1.7.1
5* Added {{session-cookie-setter}} (thanks to Thomas Hintz)
6* Added {{event}} argument to anonymous javascript function given as argument to {{bind}}/{{live}} ({{ajax}} and friends).  Patch by Thomas Hintz.
7* The {{method}} keyword parameter for {{define-page}} and {{ajax}} & friends can be bound to a list of methods.  Methods are now case insensitive.
8
9===== version 0.32
10* Added {{method}} keyword parameter for {{define-page}}.  Now the page router takes into account the HTTP method, so it is possible to have two different pages using the same path but different methods.
11* Added {{error-handler}} keyword parameter for {{ajax}}, {{ajax-link}} and {{periodical-ajax}} (suggested by Thomas Hintz)
12* {{ajax}} and friends send {{Content-Type: application/json}} when {{update-targets}} is non-#f
13* {{ajax}} bugfix: only opens db connection and refresh session when the page access is allowed
14* The default value for {{awful-backlog}} has been set to 100
15* Updated JQuery from version 1.5.2 to 1.6.3
16* Dropped {{-lambda-lift}} build option
17* Added the {{reload-apps}} procedure. {{load-apps}} no longer resets the resources table
18* {{awful-start}} requires a thunk as argument. With this, awful can be embedded into standalone applications
19
20
21===== version 0.31
22* Added a tiny wrapper around [[/egg/spiffy-request-vars|spiffy-request-vars]], adding the {{with-request-variables}} macro and exporting {{spiffy-request-vars}}'s converters.
23* Updated JQuery from version 1.5.1 to 1.5.2.
24* Better support for multiple applications under the same virtual host ({{add-request-handler-hook!}} and {{remove-request-handler-hook!}})
25* {{$db}} checks if database access is enabled via {{(enable-db)}} and throws an error if it is not.
26* Fixed critical bug regarding to parameters and thread reuse by Spiffy
27* Fixed {{redirect-to}} but introduced in version 0.29
28
29===== version 0.30
30* The {{(ajax-library)}} is always linked before any other scripts and javascript code in the headers (e.g., when {{(javascript-position)}} is {{top}}).
31* Ajax-related procedures simplifications and bugfix in the session awareness code when called from {{define-session-page}}.
32
33===== version 0.29
34* Updated JQuery from version 1.5.0 to 1.5.1.
35* {{ajax}} and {{periodical-ajax}} bugfix (for situations when they are used simultaneously, or {{periodical-ajax}} and {{add-javascript}}).
36* The default URI for {{ajax-library}} is now protocol-relative (thanks to Peter Bex).
37* Added the {{javascript-position}} parameter.
38
39===== version 0.28
40* Updated JQuery from version 1.4.3 to 1.5.0.
41* {{ajax}} and friends ({{periodical-ajax}}, {{ajax-link}}) are now session-aware when called from {{define-session-page}} (e.g., you don't need to explicitly pass the session identifier).
42* Added the {{cache}} keyword parameter for {{ajax}}, {{ajax-link}} and {{periodical-ajax}}.
43* The HTTP request variables are now parsed and made available on demand, when {{$}} is called for the first time for each request (thanks to David Krentzlin).
44* Applications are no longer loaded with administrator privileges when awful is run by administrator and configured to switch to a non privileged user. For code which needs administrator privileges (like binding to low ports, IP addresses, user/group settings etc), there's a new command line option for the awful application server: {{--privileged-code}}.  '''Warning''': if you rely on your configuration performing actions with administrator privileges, this change may affect your code.
45* {{define-session-page}} bug fix (it was not properly obtaining the session identifier).
46
47
48===== version 0.27
49* Require the {{regex}} egg, for chickens >= 4.6.2
50
51===== version 0.26
52* {{define-page}} allows page redefinitions
53* Added the {{undefine-page}} procedure
54* Fancy web REPL (enabled by default).  The awful application server now accepts the {{--disable-web-repl-fancy-editor}} command line option to disable the web REPL fancy editor.
55* Added the following parameters, related to the fancy web REPL: {{enable-web-repl-fancy-editor}} and {{web-repl-fancy-editor-base-uri}}.
56* Bug fix for the development mode: requests to the {{/reload}} path killed {{/web-repl}} and {{/session-inspector}}
57
58===== version 0.25
59* The awful application server can now be used with the {{--development-mode}} command line option, which enables the web REPL, the session inspector (when {{enable-session}} is #t) for the localhost and on-browser error messages and backtraces.  When running in development mode, the {{/reload}} path is defined to reload awful apps.
60* The awful application server now supports the {{--ip-address}} and {{--port}} command line options.
61* {{use-ajax}} keyword parameter for {{define-page}} (for when {{enable-ajax}} is {{#f}} and you need ajax for some specific pages only)
62* Added {{awful-response-headers}} and {{development-mode?}} parameters
63
64===== version 0.24
65* initial support for storing session identifiers in cookies.  Added the {{enable-session-cookie}} and {{session-cookie-name}} parameters.  By default, cookies-sessions are enabled (relevant only when using sessions, of course). '''Warning''': if your code relies on the availability of session identifiers in the query string or in the request body for whatever reason, it will break.
66* initial support for HTTP redirection via {{redirect-to}}.
67* web-repl and session-inspector beautification
68* web-repl and session inspector provide a {{headers}} keyword parameter
69* fixes for {{define-page}} regarding to regex-based paths
70* {{ajax}} always prioritizes the {{success}} keyword parameter value (when it's given) to generate code for JQuery's {{success}} attribute, even when {{target}} and {{update-targets}} are given
71* awful (the application) handles the {{-v}} and {{--version}} command line options
72
73===== version 0.23
74* added the {{update-targets}} keyword parameter for {{ajax}}, {{periodical-ajax}} and {{ajax-link}} procedures (multiple targets update support)
75* added the {{debug-resources}} parameter for debugging the resources table
76* the {{js}} keyword parameter for {{ajax}}, {{periodical-ajax}} and {{ajax-link}} has been renamed to {{success}} (to match JQuery's API naming for Ajax). '''Warning''': if your code uses the {{js}} keyword parameter for {{ajax}}, {{periodical-ajax}} or {{ajax-link}}, this change will break your code.
77* the javascript variable bound to the response data on successful ajax request has been renamed to {{response}} (it was {{h}} before). The same warning for the {{js}}->{{success}} renaming is valid for this change, since it is directly related to {{js}} (now {{success}}).
78* the default value for {{main-page-path}} is now {{"/"}} (it was {{"/main"}} before).  There's no more main page redirection.  '''Warning''': if your code relies on hardcoded {{"/main"}} paths (instead of using {{(main-page-path)}}) or if you rely on the main page automatic redirection, this change will break your code.
79* {{ajax}} bugfix regarding to session identifiers (could cause "Invalid session ID" errors in some cases, specially with {{define-session-page}}).
80* better handling of URI paths regarding to paths as directories (see FAQ's ''How does awful bind URIs to files/directories on the filesystem and procedures?'')
81
82===== version 0.22
83* bug fix: fixed unintended shadowing of {{js}} in ajax
84* added the {{prelude}} keyword parameter for {{ajax}}, {{periodical-ajax}} and {{ajax-link}}
85* {{$db}} supports the {{values}} keyword parameter (patch by Stephen Eilert)
86* awful (the application) can now be invoked without arguments
87* awful (the application) handles {{-h}} and {{--help}}
88* dropped [[/eggref/4/jsmin|jsmin]] requirement
89
90===== version 0.21
91* ajax and main page redirection issues fixes
92
93===== version 0.20
94* {{page-access-control}} controls access to pages even when no session is in use
95* '''Warning''': the following parameters have been removed: {{enable-reload}}, {{reload-path}} and {{reload-message}}.  Now the way to define reloaders is via {{define-page}}.
96* new parameter: {{awful-apps}} (a list of awful applications as passed to the awful server)
97
98===== version 0.19
99* bug fix for {{(reload-path)}} handler
100
101===== version 0.18
102* support for regex-based page paths (see {{define-page}})
103* {{define-page}} checks whether the second arg is a procedure.
104* use {{-O3 -lambda-lift}} instead of {{-O2}} for compilation
105* {{main-page-path}} redirection made with code stolen from [[/egg/spiffy|spiffy]]'s {{send-response}}
106
107===== version 0.17
108* .meta bug fix.  postgresql is not required as a dependency (thanks to Stephen Pedrosa Eilert for pointing this issue).
109
110===== version 0.16
111* added {{define-session-page}}
112* bug fix for {{link}}
113
114===== version 0.15
115* jquery updated to 1.4.2 ({{ajax-library}}).
116
117===== version 0.14
118* {{link}}'s {{args}} keyword parameter renamed to {{arguments}} (the same as {{ajax}}'s).
119
120===== version 0.13
121* Session-aware {{link}} and {{form}} procedures.  Bug fix for {{ajax-link}} (was not passing the {{class}} keyword argument to <a>).
122
123===== version 0.12
124* Containers for user and password fields ({{login-form}})
125
126===== version 0.11
127* awful sets Spiffy's {{root-path}} to {{(current-directory)}}
128
129===== version 0.10
130* Multiple database support. Currently Postgresql (via [[/egg/postgresql|postgresql]] egg) and Sqlite3 (via [[/egg/sqlite3|sqlite3]] and [[/egg/sql-de-lite|sql-de-lite]] eggs) are supported.  See [[/egg/awful-postgresql|awful-postgresql]], [[/egg/sqlite3|sqlite3]] and [[/egg/sql-de-lite|sql-de-lite]] eggs.
131* Removed requirement for postgresql
132* {{enable-db}} is now a procedure (not a parameter as before) and accepts no arguments
133
134===== version 0.9
135* {{login-form}} gets the {{user}} refilled when the session or passowrd is not valid.  This feature may be disabled by setting the {{refill-user}} keyword parameter for {{login-form}} to {{#f}} (default is {{#t}}).  Thanks to Arthur Maciel for suggesting this feature.
136
137===== version 0.8
138* jquery updated to 1.4.1 ({{ajax-library}}).
139* support for jquery's {{live}} method ({{live}} keyword parameter for {{ajax}}, {{ajax-link}} and {{periodical-ajax}}).  See [[http://api.jquery.com/live/]]
140* bug fixes: {{periodical-ajax}} and {{ajax-link}} propagate {{vhost-root-path}} to {{ajax}}
141* added {{awful-start}} and dropped spiffy requirement for awful (the server)
142* dropped requirement for miscmacros
143* added more ajax tests
144
145===== version 0.7
146* {{ajax-link}} accepts all {{<a>}}'s keyword arguments
147
148===== version 0.6
149* Explicitly depends on [[/egg/http-session|http-session]] 2.0
150
151===== version 0.5
152* Reload handler register the reload path after reloading.
153
154===== version 0.4
155* {{disable-reload?}} renamed to {{enable-reload}}.  {{enable-reload}} is {{#f}} by default.
156
157===== version 0.3
158* {{awful}} (the server) allows applications to use Chicken syntax ({{use}}, {{include}} etc)
159
160===== version 0.2
161* Added javascript compression support
162
163===== version 0.1
164* Initial release
Note: See TracBrowser for help on using the repository browser.