Skip to content

chore: bump version to 0.6.2 - #393

Merged
oc-tmueller merged 3 commits into
release-0.6from
chore/bump-version-0.6.2
Sep 9, 2026
Merged

chore: bump version to 0.6.2#393
oc-tmueller merged 3 commits into
release-0.6from
chore/bump-version-0.6.2

Conversation

@oc-tmueller

Copy link
Copy Markdown
Contributor

Release 0.6.2 of the OAuth2 app for ownCloud 10.

  • appinfo/info.xml: version 0.6.1 -> 0.6.2. The dependency block is deliberately unchanged
    (owncloud min-version="10.11" max-version="10", php min-version="7.4") - this is the
    ownCloud 10 line.
  • CHANGELOG.md: 0.6.2 section and compare links, with [Unreleased] now pointing at
    release-0.6 rather than master.

Contents of the release: the backport of #389 - the token endpoint and the bearer auth module no
longer split the stored user id at the first colon. That parsing was a leftover of the
login name:user id format which only v0.5.0 - v0.5.2 ever wrote; the stored value is now treated
as an opaque user id.


Third in the stack: #391 -> #392 -> this. GitHub retargets this PR to release-0.6 as the
ones below it merge. Merge in order, then v0.6.2 gets tagged on release-0.6.

oc-tmueller and others added 3 commits September 9, 2026 10:27
The 0.6 line was branched from v0.6.1, whose tree still carries the drone
configuration only. Releases are tag triggered through
.github/workflows/release.yml, and GitHub resolves that file from the tagged
commit, so without the workflows a v0.6.x tag would build nothing at all and
the branch would have no CI.

Port the workflow set from master, adapted for this line:

- CI and the dist build run on php 7.4 against owncloud/core 10.16, because
  appinfo/info.xml declares max-version="10" and php min-version="7.4".
- Trivy builds the tree to scan with php 7.4 for the same reason.
- The acceptance job is left out: the reusable acceptance workflow installs a
  hardcoded owncloud-daily-master-qa.tar.bz2 (11.x) with the
  owncloudci/core:php83 image and offers no input to point it elsewhere, so an
  app declaring max-version="10" cannot be enabled on that server.

Signed-off-by: Thomas M眉ller <323649642+oc-tmueller@users.noreply.github.com>
The token endpoint and the bearer auth module split the user id stored on an
authorization code, access token or refresh token at the first colon and then
resolved whatever user the remainder named. That is a leftover of the
`login name:user id` format which only v0.5.0 - v0.5.2 ever wrote:
e5b508c restored raw user id storage in 2022, so the parsers see a plain user
id today, and a legacy pair value cannot reach them either - authorization
codes expire after 10 minutes, access tokens after 1 hour, and refresh tokens
were always stored with the already-split value.

The parsing is therefore dead code, and a user id which legitimately contains
a colon must not be reinterpreted. Treat the stored value as an opaque user id
in all three places.

The AuthModuleTest case which asserted the splitting behaviour is replaced by
one asserting that the stored user id is used verbatim.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Thomas M眉ller <323649642+oc-tmueller@users.noreply.github.com>
Signed-off-by: Thomas M眉ller <323649642+oc-tmueller@users.noreply.github.com>
phil-davis
phil-davis previously approved these changes Sep 9, 2026
Base automatically changed from fix/opaque-user-id-0.6 to release-0.6 September 9, 2026 09:28
@phil-davis
phil-davis dismissed their stale review September 9, 2026 09:28

The base branch was changed.

@oc-tmueller
oc-tmueller merged commit 44902c6 into release-0.6 Sep 9, 2026
13 checks passed
@oc-tmueller
oc-tmueller deleted the chore/bump-version-0.6.2 branch September 9, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants