Rele

Latest version: v1.15.2

Safety actively analyzes 688746 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.7.0

-------------------
* BREAKING: Remove Django as a dependency (95)
* More documentation

0.6.0

-------------------
* BREAKING: Remove drf as a dependency (91)
* Add message as a parameter for middleware hooks (99)
* Check setting.CONN_MAX_AGE and warn when not 0 (97)
* More documentation

0.5.0

-------------------
* ``python manage.py showsubscriptions`` command
* Configurable ENCODER setting
* Move DEFAULT_ACK_DEADLINE to the RELE config
* More documentation

0.4.1

-------------------
* Ability to install app only with rele
* Define default filter_by in settings.RELE

0.4.0

-------------------

* Set ``DEFAULT_ACK_DEADLINE`` (49)
* Filter by message attributes (66)
* BREAKING: All Relé settings are defined in a dict (60)

Old structure:

.. code:: python

from google.oauth2 import service_account
RELE_GC_CREDENTIALS = service_account.Credentials.from_service_account_file(
'rele/settings/dummy-credentials.json'
)
RELE_GC_PROJECT_ID = 'dummy-project-id'

New structure:

.. code:: python

from google.oauth2 import service_account
RELE = {
'GC_CREDENTIALS': service_account.Credentials.from_service_account_file(
'rele/settings/dummy-credentials.json'
),
'GC_PROJECT_ID': 'dummy-project-id',
'MIDDLEWARE': [
'rele.contrib.LoggingMiddleware',
'rele.contrib.DjangoDBMiddleware',
],
'SUB_PREFIX': 'mysubprefix',
'APP_NAME': 'myappname',
}

* ``rele.contrib.middleware`` (55)
* Prefix argument in sub decorator (47)
* Add timestamp to the published message (42)
* BREAKING: Explicit publisher and subscriber configuration (43)
* Sphinx documentation (27, 34, 40, 41)
* Contributing guidelines (32)

0.3.1

-------------------

* Add prometheus metrics key to logs (16 - 20, 22, 23)
* Fix JSON serialization when publishing (25)

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.