Repository navigation
release: 0.3.0 (resource indicators, AGPL relicense, dependency updates) - #16
Merged
Merged
Conversation
Bumps python from 3.14-slim to 3.15-slim. --- updated-dependencies: - dependency-name: python dependency-version: 3.15-slim dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…pdates Bumps the python-minor group with 19 updates in the / directory: | Package | From | To | | --- | --- | --- | | [django](https://github.com/django/django) | `6.1.2` | `6.1.3` | | [django-ninja](https://github.com/vitalik/django-ninja) | `1.7.1` | `1.8.0` | | [joserfc](https://github.com/authlib/joserfc) | `1.7.5` | `1.8.0` | | [mypy](https://github.com/python/mypy) | `2.4.0` | `2.4.1` | | [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.17.0` | `0.17.6` | | [asgiref](https://github.com/django/asgiref) | `3.12.1` | `3.13.0` | | [ast-serialize](https://github.com/mypyc/ast_serialize) | `0.13.0` | `0.13.1` | | [coverage](https://github.com/coveragepy/coveragepy) | `7.16.2` | `7.17.4` | | [librt](https://github.com/mypyc/librt) | `0.16.0` | `0.17.0` | | [mypy-extensions](https://github.com/python/mypy_extensions) | `1.1.0` | `1.2.0` | | [psycopg](https://github.com/psycopg/psycopg) | `3.3.6` | `3.3.9` | | [psycopg-binary](https://github.com/psycopg/psycopg) | `3.3.6` | `3.3.9` | | [pycparser](https://github.com/eliben/pycparser) | `3.11` | `3.12` | | [pydantic](https://github.com/pydantic/pydantic) | `2.14.1` | `2.14.4` | | [pydantic-core](https://github.com/pydantic/pydantic) | `2.50.1` | `2.50.5` | | [sqlparse](https://github.com/andialbrecht/sqlparse) | `0.6.0` | `0.6.1` | | [typing-inspection](https://github.com/pydantic/typing-inspection) | `0.4.4` | `0.4.5` | | [tzdata](https://github.com/python/tzdata) | `2026.5` | `2026.6` | Updates `django` from 6.1.2 to 6.1.3 - [Commits](django/django@6.1.2...6.1.3) Updates `django-ninja` from 1.7.1 to 1.8.0 - [Release notes](https://github.com/vitalik/django-ninja/releases) - [Commits](vitalik/django-ninja@v1.7.1...v1.8.0) Updates `joserfc` from 1.7.5 to 1.8.0 - [Release notes](https://github.com/authlib/joserfc/releases) - [Changelog](https://github.com/authlib/joserfc/blob/main/docs/changelog.rst) - [Commits](authlib/joserfc@1.7.5...1.8.0) Updates `mypy` from 2.4.0 to 2.4.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v2.4.0...v2.4.1) Updates `pytest` from 9.1.1 to 9.2.0 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@9.1.1...9.2.0) Updates `ruff` from 0.17.0 to 0.17.6 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.17.0...0.17.6) Updates `asgiref` from 3.12.1 to 3.13.0 - [Changelog](https://github.com/django/asgiref/blob/main/CHANGELOG.txt) - [Commits](django/asgiref@3.12.1...3.13.0) Updates `ast-serialize` from 0.13.0 to 0.13.1 - [Commits](mypyc/ast_serialize@v0.13.0...v0.13.1) Updates `coverage` from 7.16.2 to 7.17.4 - [Release notes](https://github.com/coveragepy/coveragepy/releases) - [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst) - [Commits](coveragepy/coveragepy@7.16.2...7.17.4) Updates `librt` from 0.16.0 to 0.17.0 - [Commits](mypyc/librt@v0.16.0...v0.17.0) Updates `mypy-extensions` from 1.1.0 to 1.2.0 - [Commits](python/mypy_extensions@1.1.0...1.2.0) Updates `psycopg` from 3.3.6 to 3.3.9 - [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst) - [Commits](psycopg/psycopg@3.3.6...3.3.9) Updates `psycopg-binary` from 3.3.6 to 3.3.9 - [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst) - [Commits](psycopg/psycopg@3.3.6...3.3.9) Updates `pycparser` from 3.11 to 3.12 - [Release notes](https://github.com/eliben/pycparser/releases) - [Commits](eliben/pycparser@release_v3.11...release_v3.12) Updates `pydantic` from 2.14.1 to 2.14.4 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](pydantic/pydantic@v2.14.1...v2.14.4) Updates `pydantic-core` from 2.50.1 to 2.50.5 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](pydantic/pydantic@core-v2.50.1...core-v2.50.5) Updates `sqlparse` from 0.6.0 to 0.6.1 - [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG) - [Commits](andialbrecht/sqlparse@0.6.0...0.6.1) Updates `typing-inspection` from 0.4.4 to 0.4.5 - [Release notes](https://github.com/pydantic/typing-inspection/releases) - [Changelog](https://github.com/pydantic/typing-inspection/blob/main/HISTORY.md) - [Commits](pydantic/typing-inspection@v0.4.4...v0.4.5) Updates `tzdata` from 2026.5 to 2026.6 - [Release notes](https://github.com/python/tzdata/releases) - [Changelog](https://github.com/python/tzdata/blob/master/NEWS.md) - [Commits](python/tzdata@2026.5...2026.6) --- updated-dependencies: - dependency-name: django dependency-version: 6.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: django-ninja dependency-version: 1.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: joserfc dependency-version: 1.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: mypy dependency-version: 2.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: pytest dependency-version: 9.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: ruff dependency-version: 0.17.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: asgiref dependency-version: 3.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: ast-serialize dependency-version: 0.13.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: coverage dependency-version: 7.17.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: librt dependency-version: 0.17.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: mypy-extensions dependency-version: 1.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: psycopg dependency-version: 3.3.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: psycopg-binary dependency-version: 3.3.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: pycparser dependency-version: '3.12' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor - dependency-name: pydantic dependency-version: 2.14.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: pydantic-core dependency-version: 2.50.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: sqlparse dependency-version: 0.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: typing-inspection dependency-version: 0.4.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-minor - dependency-name: tzdata dependency-version: '2026.6' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Replace the MIT text with the AGPL-3.0 licence, update the README badges and licence line, and add a pointer to CONTRIBUTING, SECURITY and the changelog.
The resource parameter on authorization, pushed authorization and token requests selects a token's aud from the new OAUTH_RESOURCES setting. The default audience stays valid. - Each token has exactly one audience; a token request names at most one resource, and a grant covering several needs the request to choose. - Unknown, out-of-grant or client-disallowed resources are refused with invalid_target. Refresh stays within the grant and re-checks the registry. - Clients get a resources allow-list (create_client --resource); the consent page names the resources a request asks for. - Migration 0002 adds resources to clients, codes and token families.
Refresh uv.lock and requirements.txt, and raise the minimum versions of django-ninja, gunicorn, joserfc, psycopg, redis, pytest and ruff.
Version bump and changelog for resource indicators and the dependency updates.
…67ca3' into develop # Conflicts: # requirements.txt
A semicolon in a note ends the statement in Mermaid, and the raw <token> is read as an HTML tag. Reword the note and escape the angle brackets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resourceon authorization, PAR and token requests selects a single-audienceaudfrom the newOAUTH_RESOURCESsetting. Unknown, out-of-grant or client-disallowed resources getinvalid_target; refresh stays within the grant. Clients get aresourcesallow-list (create_client --resource) and the consent page names requested resources. Migration0002_resource_indicators.Test plan
make check(ruff, mypy strict, 313 tests on SQLite + fakeredis)make interopagainst the Dart client