- 2006-05-09: 0.138
- New function:
intget
- New function:
datestr
- New function:
validaddr
- New function:
sqlwhere
- New function:
background, backgrounder
- New function:
changequery
- New function:
flush
- New function:
load, unload
- New variable:
loadhooks, unloadhooks
- Better docs; generating docs from web.py now
- global variable
REAL_SCRIPT_NAME can now be used to work around lighttpd madness
- fastcgi/scgi servers now can listen on sockets
output now encodes Unicode
input now takes optional _method argument
- Potentially-incompatible change:
input now returns badrequest automatically when requireds aren't found
storify now takes lists and dictionaries as requests (see docs)
redirect now blanks any existing output
- Quote SQL better when
db_printing is on
- Fix delay in
nomethod
- Fix
urlquote to encode better.
- Fix 2.3 incompatibility with
iters (tx ??)
- Fix duplicate headers
- Improve
storify docs
- Fix
IterBetter to raise IndexError, not KeyError
- 2006-03-27: 0.137
- Add function
dictfindall (tx Steve Huffman)
- Add support to
autodelegate for arguments
- Add functions
httpdate and parsehttpdate
- Add function
modified
- Add support for FastCGI server mode
- Clarify
dictadd documentation (tx Steve Huffman)
- Changed license to public domain
- Clean up to use
ctx and env instead of context and environ
- Improved support for PUT, DELETE, etc. (tx list)
- Fix
ctx.fullpath (tx Jesir Vargas)
- Fix sqlite support (tx Dubhead)
- Fix documentation bug in
lstrips (tx Gregory Petrosyan)
- Fix support for IPs and ports (1/2 tx Jesir Vargas)
- Fix
ctx.fullpath (tx Jesir Vargas)
- Fix sqlite support (tx Dubhead)
- Fix documentation bug in
lstrips (tx Gregory Petrosyan)
- Fix
iters bug with sets
- Fix some breakage introduced by Vargas's patch
- Fix
sqlors bug
- Fix various small style things (tx Jesir Vargas)
- Fix bug with
input ignoring GET input
- 2006-02-22: 0.136 (svn)
- Major code cleanup (tx to Jesir Vargas for the patch).
- 2006-02-15: 0.135
- Really fix that mysql regression (tx Sean Leach).
- 2006-02-15: 0.134
- The
StopIteration exception is now caught. This can be used by functions that do things like check to see if a user is logged in. If the user isn't, they can output a message with a login box and raise StopIteration, preventing the caller from executing.
- Fix some documentation bugs.
- Fix mysql regression (tx mrstone).
- 2006-02-12: 0.133
- Docstrings! (tx numerous, esp. Jonathan Mark (for the patch) and Guido van Rossum (for the prod))
- Add
set to web.iters.
- Make the `len` returned by `query` an int (tx ??).
- Backwards-incompatible change:
base now called prefixurl.
- Backwards-incompatible change:
autoassign now takes self and locals() as arguments.
- 2006-02-07: 0.132
- New variable
iters is now a listing of possible list-like types (currently list, tuple, and, if it exists, Set).
- New function
dictreverse turns {1:2} into {2:1}.
Storage now a dictionary subclass.
tryall now takes an optional prefix of functions to run.
sqlors has various improvements.
- Fix a bunch of DB API bugs.
- Fix bug with
storify when it received multiple inputs (tx Ben Woosley).
- Fix bug with returning a generator (tx Zbynek Winkler).
- Fix bug where len returned a long on query results (tx F.S).
- 2006-01-31: 0.131 (not officially released)
- New function
_interpolate used internally for interpolating strings.
- Redone database API.
select, insert, update, and delete all made consistent. Database queries can now do more complicated expressions like $foo.bar and ${a+b}. You now have to explicitly pass the dictionary to look up variables in. Pass vars=locals() to get the old functionality of looking up variables .
- New functions
sqllist and sqlors generate certain kinds of SQL.
- 2006-01-30: 0.13
- New functions
found, seeother, and tempredirect now let you do other kinds of redirects. redirect now also takes an optional status parameter. (tx many)
- New functions
expires and lastmodified make it easy to send those headers.
- New function
gone returns a 410 Gone (tx David Terrell).
- New function
urlquote applies url encoding to a string.
- New function
iterbetter wraps an iterator and allows you to do __getitem__s on it.
- Have
query return an iterbetter instead of an iterator.
- Have
debugerror show tracebacks with the innermost frame first.
- Add
__hash__ function to threadeddict (and thus, ctx).
- Add
context.host value for the requested host name.
- Add option
db_printing that prints database queries and the time they take.
- Add support for database pooling (tx Steve Huffman).
- Add support for passing values to functions called by
handle. If you do ('foo', 'value') it will add 'value' as an argument when it calls foo.
- Add support for scgi (tx David Terrell for the patch).
- Add support for web.py functions that are iterators (tx Brendan O'Connor for the patch).
- Use new database cursors on each call instead of reusing one.
setcookie now takes an optional domain argument.
- Fix bug in autoassign.
- Fix bug where
debugerror would break on objects it couldn't display.
- Fix bug where you couldn't do
#includes inline.
- Fix bug with
reloader and database calls.
- Fix bug with
reloader and base templates.
- Fix bug with CGI mode on certain operating systems.
- Fix bug where
debug would crash if called outside a request.
- Fix bug with
context.ip giving weird values with proxies.
- 2006-01-29: 0.129
- Add Python 2.2 support.
- 2006-01-28: 0.128
- Fix typo in
web.profile.
- 2006-01-28: 0.127
- Fix bug in error message if invalid dbn is sent (tx Panos Laganakos).
- 2006-01-27: 0.126
- Fix typos in Content-Type headers (tx Beat Bolli for the prod).
- 2006-01-22: 0.125
- Support Cheetah 2.0.
- 2006-01-22: 0.124
- Fix spacing bug (tx Tommi Raivio for the prod).
- 2006-01-16: 0.123
- Fix bug with CGI usage (tx Eddie Sowden for the prod).
- 2006-01-14: 0.122
- Allow DELETEs from
web.query (tx Joost Molenaar for the prod).
- 2006-01-08: 0.121
- Allow import of submodules like
pkg.mod.cn (tx Sridhar Ratna).
- Fix a bug in
update (tx Sergey Khenkin).
- 2006-01-05: 0.12
- Backwards-incompatible change:
db_parameters is now a dictionary.
- Backwards-incompatible change:
sumdicts is now dictadd.
- Add support for PyGreSQL, MySQL (tx Hallgrimur H. Gunnarsson).
- Use HTML for non-Cheetah error message.
- New function
htmlquote().
- New function
tryall().
ctx.output can now be set to a generator. (tx Brendan O'Connor)
- 2006-01-04: 0.117
- Add support for psycopg 1.x. (tx Gregory Price)
- 2006-01-04: 0.116
- Add support for Python 2.3. (tx Evan Jones)
- 2006-01-04: 0.115
- Fix some bugs where database queries weren't reparameterized. Oops!
- Fix a bug where
run() wasn't getting the right functions.
- Remove a debug statement accidentally left in.
- Allow
storify to be used on dictionaries. (tx Joseph Trent)
- 2006-01-04: 0.114
- Make
reloader work on Windows. (tx manatlan)
- Fix some small typos that affected colorization. (tx Gregory Price)
- 2006-01-03: 0.113
- Reorganize
run() internals so mod_python can be used. (tx Nicholas Matsakis)
- 2006-01-03: 0.112
- Make
reloader work when code.py is called with a full path. (tx David Terrell)
- 2006-01-03: 0.111
- Fixed bug in
strips(). (tx Michael Josephson)
- 2006-01-03: 0.11
- First public version.