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 and Datalist (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 old python-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 patched socket.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)