| 1 |
TurboGears Changelog |
|---|
| 2 |
==================== |
|---|
| 3 |
|
|---|
| 4 |
0.8a6 (December 26, 2005) |
|---|
| 5 |
------------------ |
|---|
| 6 |
|
|---|
| 7 |
* Chained validators will now cause an Invalid exception to be raised |
|---|
| 8 |
as appropriate. |
|---|
| 9 |
* When validation would fail, previously an unexpected exception may |
|---|
| 10 |
be raised when an Invalid exception is expected |
|---|
| 11 |
* quickstart didn't look out for .pyo files in the same way that it did |
|---|
| 12 |
.pyc files. |
|---|
| 13 |
|
|---|
| 14 |
*Project Updates* |
|---|
| 15 |
|
|---|
| 16 |
* json-py updated to 3.4 |
|---|
| 17 |
|
|---|
| 18 |
0.8a5 (December 2, 2005) |
|---|
| 19 |
------------------------ |
|---|
| 20 |
|
|---|
| 21 |
* setup has been changed to ensure that people properly |
|---|
| 22 |
get the CherryPy 2.1 release version. |
|---|
| 23 |
|
|---|
| 24 |
*Project Updates* |
|---|
| 25 |
|
|---|
| 26 |
* Kid updated to 0.8.0 |
|---|
| 27 |
* MochiKit updated to 1.1 |
|---|
| 28 |
* FormEncode updated to 0.4 |
|---|
| 29 |
* setuptools updated to 0.6a8 |
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
0.8a4 (October 25, 2005) |
|---|
| 33 |
------------------------ |
|---|
| 34 |
|
|---|
| 35 |
*Project Updates* |
|---|
| 36 |
|
|---|
| 37 |
* setuptools 0.6a6 |
|---|
| 38 |
* CherryPy 2.1 final |
|---|
| 39 |
* MochiKit 1.0 |
|---|
| 40 |
|
|---|
| 41 |
*Fixes* |
|---|
| 42 |
|
|---|
| 43 |
* On some servers, TurboGears can take a minute to start answering |
|---|
| 44 |
connections due to the way the OS handles incoming connections to |
|---|
| 45 |
ports that have nothing listening on them. |
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
0.8a3 (October 16, 2005) |
|---|
| 49 |
------------------------ |
|---|
| 50 |
|
|---|
| 51 |
*Fixes* |
|---|
| 52 |
|
|---|
| 53 |
* setup.py was not using setup_requires in a productive way. This has |
|---|
| 54 |
been changed, so tg-admin quickstart will no longer need to |
|---|
| 55 |
go to the internet to function. |
|---|
| 56 |
* turbogears.database.set_db_uri was not properly putting the setting |
|---|
| 57 |
in the global config section. By Robert Leftwich. |
|---|
| 58 |
* some people have had trouble with the url function not being able to |
|---|
| 59 |
find cherrypy.request.approot. This may be due to older classes that |
|---|
| 60 |
do not extend controllers.Root. This was not listed as a |
|---|
| 61 |
requirement for the URL function. The documentation for the |
|---|
| 62 |
url function has been updated, and the code has been updated |
|---|
| 63 |
to always set the approot to the top of the site at least. |
|---|
| 64 |
|
|---|
| 65 |
0.8a2 (Oct 14, 2005) |
|---|
| 66 |
-------------------- |
|---|
| 67 |
*Fixes* |
|---|
| 68 |
|
|---|
| 69 |
* tg-admin quickstart was missing the appropriate egg-info for the sql |
|---|
| 70 |
commands to work properly |
|---|
| 71 |
|
|---|
| 72 |
0.8a1 (Oct 12, 2005) |
|---|
| 73 |
-------------------- |
|---|
| 74 |
|
|---|
| 75 |
*Backwards Incompatibilities* |
|---|
| 76 |
|
|---|
| 77 |
* All of the "turbogears*" variables have been changed to "tg_*". These |
|---|
| 78 |
are tg_template, tg_format, tg_flash and tg_js. (Note that |
|---|
| 79 |
turbogearsfmt has become tg_format and turbogearshtml has become |
|---|
| 80 |
tg_template.) |
|---|
| 81 |
* The StringBoolean validator (which has moved into FormEncode proper) |
|---|
| 82 |
now returns strings for from_python. For example, from_python(True) |
|---|
| 83 |
now returns 'true'. It used to return True. |
|---|
| 84 |
* turbogears-admin.py is now called tg-admin and is automatically |
|---|
| 85 |
generated by setuptools |
|---|
| 86 |
* The tg-admin sql commands now require a properly setup .egg-info |
|---|
| 87 |
directory to automatically find the model classes. If the egg info |
|---|
| 88 |
is not properly set up, the command can fix it automatically. |
|---|
| 89 |
* The view.render method's "html" parameter has been renamed "template" |
|---|
| 90 |
to reflect that the templates might be for XML presentations. Most |
|---|
| 91 |
people don't call view.render directly. |
|---|
| 92 |
|
|---|
| 93 |
*New Features* |
|---|
| 94 |
|
|---|
| 95 |
* There is a new PackageHub that is designed to allow different parts |
|---|
| 96 |
of a site to use different databases. Use of the PackageHub works |
|---|
| 97 |
just like the AutoConnectHub. |
|---|
| 98 |
* Added a new function: turbogears.database.set_db_uri. This is a |
|---|
| 99 |
more pleasant wrapper around the cherrypy config variables that |
|---|
| 100 |
can be used in command line tools and the like. |
|---|
| 101 |
* IPython is used in tg-admin shell, if it's available. By David Guaraglia. |
|---|
| 102 |
* You can specify a default format via the new format parameter |
|---|
| 103 |
to expose. For example, expose(format="json") will cause the |
|---|
| 104 |
method to output JSON by default, even if HTML is available. |
|---|
| 105 |
By Elvelind Grandin. |
|---|
| 106 |
* You can specify the Content-Type via expose. Example: |
|---|
| 107 |
expose(content_type="text/javascript"). By Elvelind Grandin. |
|---|
| 108 |
* expose now has a "template" parameter that can be used in place |
|---|
| 109 |
of "html". This is more pleasant for non-HTML applications. |
|---|
| 110 |
* On Macs, if you're running in development mode the server will |
|---|
| 111 |
be advertised via Bonjour. If you enable Bonjour bookmarks |
|---|
| 112 |
(via the Bookmarks Preferences tab in Safari), you'll see your |
|---|
| 113 |
development server show up automatically. By Bob Ippolito. |
|---|
| 114 |
* There is now a url function that can be used to generate URLs |
|---|
| 115 |
conveniently and, more importantly, with an appropriate view |
|---|
| 116 |
of where the root of the web application is. |
|---|
| 117 |
* validators can now be specified with a dict (the 0.5 way) or with a |
|---|
| 118 |
FormEncode Schema, which provides more options. By Fabian Neumann. |
|---|
| 119 |
* Quickstart now provides a basic static files skeleton. By |
|---|
| 120 |
Elvelind Grandin. |
|---|
| 121 |
* Added config setting to determine Kid's output format (HTML/XHTML). |
|---|
| 122 |
By Fabian Neumann. |
|---|
| 123 |
* In quickstart, project-start.py now takes a config file on the |
|---|
| 124 |
command line. By Elvelind Grandin. |
|---|
| 125 |
* project-start.py is also made executable automatically. By |
|---|
| 126 |
Fabian Neumann. |
|---|
| 127 |
* Added turbogears.tests.util.call function to allow you to call a |
|---|
| 128 |
controller method and get the dictionary back without processing |
|---|
| 129 |
to HTML or JSON. This allows you to test controller logic independent |
|---|
| 130 |
of presentation. |
|---|
| 131 |
|
|---|
| 132 |
*Project Updates* |
|---|
| 133 |
|
|---|
| 134 |
* setuptools updated to 0.6a5 |
|---|
| 135 |
* SQLObject updated to 0.7 final |
|---|
| 136 |
* FormEncode updated to 0.2.3dev-r1108 |
|---|
| 137 |
* CherryPy updated to 2.1-rc2 |
|---|
| 138 |
* MochiKit updated to 0.9 |
|---|
| 139 |
* Kid updated to 0.7adev-r186 |
|---|
| 140 |
|
|---|
| 141 |
*Notable Improvements in the Projects* |
|---|
| 142 |
|
|---|
| 143 |
Kid can now generate plain text output using the PlainSerializer. |
|---|
| 144 |
|
|---|
| 145 |
_Fixes_ |
|---|
| 146 |
|
|---|
| 147 |
* All of the sqlobject-admin commands now work through the use of |
|---|
| 148 |
egg metadata. |
|---|
| 149 |
* If a template was specified in the returned dictionary from an |
|---|
| 150 |
exposed method, but not in the parameters to expose itself, |
|---|
| 151 |
that template was not applied. By Ronald Jaramillo. |
|---|
| 152 |
* The content-type meta tag in the quickstart files is now automatically |
|---|
| 153 |
stripped out, because Kid's HTML serializer puts one in. |
|---|
| 154 |
* Improved comments in the quickstart config files. |
|---|
| 155 |
* There is a temporary hack to handle threadsafety issues with sqlite. |
|---|
| 156 |
This has been changed to *only* affect sqlite. |
|---|
| 157 |
* JSON output should work for Opera now (Opera appeared to have a |
|---|
| 158 |
problem with the text/javascript content-type and utf-8 encoding.) |
|---|
| 159 |
By "Lethalman". |
|---|
| 160 |
* All files needed for a project to install and run from an egg should |
|---|
| 161 |
be installed properly based on the quickstart setup script. |
|---|
| 162 |
* The flash cookie was not always deleted. Setting the path on the |
|---|
| 163 |
cookie corrected this. By Nick. |
|---|
| 164 |
|
|---|
| 165 |
0.5.1 (Sep 17, 2005) |
|---|
| 166 |
-------------------- |
|---|
| 167 |
|
|---|
| 168 |
Relaxed version requirements and changed version numbering for |
|---|
| 169 |
included ElementTree packages to ease installation troubles |
|---|
| 170 |
|
|---|
| 171 |
|
|---|
| 172 |
0.5.0 (Sep 17, 2005) |
|---|
| 173 |
-------------------- |
|---|
| 174 |
|
|---|
| 175 |
* Initial public release. |
|---|