Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
1051817
Correctly rename command package
May 10, 2019
d881a75
Merge pull request #2 from mercadona/fix-command-runrele
tobami May 13, 2019
44bc569
Remove more pubsy references
andrewgy8 May 13, 2019
3ea1252
Add code of conduct
andrewgy8 May 13, 2019
8d842ed
Non-blocking behaviour when publishing by default.
andrewgy8 May 13, 2019
54f9e80
Merge pull request #6 from mercadona/optional-blocking-when-publishing
andrewgy8 May 13, 2019
8ec9959
Merge pull request #5 from mercadona/remove-pubsy-from-creds
andrewgy8 May 13, 2019
c317979
Typo
May 9, 2019
ecf7065
Setup tox.ini envs and travis-ci
May 9, 2019
0b36e33
Add build status badge
tobami May 13, 2019
1b5e0dd
Reduce and fix test matrix.
tobami May 13, 2019
c8ec1cb
Specify the python version when running each tox version
andrewgy8 May 13, 2019
c97910b
remove 3.5
andrewgy8 May 13, 2019
a47c448
Run with python, not coverage
andrewgy8 May 13, 2019
55ca1ed
Remove tox.
andrewgy8 May 13, 2019
106b7a1
remove python 3.5
andrewgy8 May 13, 2019
7c249cb
Merge pull request #1 from mercadona/configure-travis-ci
andrewgy8 May 13, 2019
0f6bb31
Merge pull request #4 from mercadona/code-of-conduct
andrewgy8 May 13, 2019
69e74eb
Add code owners.
andrewgy8 May 13, 2019
dfb6068
Both of us are requested when a PR goes through.
andrewgy8 May 13, 2019
ff17316
Merge pull request #9 from mercadona/code-owners
andrewgy8 May 13, 2019
eae7179
Add publish function.
tobami May 13, 2019
45fe1de
Move requirements to directory
andrewgy8 May 13, 2019
7c1b5b1
Update readme
andrewgy8 May 13, 2019
a2a6ef7
Remove uncessary omitted files from setup.cfg
andrewgy8 May 13, 2019
feabc4a
Add linting to travis
andrewgy8 May 13, 2019
45765a2
Update README with new publish function
tobami May 13, 2019
a99b045
Merge pull request #11 from mercadona/friendlier-global-publish
tobami May 13, 2019
12d4e6f
Install requires djangorestframework
andrewgy8 May 13, 2019
db88a14
Merge pull request #10 from mercadona/move-requirements
andrewgy8 May 13, 2019
3a59ce5
Initialize clients without credentials when PUBSUB_EMULATOR_HOST is s…
tobami May 14, 2019
e5e6d6a
Merge pull request #12 from mercadona/emulator-setting
tobami May 14, 2019
e28ed18
Release version 0.3.0
tobami May 14, 2019
99640b8
Deploy script for travis
andrewgy8 May 15, 2019
18ee4d0
Use twine when deploying locally
andrewgy8 May 15, 2019
7071844
deploy with python
andrewgy8 May 16, 2019
ad54ea0
Remove deploy step in travis.
andrewgy8 May 17, 2019
2081dd4
Merge pull request #13 from mercadona/deploy-via-travis
andrewgy8 May 20, 2019
6c3b6df
Add docs to sub decorator
andrewgy8 May 20, 2019
9c708a4
Formatting of the doc strings
andrewgy8 May 20, 2019
e24c9d0
Add docstrings to the sub decorator
andrewgy8 May 20, 2019
0ab4637
Add metrics in subscription log (#16)
LluisGuiVi May 30, 2019
9ad5f20
Adapt metrics to prometheus (#17)
Petrus230 May 30, 2019
6c7af07
Reestructure log format metrics
Petrus230 May 31, 2019
a4b3d97
Change subscription for subscriptions
Petrus230 May 31, 2019
2d7f37d
Change duration for duration_seconds
Petrus230 May 31, 2019
29505f1
Remove duration seconds from information log about the start of subsc…
jjponz May 31, 2019
2743383
Set debug level on start processing messsage log
jjponz May 31, 2019
1ee31b7
Improve test reading
jjponz May 31, 2019
f174fb3
Fix linting problems
Petrus230 May 31, 2019
edb4def
Use -1 to access of failure log in test
jjponz May 31, 2019
ef96d19
Merge pull request #19 from mercadona/reestructure-log-format-metrics
jjponz May 31, 2019
ae590e3
Parse as None an empty message (#21)
tobami May 31, 2019
7a7a404
Add metrics to error log
Petrus230 May 31, 2019
2ab1ed9
Log time duration to process a subscription
Petrus230 May 31, 2019
83b34fd
Add prometheus metrics key to logs.
jjponz May 31, 2019
57615da
Use drf jsonencoder, not renderer (#25)
tobami Jun 4, 2019
64fbd10
Release rele 0.3.1 (#26)
tobami Jun 4, 2019
b5d503d
Initial sphinx documentation (#27)
Jun 6, 2019
59d5839
Setup github pages to work off docs/ (#29)
tobami Jun 6, 2019
1d45480
Add github task to generate html on github (#30)
Jun 6, 2019
bb63815
Add task to install development dependencies (#28)
Jun 7, 2019
8855cb0
Contributing guidelines (#32)
andrewgy8 Jun 8, 2019
8c8318e
Display logo in the readme (#33)
andrewgy8 Jun 8, 2019
c9ff135
Changes to use readthedocs (#34)
Jun 10, 2019
7a98c63
Add rtd link to readme (#37)
andrewgy8 Jun 10, 2019
29edb64
Add tutorial of how to run rele and pub sub emulator (#40)
Jun 11, 2019
7782d36
Publish function docs (#41)
andrewgy8 Jun 11, 2019
911054b
Explicitly pass publisher and subscriber configuration (#43)
tobami Jun 12, 2019
a271a27
Readme enhancements (#45)
daniel-ruiz Jun 12, 2019
fc1803a
Subscriber prefix param (#47)
antoniobusrod Jun 12, 2019
662cea4
Add codecov (#46)
jonasae Jun 12, 2019
5553d56
Add timestamp to published message (#42)
Jun 13, 2019
9db6037
Update contributing. (#52)
jonasae Jun 13, 2019
6dc5704
Move all modules docs to docs/modules (#58)
Jun 14, 2019
365dd23
Parametrize subscription ack deadline (#49)
daniel-ruiz Jun 14, 2019
fd11315
Middlewares (#55)
tobami Jun 14, 2019
3843f12
Add links to publish docs (#56)
andrewgy8 Jun 14, 2019
ca2523b
Increase Codecov from 54% to 90% (#57)
andrewgy8 Jun 14, 2019
c35e31b
Register contrib package in setup.py (#61)
daniel-ruiz Jun 14, 2019
c2a58c5
Decouple django settings (#60)
andrewgy8 Jun 14, 2019
72b37a3
Use find_packages in setup.py (#63)
andrewgy8 Jun 14, 2019
2ae4bbe
Fix linting (#64)
andrewgy8 Jun 14, 2019
926068c
Filter by message attributes (#66)
daniel-ruiz Jun 14, 2019
3f2a39e
Update quickstart documentation (#67)
daniel-ruiz Jun 14, 2019
8a68c8f
Prepare changelog and bump version (#68)
andrewgy8 Jun 17, 2019
28a4174
Remove codecov comments (#69)
andrewgy8 Jun 17, 2019
7c04018
Add Edgar and Dani as codeowners (#70)
tobami Jun 17, 2019
ec34f49
Filter by message attributes (#72)
Jun 18, 2019
8f7173c
Add possibility to use rele in django apps (#75)
Jun 18, 2019
a8c2936
Bump verion with default filter and defalut app config (#76)
Jun 18, 2019
d5da13c
Fix the readme docs settings.RELE (#74)
andrewgy8 Jun 19, 2019
588e35f
Add showsubscriptions command (#73)
daniel-ruiz Jun 19, 2019
f990acd
Add Authors file with the current contributors (#79)
andrewgy8 Jun 25, 2019
4f649a4
Black style linting (#77)
andrewgy8 Jun 25, 2019
99c6938
Settings docs (#81)
andrewgy8 Jul 3, 2019
9c66ac8
Json encoder class is configurable in the Publisher client Class (#82)
andrewgy8 Jul 8, 2019
019d00f
ENCODER settings config (#84)
andrewgy8 Aug 8, 2019
b293a7e
Move default ack deadline to the rele config dict (#87)
andrewgy8 Aug 9, 2019
383839a
Prepare 0.5.0 release (#88)
andrewgy8 Aug 9, 2019
ca10495
Basics documentation (#89)
andrewgy8 Aug 12, 2019
c87244f
Document subscriber client (#92)
andrewgy8 Aug 27, 2019
ff80626
Remove drf as a dependency (#91)
andrewgy8 Aug 27, 2019
ba1f807
Write 'Message attributes' section (#93)
antoniobusrod Sep 2, 2019
8132c1b
Add message as a parameter for middleware hooks (#99)
sanntt Sep 19, 2019
8eb48d9
Check setting.CONN_MAX_AGE and warn when not 0 (#97)
andrewgy8 Sep 21, 2019
b42630e
Prepare version 0.6.0 (#100)
andrewgy8 Sep 23, 2019
0481e8a
Fix settings docs (#102)
andrewgy8 Sep 27, 2019
751202f
Document middleware (#101)
andrewgy8 Sep 28, 2019
fc20600
Remove django as a core requirement. (#95)
andrewgy8 Sep 28, 2019
5d3ba1a
Remove django middleware from init so it can be used as standalone (#…
andrewgy8 Sep 30, 2019
2b9fd3d
Update LICENSE (#107)
andrewgy8 Oct 17, 2019
719ce25
Split django specific docs and standalone docs (#108)
andrewgy8 Oct 21, 2019
013f4a0
Prepare 0.7.0 release (#104)
andrewgy8 Oct 21, 2019
7d9b6b2
Update readme to include the quickstart in the guide (#109)
andrewgy8 Oct 22, 2019
6c2df91
Consolidate API docs to one file (#110)
andrewgy8 Oct 22, 2019
b6ebce3
Update index page in docs (#112)
andrewgy8 Oct 23, 2019
ccc4c4b
Add python 3.8 to travis (#111)
andrewgy8 Oct 25, 2019
8dcbd24
Clarify the docs (#115)
andrewgy8 Nov 4, 2019
a95bbea
Remove from Authors (#116)
menecio Nov 6, 2019
9071fe3
Update Readme (#117)
andrewgy8 Nov 6, 2019
a0ca59f
Add missing worker middleware hooks (#121)
craigmulligan Nov 21, 2019
2b4c2c2
Add kwargs to setup method passed through to middleware (#123)
andrewgy8 Nov 22, 2019
7bf0d96
Worker run method (#118)
andrewgy8 Nov 22, 2019
fd95c74
Bump version to 0.8.0 (#124)
andrewgy8 Nov 22, 2019
e029f13
Fix runrele command (#126)
andrewgy8 Nov 25, 2019
7688716
Update readme with a quick "What it looks like" section (#125)
andrewgy8 Nov 25, 2019
7976d54
Rele flask (#127)
craigmulligan Nov 27, 2019
e4887b9
Add message attributes to metrics log (#128)
antoniobusrod Nov 27, 2019
0057d07
add some basic docs on flask setup (#129)
craigmulligan Nov 27, 2019
c933521
Install with flask from pip (#130)
andrewgy8 Nov 28, 2019
2b17400
Add publishing timeout (#137)
andrewgy8 Dec 16, 2019
ea7de85
Add subscription ThreadPoolExecutor (#139)
andrewgy8 Dec 16, 2019
64ea75a
Clean up rele.config.setup + Worker() init (#132)
craigmulligan Dec 20, 2019
56966a3
Bump version to 0.9.0 (#131)
andrewgy8 Dec 20, 2019
0f2e678
Ack messages when data not json serializable (#141)
tobami Dec 31, 2019
81d45ad
Use ThreadScheduler instead of ThreadPoolExecutor (#145)
andrewgy8 Jan 1, 2020
539a711
Release 0.9.1 (#146)
andrewgy8 Jan 2, 2020
9ebdda5
Configure timeout from .publish() (#143)
andrewgy8 Jan 3, 2020
6951133
Dont crash when subscription topic does not exist (#142)
andrewgy8 Jan 3, 2020
8c9afe5
Allow multiple filters (#148)
jonasae Jan 13, 2020
63ca332
Add unrecoverable_middleware (#150)
craigmulligan Jan 20, 2020
fc74582
Adjust default THREADS_PER_SUBSCRIPTION (#152)
andrewgy8 Feb 4, 2020
dc5da8b
Changelog for 0.10.0 (#147)
andrewgy8 Feb 4, 2020
0ff6927
Add missing parameter to Message fixture (#154)
andrewgy8 Feb 17, 2020
f38b0dc
🐛 Fix UnrecoverableMiddleWare export and docs (#155)
Feb 22, 2020
7c93a5f
🐳 Add Dockerfile and commands in Makefile (#157)
Feb 24, 2020
4ffec8e
🚨 Add Black line length settings and apply them (#156)
Feb 24, 2020
e0a7b3d
Document attribute type limitations when publishing (#158)
luisgc93 May 9, 2020
8bec6c5
CLI (#160)
andrewgy8 May 25, 2020
af8359b
Rewrite Basic's docs to cover the CLI (#162)
andrewgy8 Jun 1, 2020
1f249d3
Bump version -- 0.11.0 (#163)
andrewgy8 Jun 4, 2020
364e56f
Add isort (#164)
luisgc93 Jun 8, 2020
03b5a8c
Add settings path to the cli (#166)
andrewgy8 Jun 11, 2020
f8c3c75
Bump 0.12.0 (#165)
andrewgy8 Jun 12, 2020
ec73350
Traverse all packages for subs.py files (#167)
andrewgy8 Jun 15, 2020
655daa5
Load class based subscribers (#168)
andrewgy8 Jun 16, 2020
d6362d6
Add docs for class based subscriptions (#169)
andrewgy8 Jun 18, 2020
d9d74b2
GC_CREDENTIALS_PATH setting option (#170)
andrewgy8 Jun 19, 2020
484894f
Deprecate GC_CREDENTIALS (#173)
andrewgy8 Jul 9, 2020
9f21bba
Update changelog for 0.13.0 release (#171)
andrewgy8 Jul 10, 2020
9d0dd4c
Remove GC_CREDENTIALS (#174)
andrewgy8 Jul 10, 2020
8dccce7
Add changelog to the docs site (#179)
andrewgy8 Jul 20, 2020
7c5ff19
Catch TimeoutError and run post_publish_failure when blocking (#172)
luisgc93 Jul 22, 2020
eb5bbd5
Deprecate GC_PROJECT_ID setting (#178)
andrewgy8 Jul 24, 2020
3f60044
0.14.0 release (#182)
andrewgy8 Aug 5, 2020
7075b46
Remove GC_PROJECT_ID (#183)
andrewgy8 Aug 25, 2020
a0f4b98
1.0.0 (#175)
andrewgy8 Sep 25, 2020
bed9ec3
Fix #180: Raise error when the config loads a repeated subscription (…
EmilioCarrion Oct 3, 2020
fd3882d
Discover and load settings when publishing (#188)
EmilioCarrion Oct 6, 2020
0ccadb3
Add new post_publish_hook and deprecate the old one (#190)
EmilioCarrion Oct 6, 2020
21c39cc
Support Python 3.9-dev (#191)
andrewgy8 Oct 8, 2020
6ef29cf
Add validations to the sub decorator (#189)
EmilioCarrion Oct 8, 2020
fd2a7e5
Google Pubsub 2.0 Compat (#192)
luisgc93 Feb 18, 2021
7ce66e0
Release 1.1.0 (#197)
andrewgy8 Mar 10, 2021
ca4c43b
Do not define default_app_config, it's deprecated (#199)
tobami Jun 22, 2021
7a09d6a
Do not implement deprecated middlewares in the base class (#200)
tobami Jun 22, 2021
3eced7f
Prepare v1.1.1 release (#205)
andrewgy8 Jun 28, 2021
0bbe0ab
Log post publish success (#204)
tobami Jun 28, 2021
b3f0186
Automatic topic creation (#206)
mgarcia0094 Sep 8, 2021
036f4c1
Added filter_subs_by setting in documentation (#208)
mgarcia0094 Sep 9, 2021
331b2dc
[CHANGED] TimeotError from publisher (#212)
Endika Dec 9, 2021
03b5c78
Bump version 1.2.0 (#213)
Endika Dec 10, 2021
d1f1a38
GC Project Id & Windows support (#215)
chirgjin-les Apr 4, 2022
bb62d88
Update changelog and version. (#216)
jonasae Apr 5, 2022
1b0fd82
[Added] Added a Logging Middleware that does not truncate mesage payl…
jorchube Apr 13, 2022
5a8c31b
Prepare for release v1.4.0 (#219)
jorchube Apr 13, 2022
def7ccd
[Deleted] Delete `post-publish-message-failure` hook on `VerboseLoggi…
jorchube Apr 20, 2022
301ddce
Add filter expressions to subscriptions (#207)
EmilioCarrion Apr 20, 2022
123a604
Prepare version 1.5.0 and fix sub decorator (#221)
EmilioCarrion Apr 20, 2022
5d05758
[Added] Implement auto restart of the consumption when futures are do…
EmilioCarrion Aug 3, 2022
3f34b60
Prepare version to 1.6.0 (#227)
EmilioCarrion Aug 4, 2022
99e082f
[Changed] Modify Dockerfile to work when using make docker commands (…
mgarcia0094 Aug 4, 2022
0b10834
fix(logging): subscription_message type was different (#228)
Maks3w Sep 29, 2022
50f641d
[travis] Run test suite with Python 3.10
Maks3w Oct 22, 2022
a66ed8f
[setup] Add 3.10 compatibility identifier
Maks3w Oct 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: off
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[*]
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
indent_style = space

[*.py]
indent_size = 4
max_line_length = 88

[*.{json,yml,html}]
indent_size = 2

[Makefile]
indent_style = tab
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @daniel-ruiz @EmilioCarrion @mgarcia0094 @AdamjGoddard
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### :tophat: What?

Provide a description of what has been implemented.

### :thinking: Why?

Give an explanation of why.

### :link: Related issue

Add related issue's number. Example: Fix #1
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
/dist/
/*.egg-info/
/env/
/venv/
MANIFEST
coverage.*
docs/_build

!.gitignore
!.travis.yml
!.isort.cfg
!.editorconfig
!.github
!.codecov.yml
21 changes: 21 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

python:
install:
- requirements: requirements/base.txt
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dist: bionic
sudo: false
notifications:
email: false

services:
- postgresql
addons:
postgresql: "9.6"

language: python
python:
- "3.6"
- "3.10"

install:
- make install-requirements
- make install-django-requirements
- make install-test-requirements

before_script:
- make lint
- psql -c 'create database travis_ci_test;' -U postgres

script:
- make coverage
- codecov

18 changes: 18 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Thank you to all the contributors to Relé!

* Andrew Graham-Yooll (@andrewgy8)
* Miquel Torres Barcelo (@tobami)
* Edgar Latorre (@edgarlatorre)
* Lluis Guirado (@LluisGuiVi)
* Daniel Ruiz (@dani-ruiz)
* Juanjo Ponz (@jjponz)
* Jose Antonio Navarro (@jonasae)
* Antonio Bustos Rodriguez (@antoniobusrod)
* David de la Iglesia (@ddelaiglesia) for the Logo!
* Santiago Lanús (@sanntt)
* Craig Mulligan (@hobochild)
* Daniel Demmel (@daaain)
* Luis Garcia Cuesta (@luisgc93)
* Chirag Jain (@chirgjin-les)
* Jordi Chulia (@jorchube)
* Emilio Carrión (@EmilioCarrion)
6 changes: 0 additions & 6 deletions CHANGELOG.md

This file was deleted.

193 changes: 193 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
Changelog
=========

1.6.0 (2022-08-03)
-------------------
* [Added] Implement auto restart of the consumption when futures are done or cancelled. (#226)

1.5.0 (2022-04-20)
-------------------
* [Added] Add filter expressions to subscriptions. (#207)

1.4.1 (2022-04-19)
-------------------
* [Modified] Fixed bug in the post-publish-failure VerboseLoggingMiddleware hook. (#220)

1.4.0 (2022-04-13)
-------------------
* [Added] Added a VerboseLoggingMiddleware that does not truncate mesage payload. (#218)

1.3.0 (2022-04-04)
-------------------
* GC Project Id & Windows support (#215)

1.2.0 (2021-12-10)
-------------------
* [CHANGED] TimeotError from publisher (#212)
* Added filter_subs_by setting in documentation (#208)
* Automatic topic creation (#206)
* Log post publish success (#204)

1.1.1 (2021-6-28)
-------------------
* Do not define default_app_config, it's deprecated (#199)
* Do not implement deprecated middlewares in the base class (#200)

1.1.0 (2021-3-10)
-------------------
* Google Pubsub 2.0 Compat (#192)
* Add validations to the sub decorator (#189)
* Add new post_publish_hook and deprecate the old one (#190)
* Discover and load settings when publishing (#188)
* Fix #180: Raise error when the config loads a repeated subscription (#187)

1.0.0 (2020-9-25)
-------------------
* BREAKING: Remove GC_PROJECT_ID (#183)

0.14.0 (2020-8-5)
-------------------
* BREAKING: Remove GC_CREDENTIALS (#174)
* Add changelog to the docs site (#179)
* Catch TimeoutError and run post_publish_failure when blocking (#172)
* Deprecate GC_PROJECT_ID setting (#178)

0.13.0 (2020-7-9)
-------------------
* Add documentation for class based subscriptions (#169)
* Deprecate GC_CREDENTIALS setting (#173)
* GC_CREDENTIALS_PATH setting option (#170)

0.13.dev0 (2020-6-16)
---------------------
* Traverse all packages to autodiscover all subs.py modules (#167)
* Auto-discovery of class based subscriptions (#168)

0.12.0 (2020-6-12)
-------------------
* Added ``--settings`` path option in CLI (#166)
* Added isort linting (#164)

0.11.0 (2020-6-4)
-------------------
* CLI feature (#160)
* Documentation Enhancements (#158, #155, #162)
* Testing Improvements (#154, #157)

0.10.0 (2020-2-4)
-------------------
* Adjust default THREADS_PER_SUBSCRIPTION (#152)
* Add unrecoverable_middleware (#150)
* Allow multiple filters (#148)
* Configure timeout from .publish() (#143)
* Dont crash when subscription topic does not exist (#142)

0.9.1 (2020-1-2)
-------------------
* Ack messages when data not json serializable (#141)
* Use ThreadScheduler instead of ThreadPoolExecutor (#145)

0.9.0 (2019-12-20)
-------------------
* Flask support via middleware (#127)
* Add message attributes to metrics log (#128)
* Specify number of threads per subscriber with Subscription ThreadPoolExecutor (#139)
* Publishing timeout while blocking (#137)
* Clean up rele.config.setup + Worker() init (#132)

0.8.1 (2019-11-25)
-------------------
* Fix runrele command

0.8.0 (2019-11-22)
-------------------
* Worker run method (#118)
* Add kwargs to setup method passed through to middleware (#123)
* Add missing worker middleware hooks (#121)
* Add 3.8 support
* More Documentation

0.7.0 (2019-10-21)
-------------------
* BREAKING: Remove Django as a dependency (#95)
* More documentation

0.6.0 (2019-09-21)
-------------------
* 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 (2019-08-08)
-------------------
* ``python manage.py showsubscriptions`` command
* Configurable ENCODER setting
* Move DEFAULT_ACK_DEADLINE to the RELE config
* More documentation

0.4.1 (2019-06-18)
-------------------
* Ability to install app only with rele
* Define default filter_by in settings.RELE

0.4.0 (2019-06-17)
-------------------

* 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 (2019-06-04)
-------------------

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

0.3.0 (2019-05-14)
-------------------

* Ability to run in emulator mode (#12)
* Add Travis-CI builds (#10)
* More friendly global publish (#11)
* Non-blocking behaviour when publishing by default (#6)

0.2.0 (2019-05-09)
-------------------

* Initial version
77 changes: 77 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Contributor Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

Loading