Transfer copyright, bump version

This commit is contained in:
Kroket Ltd
2022-11-13 02:12:23 +02:00
parent 65b44db7df
commit 3e6b102b34
8 changed files with 22 additions and 14 deletions
+6 -1
View File
@@ -1,7 +1,12 @@
### 1.0.6
- MongoDB support
- Transfer copyright to Kroket Ltd.
### 1.0.3 2021-08-31
- Migrated to aioredis 2
- SameSite support https://github.com/sanderfoobar/quart-session/commit/8daae3a6734e8f7da13954d5a1a5da8f5fc5a49a
- SameSite support https://github.com/kroketio/quart-session/commit/8daae3a6734e8f7da13954d5a1a5da8f5fc5a49a
- Memcached stuff https://github.com/filak/quart-session/commit/004871c495a069784e57e604b69f65af1b7e645a
### 1.0.0 2020-01-15
+1 -1
View File
@@ -1,5 +1,5 @@
Copyright (c) 2014 by Shipeng Feng.
Copyright (c) 2020 by Sander.
Copyright (c) 2020 by Kroket Ltd.
Some rights reserved.
+1
View File
@@ -7,3 +7,4 @@ recursive-include quart_session *.md
exclude .gitlab-ci.yml
exclude examples
exclude docs
exclude venv
+3 -1
View File
@@ -144,9 +144,11 @@ app.session_interface.serialize = pickle
At any point you may interface with the session back-end directly:
```python3
from quart_session.sessions import SessionInterface
@app.route("/")
async def hello():
cache = app.session_interface
cache: SessionInterface = app.session_interface
await cache.set("random_key", "val", expiry=3600)
data = await cache.get("random_key")
```
+1 -1
View File
@@ -5,7 +5,7 @@
Quart-Session demo.
:copyright: (c) 2020 by Sander.
:copyright: (c) 2020 by Kroket Ltd.
:license: BSD, see LICENSE for more details.
"""
from quart import Quart, session
+2 -2
View File
@@ -6,11 +6,11 @@
Adds server session support to your application.
:copyright: (c) 2014 by Shipeng Feng.
:copyright: (c) 2020 by Sander.
:copyright: (c) 2020 by Kroket Ltd.
:license: BSD, see LICENSE for more details.
"""
__version__ = '1.0.5-dev'
__version__ = '1.0.6'
import os
+2 -2
View File
@@ -6,7 +6,7 @@
Server-side Sessions and SessionInterfaces.
:copyright: (c) 2014 by Shipeng Feng.
:copyright: (c) 2020 by Sander.
:copyright: (c) 2020 by Kroket Ltd.
:license: BSD, see LICENSE for more details.
"""
import time
@@ -194,7 +194,7 @@ class SessionInterface(QuartSessionInterface):
async def create(self, app: Quart):
raise NotImplementedError()
async def get(self, app: Quart, key: str):
async def get(self, key: str, app: Quart = None):
raise NotImplementedError()
async def set(self, key: str, value, expiry: int = None,
+5 -5
View File
@@ -9,7 +9,7 @@ Links
`````
* `Github
<https://github.com/sferdi0/quart-session>`_
<https://github.com/kroketio/quart-session>`_
"""
from setuptools import setup
@@ -24,11 +24,11 @@ INSTALL_REQUIRES = [
setup(
name='Quart-Session',
version='1.0.5-dev',
url='https://github.com/sferdi0/quart-session',
version='1.0.6',
url='https://github.com/kroketio/quart-session',
license='BSD',
author='Sander',
author_email='sander@sanderf.nl',
author='Kroket Ltd.',
author_email='code@kroket.io',
description='Adds server-side session support to your Quart application',
long_description=long_description,
long_description_content_type='text/markdown',