web.py v0.40 Release Notes
Release Date: 2019-09-27 // over 4 years ago-
๐ Note:
0.40
is the last release which supports Python 2. Future releases will drop support for Python 2.- ๐ Fixed lots of Python-3 compatibility issues.
- โฌ๏ธ Drop support for Python < 2.7.
- ๐ Allow to get form data from http PATCH request (fixes #259, tx @kufd)
- 0๏ธโฃ Only store new session data if the data is non-default (fixes #161, tx @shish)
- ๐ Supports
SameSite
cookie attribute (fixes #61 #99 #337) - ๐ Cookie expire time is now set to same as session
timeout
(fixes #409 #410) - ๐ Supports url for SQLite database like
sqlite:///mydb.sqlite
,
๐sqlite:////absolute/path/mydb.sqlite
(fixes #209, tx @iamFIREcracker) - ๐ Allow HTML5 form input elements in
web.form.Input()
(fixes #440, tx @jimgregory) - โ Add more form classes for different types:
Email
,Url
,Number
,Range
,
๐Color
,Search
,Telephone
andDatalist
(fixes #98 #497, tx @faruken @gjdv) - ๐ Return body for
NoMethod
error handler (fixes #240, tx @waldhol) - ๐ Directory
experimental/
has been removed, it's not used and out of date. - ๐ Module
web/webopenid.py
has been removed, it uses oldpython-openid
๐ module which was released 9 years ago. If you need openid support, consider
๐ฆpython-openid2
or other packages available on https://pypi.org/. - ๐ Fixed unicode in request url (fixes #461, tx @schneidersoft)
- ๐ Fixed inline comment in Templator which leads to unexpected behavior (fixes #432, tx @lucylqe)
- ๐ Fixed missing exception (ValueError) for socket.inet_pton to be compatible
๐ with twisted patchedsocket.inet_pton
(fixes #464, tx @tclh123) - ๐ Fixed incorrect order of arguments for sending email with boto (fixes #204, tx @asldevi)
- ๐ Fixed notfound message is not utf-8 charset (fixes #500, tx @by-z)
- ๐ Fixed error in creating pooled PostgresDB with pgdb driver (fixes #255, tx @PriceChild)
- ๐ Fixed IP address which contains space should not pass validation (fixes #140, tx @chuangbo)
- ๐ Fixed incorrect returned row ids with
multiple_insert()
(fixes #263 #447) - ๐ Fixed not correctly render the
id
attribute after changed (fixes #339, tx @jimgregory) - ๐ Fixed DiskStore concurrency issue (fixes Fixes #83 #182 #191 #289 #470, tx @skawouter)
- ๐ Fixed app module isn't picked up by
Reloader
for first code change (fixes #438, tx @jzellman)