v1.9November 08, 2017
- 📌 Pin Celery to version 4.1.0.
Issue #165_: Fix path to breadcrumbs template.
Issue #167_: Fix 'autologin' and 'require_activation' settings.
Issue #169_: Reflective sitemap reuses dbsession.
Issue #170_: Enums now support distinct names/values.
Do not ignore the prefix setting in get_engine.
👍 Allow using settings in celery configs.
👌 Support setting transaction isolation level.
🚚 Sqlite support is being deprecated, will be removed in 1.0b1.
Issue #162_: Enforce timezone to be 'True' on UTCDateTime.
Issue #155_: AttributeError: 'super' has no attribute update_first_login_social_data on first user login.
Issue #157_: Changing User's Username / Email in Admin Crashes.
➕ Added code style validations.
Correctly allow overriding title for listing views.
⬇️ Dropped Python 3.4 support.
➕ Added support for Pyramid 1.9
➕ Added support for Python 3.6
Issue #29_: Allow setting redis.sessions.url and websauna.celery_config from secrets file
♻️ Refactor SocialLoginMapper: separate ABC and Interface to their own classes.
Enable Twitter login
👉 Use proper JSON field for
User.user_datain the admin interfaces
RetryableTransactionTasknow correctly retries the Celery tasks. Previously the second attempt did not get full Celery task context meaning the tasks usually failed. Furthermore we no longer use pyramid_tm inside Celery tasks, but Websauna specific retryable decorator.
⚡️ Update jQuery to 3.1.1. Old jQuery is kept in the source tree for backwards compatibility.
➕ Added :py:class:
websauna.system.crud.views.CSVListingand user CSV export
request.application_urlcomes from :ref:
websauna.site_urlsetting and does not default to localhost
Write the session cookie and Redis session data only if something was stored in the session. This makes it more scalable to serve anonymous pages, as one does not need to reset the cookie on every crawling request.
typing <https://pypi.python.org/pypi/typing>_ instead of
backports.typing <https://pypi.python.org/pypi/backports.typing>_ for Python 3.4.
Issue #29_: Replace pcreate with cookiecutter.
📚 Reworked the rules for JSONB columns and their default values. See
JSON column documentation for more information <https://websauna.org/docs/narrative/modelling/json.html>_.
🛠 Fix user.user_data not correctly populated when user was created from command line, as reported by @mazz
- Require Python 3.5.2 or newer on 3.5.x series, as 3.5.1 contains a bug in typing module preventing Websauna to run ( https://gist.github.com/mazz/b31fb5a89605548868a91abb91f8faf8 ) - reported by @mazz
Issue #212_: Pin to Redis version 2.10.6.
Issue #213_: Remove unused FormView.customize_schema().
Issue #209_: Use pgcrypto instead of uuid-ossp (Postgres).
Issue #215_: UUIDModelSet now supports a label_column parameter on its constructor.
➕ Add Missing icon_class Property
⬆️ Upgrades Celery to version 4.3.
⬆️ Upgrades redis-py to version 3.2.
⬆️ Upgrades pytz to version 2019.1.
👌 Support pytest 4.x.
♻️ Refactor validator for unique values.
🗄 Replace deprecated logger.warn with logger.warning.
Replace deprecated pyramid.session.check_csrf_token with pyramid.csrf.check_csrf_token.
⬆️ Upgrades transaction to version 2.4.0.
Issue #206_: New implementation of ThreadTransactionManager breaks websauna.
⬆️ Upgrades Pyramid to version 1.10.