Releases: QueraTeam/django-qsessions
Releases · QueraTeam/django-qsessions
Version 2.0.0
What's Changed
- Add support for Python 3.13 and drop support for Python 3.8.
Backward-incompatible changes:
- The IP is now read directly from the value of
REMOTE_ADDR
(instead of relying on django-ipware) for the same reason Django
removedSetRemoteAddrFromForwardedFor
middleware in 1.1. If you are using a reverse proxy, you should configure it to pass the real IP address in theREMOTE_ADDR
header, or you can write a custom version ofSetRemoteAddrFromForwardedFor
middleware which suits your environment. session.location
andsession.location_info
are now properties instead of methods.session.device
is now a property instead of a method and returns string.- The device object can be accessed using the new property
session.device_info
. - User agent parsing is now done using
ua-parser
instead ofuser-agents
.- The device object is now an instance of
ua_parser.core.Result
instead ofuser_agents.parsers.UserAgent
.
- The device object is now an instance of
Full Changelog: v1.1.5...v2.0.0
Version 1.1.5
What's Changed
- Add support for Python 3.12 and drop support for Python 3.7.
- Add support for Django 4.2, 5.0 and drop support for Django 3.2, 4.1.
- Replace the "SessionAdmin" class' readonly_fields with has_add_permission and has_change_permission by @ataylor32 in #21
New Contributors
- @ataylor32 made their first contribution in #21
Full Changelog: v1.1.4...v1.1.5
Version 1.1.4
- Add Django 4.1 support.
- Drop support for Python 3.6.
- Drop support for Django 2.2, 3.0, 3.1.
Version 1.1.3
- Add django 4.0 support.
- Remove django 1.11, 2.0, 2.1 support.
Version 1.1.2
Use gettext_lazy instead of ugettext_lazy
Version 1.1.1
v1.1.1 Update development status, Bump version 1.1.1
Version 1.1.0
Link to user in admin page
Version 1.0.1
Fix N+1 problem in admin page by adding user to select_related.
Version 1.0.0
I think everything is OK for releasing 1.0.0
since django-qsessions is working fine in production for long time.
- Drop support for Django 1.10.
- Drop support for Python 3.5, since its end of life is near. Plus, maxminddb doesn't support 3.5 anymore.
- Add Django 3.1 to support matrix.
Version 0.5.0
- Drop support for Python 2.
- Use
ipware.get_client_ip
instead ofipware.ip.get_real_ip
(which is removed sincedjango-ipware==3.0.0
) - Format source code using black