Releases: adfinis/django-generic-api-permissions
v0.4.7
v0.4.7 (2024-11-25)
Bug Fixes
- permissions: Make sure to first check the base permissions (
cd6979b
)
Currently we first check the generic permissions and the the views actual base permission. This doesn't make sense as we should first check e.g. whether a user is even authenticated before checking more specific permissions.
Chores
- deps-dev: Bump pytest-django from 4.8.0 to 4.9.0 (
a5ab7d0
)
Bumps pytest-django from 4.8.0 to 4.9.0.
updated-dependencies:
- dependency-name: pytest-django
dependency-type: direct:development
update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump djangorestframework from 3.14.0 to 3.15.2 (
963cfcb
)
Bumps djangorestframework from 3.14.0 to 3.15.2.
updated-dependencies:
- dependency-name: djangorestframework
dependency-type: direct:production
update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] support@github.com
- deps-dev: Bump pytest from 8.3.2 to 8.3.3 (
3e9059d
)
Bumps pytest from 8.3.2 to 8.3.3.
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump django from 4.2.13 to 4.2.16 (
9054023
)
Bumps django from 4.2.13 to 4.2.16.
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] support@github.com
- deps-dev: Bump ruff from 0.6.3 to 0.8.0 (
b62d896
)
Bumps ruff from 0.6.3 to 0.8.0.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] support@github.com
- deps-dev: Bump pytest from 8.2.1 to 8.3.2 (
50ece89
)
Bumps pytest from 8.2.1 to 8.3.2.
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] support@github.com
- deps-dev: Bump ruff from 0.4.6 to 0.6.3 (
773bcd3
)
Bumps ruff from 0.4.6 to 0.6.3.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] support@github.com
- deps-dev: Bump black from 23.12.1 to 24.4.2 (
58bf040
)
Bumps black from 23.12.1 to 24.4.2.
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-major ...
Signed-off-by: dependabot[bot] support@github.com
v0.4.6
v0.4.6 (2024-05-29)
Chore
- chore(deps): bump python-semantic-release/python-semantic-release
Bumps python-semantic-release/python-semantic-release from 8.3.0 to 9.7.3.
updated-dependencies:
- dependency-name: python-semantic-release/python-semantic-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> (d9655f1
)
- chore(deps-dev): bump ruff from 0.3.5 to 0.4.6
Bumps ruff from 0.3.5 to 0.4.6.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> (c614700
)
- chore(deps-dev): bump djangorestframework-jsonapi from 6.1.0 to 7.0.0
Bumps djangorestframework-jsonapi from 6.1.0 to 7.0.0.
updated-dependencies:
- dependency-name: djangorestframework-jsonapi
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> (abe4798
)
- chore(deps): bump django from 4.2.11 to 4.2.13
Bumps django from 4.2.11 to 4.2.13.
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> (33362de
)
- chore(deps-dev): bump pytest from 8.2.0 to 8.2.1
Bumps pytest from 8.2.0 to 8.2.1.
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> (90762a1
)
- chore(deps-dev): bump pytest from 8.1.1 to 8.2.0
Bumps pytest from 8.1.1 to 8.2.0.
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> (aaae000
)
Fix
- fix(permissions): extend drf permission methods
instead of calling permission in each specific method (create, etc.)
call super in check_object_permission (00580d8
)
Unknown
- Revert "chore(deps): bump python-semantic-release/python-semantic-release"
v0.4.5
v0.4.5 (2024-04-17)
Chore
-
chore: add CONTRIBUTING.md, allow running pytest directly in dev (#50)
Co-authored-by: Fabio Ambauen <1833932+open-dynaMIX@users.noreply.github.com> (4fd4a34
)
- chore(deps): bump django from 4.2.9 to 4.2.11
Bumps django from 4.2.9 to 4.2.11.
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> (a6b445d
)
- chore(deps-dev): bump ruff from 0.2.2 to 0.3.5
Bumps ruff from 0.2.2 to 0.3.5.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> (42d7930
)
Fix
- fix: don't check permissions for GET requests (#51)
Permissions should only deal with POST/PATCH/DELETE - GET requests
should be entirely governed by the visibility layer. (774f259
)
v0.4.4
v0.4.4 (2024-03-20)
Fix
- fix: add fallback for queryset of read_only related fields (#38)
Read only fields don't have a queryset (see
https://github.com/encode/django-rest-framework/blame/77ef27f18fc7c11e1d2e5fd4aaa8acc51cda6792/rest_framework/utils/field_mapping.py#L288), so we need to provide a fallback. (9f6ed09
)
v0.4.3
v0.4.3 (2024-03-15)
Chore
- chore(deps-dev): bump ruff from 0.1.11 to 0.2.2 (#30)
Bumps ruff from 0.1.11 to 0.2.2.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (c40eed7
)
Documentation
- docs(readme): fix typo in readme (
3a76b16
)
Fix
v0.4.2
v0.4.2 (2024-01-08)
Chore
-
chore(deps): revert semantic release to 8.3.0 (
9855045
) -
chore(deps): bump python-semantic-release/python-semantic-release (#16)
Bumps python-semantic-release/python-semantic-release from 8.7.0 to 8.7.2.
updated-dependencies:
- dependency-name: python-semantic-release/python-semantic-release
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (25eed91
)
- chore(deps): bump django from 4.2.8 to 4.2.9 (#15)
Bumps django from 4.2.8 to 4.2.9.
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5410af0
)
- chore(deps-dev): bump ruff from 0.1.9 to 0.1.11 (#14)
Bumps ruff from 0.1.9 to 0.1.11.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (4f80c4f
)
- chore: change semantic release commit message (
6d39527
)
Fix
- fix: pass correct request param for relationships (
0609f64
)
v0.4.1
v0.4.0
v0.4.0 (2024-01-03)
Chore
-
chore: fix version variable semantic release (
83a33d2
) -
chore: fix semantic release action version (
3ed75e0
)
Feature
- feat: migrate to poetry
add sematic release (41c9226
)
Fix
- fix: import after app is ready (
db1d1e6
)
Unknown
- Merge pull request #12 from adfinis/poetry
feat: migrate to poetry, semantic release (9a4ea26
)
- Merge pull request #11 from adfinis/fix-app-ready
fix: import after app is ready (6020979
)