Releases: openedx/edx-rbac
1.10.1 | add optional setting to "ignore" jwt.exceptions.InvalidTokenErrors
We get sporadic instances of this error that we'd prefer to just ignore as to not clutter our monitoring tools.
This can be used by setting RBAC_IGNORE_INVALID_JWT_COOKIE to True in applications that install this library.
1.10.0 | add optional setting to "ignore" jwt.exceptions.InvalidTokenErrors
We get sporadic instances of this error that we'd prefer to just ignore as to not clutter our monitoring tools.
This can be used by setting RBAC_IGNORE_INVALID_JWT_COOKIE to True in applications that install this library.
1.9.0
What's Changed
- feat: update pypa's publish branch away from master by @brobro10000 in #247
- build: Remove pycrypto system lib deletion hack by @timmc-edx in #250
- Python Requirements Update by @edx-requirements-bot in #252
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #253
- Python Requirements Update by @edx-requirements-bot in #255
- Python Requirements Update by @edx-requirements-bot in #258
- Python Requirements Update by @edx-requirements-bot in #260
- Python Requirements Update by @edx-requirements-bot in #261
- fix: Replaced whitelist_externals with allowlist_externals in tox and removed tox-battery by @edx-requirements-bot in #265
- docs: Update the security e-mail address. by @feanil in #266
- Python Requirements Update by @edx-requirements-bot in #271
- Python Requirements Update by @edx-requirements-bot in #272
- Python Requirements Update by @edx-requirements-bot in #277
- build(deps): bump actions/setup-python from 4 to 5 by @dependabot in #276
- Python Requirements Update by @edx-requirements-bot in #278
- chore: add reserved keywords linter by @arbabkhalil in #144
- Python Requirements Update by @edx-requirements-bot in #284
- Python Requirements Update by @edx-requirements-bot in #285
- Python Requirements Update by @edx-requirements-bot in #288
- Python Requirements Update by @edx-requirements-bot in #289
- Python Requirements Update by @edx-requirements-bot in #292
- Python Requirements Update by @edx-requirements-bot in #293
- build: remove Arbi-BOM from tagging on upgrade PRs by @edx-requirements-bot in #297
- Add support for python 3.11 & 3.12 by @irtazaakram in #290
New Contributors
- @brobro10000 made their first contribution in #247
- @arbabkhalil made their first contribution in #144
- @irtazaakram made their first contribution in #290
Full Changelog: 1.8.0...1.9.0
1.8.0
What's Changed
- fix: Install pip and pip-tools in upgrade script by @Jawayria in #165
- Fix github url strings (org edx -> openedx) by @sarina in #181
- fix: -t flag added in pull translation command by @edx-requirements-bot in #189
- Update standard workflow files. by @feanil in #207
- fix: update tx pull ccommand by @edx-requirements-bot in #209
- fix: remove codecov from requirements by @UsamaSadiq in #220
- docs: Update the contributing guidelines link. by @feanil in #223
- chore: Switch from edx-sphinx-theme to sphinx-book-theme by @xitij2000 in #217
- build: added dependabot config by @edx-requirements-bot in #219
- build: added reviewers in dependabot config by @edx-requirements-bot in #230
- build(deps): bump actions/setup-python from 2 to 4 by @dependabot in #226
- build(deps): bump codecov/codecov-action from 1 to 3 by @dependabot in #225
- build(deps): bump actions/checkout from 1 to 3 by @dependabot in #224
- fix: Added support for django 42 by @zubairshakoorarbisoft in #245
New Contributors
- @feanil made their first contribution in #207
- @xitij2000 made their first contribution in #217
- @dependabot made their first contribution in #226
- @zubairshakoorarbisoft made their first contribution in #245
Full Changelog: 1.7.0...1.8.0
1.7.0 | ``utils.get_role_auth_claim_for_user()`` now preserves the order of (role, context) pairs
v1.6.0
What's Changed
- Python Requirements Update by @edx-requirements-bot in #121
- feat: advertise constraints in setup.py by @edx-requirements-bot in #126
- Python Requirements Update by @edx-requirements-bot in #125
- Python Requirements Update by @edx-requirements-bot in #127
- Python Requirements Update by @edx-requirements-bot in #133
- Python Requirements Update by @edx-requirements-bot in #134
- Python Requirements Update by @edx-requirements-bot in #135
- Python Requirements Update by @edx-requirements-bot in #136
- refactor: Updated 'upgrade requirements' workflow to use reusable workflows by @edx-requirements-bot in #132
- Python Requirements Update by @edx-requirements-bot in #137
- Python Requirements Update by @edx-requirements-bot in #138
- Python Requirements Update by @edx-requirements-bot in #139
- Python Requirements Update by @edx-requirements-bot in #140
- Python Requirements Update by @edx-requirements-bot in #141
- Python Requirements Update by @edx-requirements-bot in #143
- chore: Post Django32 Cleanup by @edx-requirements-bot in #142
Full Changelog: 1.5.1...1.6.0
Fix RemovedInDjango40Warning
Replacing ugettext_lazy with gettext_lazy to resolve RemovedInDjango40Warning.
Added support for Django 3.0, 3.1 and 3.2
Added support for the following Django versions
- 3.0
- 3.1
- 3.2
1.4.2 | create_role_auth_claim_for_user() returns a list of *unique* (role:context) entries
Modifies create_role_auth_claim_for_user
to return a list of unique (role:context) entries, so that the JWT does not become too large to fit in cookies/headers.
1.4.1
- Add a
UserRoleAssignment.applies_to_all_contexts
field, because explicit is better than implicit.
See the ADR atdocs/decisions/0002-explicit-role-assignment-wildcard.rst
.