Skip to content

Releases: webpy/webpy

0.70

10 Oct 14:50
a1d2ee4
Compare
Choose a tag to compare
  • Remove the deprecated cgi module which will be removed from the Standard Library in Python 3.13. #773
  • Add support for newer versions of Python and drop end-of-life versions
  • Migrate testing from Travis CI to GitHub Actions
  • Migrate Python linting to Ruff

0.62

09 Nov 11:30
eae8945
Compare
Choose a tag to compare
  • Fixed: application.load() assumes ctx.path will be a latin1 string #687
  • Fixed: can not reset session data to same value as initialized. #683
  • Fixed: can not set session expire time. #655
  • Fixed: not export session store MemoryStore.

0.61

25 Jul 07:14
bc62254
Compare
Choose a tag to compare
  • Add python_requires=">=3.5" in setup.py #662
  • Fix incorrect content in MANIFEST.in file.

0.60

23 Jul 16:11
Compare
Choose a tag to compare

Changes:

  • Python-2 support has been completely dropped. Welcome to Python 3.
  • Fixed: session store DiskStore doesn't return correctly if session
    directory doesn't exist. #652
  • Fixed: incorrect str/bytes type of session data. #644 #645
  • Fixed: db.query("insert... returning") fails to commit. #648 #649

0.51

25 Mar 09:22
Compare
Choose a tag to compare

Update setup.py to pack tests directory and publish to pypi.

0.50

21 Mar 03:20
Compare
Choose a tag to compare
  • New session store MemoryStore, used to save a session in memory.
    Should be useful where there are limited fs writes to the disk, like
    flash memories. #174
  • Fixed: not support samesite=none. #592
  • Fixed Python-3 compatibility issues: #574, #576.
  • Support tuple and set in sqlquote().
  • Drop support for SQL driver pgdb. It was dead, you cannot even find its
    website or download link.
  • Drop support for SQL driver psycopg. The latest version was released in
    2006 (14 years ago), please use psycopg2 instead.
  • Removed function web.safemarkdown. if it's used in your application, you
    can install the Markdown module from pypi
    (https://pypi.org/project/Markdown/), then replace web.safemarkdown() by
    markdown.markdown().

0.40

27 Sep 05:51
Compare
Choose a tag to compare

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)
  • 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)