gitlab allianceauth/allianceauth v3.0.0

latest releases: v4.11.0, v4.10.0, v4.9.0...
3 years ago

Alliance Auth 3

AA3 wraps up a series of major updates to our dependencies

  • Drops support for Python 3.7
  • Drops Django-Redis-Cache for Django-Redis>=5.2.0
  • Django >=4.0
  • Celery >=5.2
  • Redis-py >=4.0

Community Apps will likely require updating before moving to AA 3, a compatibility tracker is available here https://gitlab.com/allianceauth/allianceauth/-/issues/1332

Apps known to stop working with 3.0.0. You must remove or transition away from these apps before updating to 3.0.0

Updating

  • Activate your venv
  • Check your Community Apps for compatibility, and update them.
  • Remove or transition away from unsupported community apps (like ImicusFAT and AA Buyback)
  • Check your Python version is >=3.8 with python --version, https://allianceauth.readthedocs.io/en/v2.15.1/installation/upgrade_python.html
  • Remove packages AA is replacing pip uninstall django-redis-cache sleekxmpp
  • Update AA with pip install --upgrade allianceauth>=3.0.0
  • allianceauth update /home/allianceserver/myauth

Manual changes that need to be applied:

  • nano myauth/myauth/urls.py
  • Change from django.conf.urls import include, url to from django.conf.urls import include
  • Add from django.urls import re_path right below the changed line
  • Look for any instance of url(...) and replace it with re_path(...)
  • python /home/allianceserver/myauth/manage.py migrate
  • python /home/allianceserver/myauth/manage.py collectstatic
  • supervisorctl restart myauth:

Changes included in AA v3.1.0 included here as fixes

  • nano myauth/myauth/settings/local.py

  • Add the following lines, adjusting as necessary (Ideally directly below SITE_NAME).
    ```python

    This is your website's URL, set it accordingly

    SITE_URL = "https://example.com"

Django security

CSRF_TRUSTED_ORIGINS = [SITE_URL]
```

Whats New

Changes

Fixes

Dev

Breaking Notices for developers

3.0.0 includes all changes from 2.15.1 and earlier

Docker Image Tag: registry.gitlab.com/allianceauth/allianceauth/auth:v3.0.0.

Don't miss a new allianceauth release

NewReleases is sending notifications on new releases.