Skip to content

ci: bring back Oracle database coverage in GitHub Actions [full-ci] - #41808

Merged
oc-tmueller merged 3 commits into
masterfrom
ci/oracle-db-in-github-actions
Sep 7, 2026
Merged

oc-tmueller merged 3 commits into
masterfrom
ci/oracle-db-in-github-actions

Conversation

@oc-tmueller

@oc-tmueller oc-tmueller commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

The drone → GitHub Actions migration dropped the Oracle DB pipeline, and #41555 then removed the installer-side Oracle support, so an instance can no longer be installed against Oracle at all — even though the whole Oracle runtime layer (ConnectionFactory, OracleConnection, OracleMigrator, AdapterOCI8, OCIExpressionBuilder, plus Oracle branches in AppConfig, AllConfig, Files\Cache\Cache and many tests) is still shipped and untested.

This restores just enough to get that layer under test again.

1. CLI installer (feat:)

A partial revert of 95e3cde: OC\Setup\OCI, its dbSetupClasses entry, dbconnectionstring handling in AbstractDatabase, and the --database-connection-string option of maintenance:install.

The web installer is deliberately left unchanged — no template or setup.js change, and hasOracle is not re-added. getSupportedDatabases(false) reads the supportedDatabases config, which still defaults to sqlite, mysql, pgsql, so Oracle is not offered in the UI. This exists for CI coverage of code we still ship; it is not a re-declaration of production support for Oracle.

2. CI job (ci:)

php-unit.yml gains a databases input (defaulting to today's five jobs, so nothing changes for the existing matrix) and an oracle service on gvenzl/oracle-free:23-slim-faststart (23ai), using the same "empty image string disables the service" idiom as the existing mysql/postgres services.

Notable details:

  • The app user lives in the FREEPDB1 pluggable database, so --database-host is not passed; a connect string carrying SERVICE_NAME is used instead, and ConnectionFactory then takes its connectstring path.
  • oci8 is only requested from setup-php for Oracle jobs (setup-php resolves it in ~20s, no source build).
  • DB_TYPE is now exported to the Run PHPUnit step for Oracle only, so test-phpunit.sh narrows the run to --group DB as drone did. The other databases keep running the full suite exactly as today.

Unlike in drone ("Note: do not run Oracle by default in PRs"), the Oracle job runs on every pull request. It shares its display name with the existing php-unit job so all databases show up in one PHP Unit group of checks, but it stays a separate job because the acceptance jobs need php-unit and must not be gated on Oracle. A nightly schedule runs it as well.

3. One Oracle-specific bug found this way (fix:)

Oracle cannot store empty strings, so the file cache converts '' → null before writing a row (#31692). For the storage root, whose path is the empty string, that left md5(null), which PHP 8 reports as a deprecated implicit null-to-string conversion — log noise on every storage-root insert, and an error under PHPUnit's strict error handling. The stored path_hash itself was never wrong (md5(null) coerces to md5('')), so this is a cleanliness fix, not a data fix. This commit is separable if you would rather see it on its own.

Verification

Locally, against a real gvenzl/oracle-free:23-slim-faststart with oci8 3.4.0 and PHP 8.3:

  • the exact maintenance:install line from the workflow succeeds — 48 tables, 35 sequences, 35 triggers, 65 migrations
  • phpunit --group DB is green: Tests: 5421, Assertions: 35231, Skipped: 29

The 29 skips are pre-existing platform skips, including the three Oracle ones that were already in the tree (MDB2SchemaManagerTest::testAutoIncrement, MigratorTest::testDuplicateKeyUpgrade, ApiTest::testShareStorageMountPoint → doctrine/dbal#4687).

CI has since confirmed the two things only a runner could show: the oracle service was healthy after 67s and oci8 came from setup-php in 22s (no source build, so no extension cache is needed). The job takes 12 minutes end to end.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Technical debt

Checklist

  • Code changes
  • Changelog items
  • Documentation (not needed — no user-facing feature)
  • Tests

🤖 Generated with Claude Code

@oc-tmueller
oc-tmueller requested a review from a team as a code owner September 4, 2026 15:38
The Oracle database layer - ConnectionFactory, OracleConnection,
OracleMigrator, AdapterOCI8 and the OCI expression builder - has always
remained in the code base, but the setup class that makes it reachable
had been removed, so an instance could no longer be installed against
Oracle at all. That also meant no CI job could exercise that layer.

Restore OC\Setup\OCI, its dbSetupClasses entry, the dbconnectionstring
handling in AbstractDatabase and the --database-connection-string option
of maintenance:install.

The web installer is unchanged: Oracle is not offered there, because the
default supportedDatabases config still lists only sqlite, mysql and
pgsql.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
@oc-tmueller
oc-tmueller force-pushed the ci/oracle-db-in-github-actions branch from 6680154 to 566b274 Compare September 4, 2026 15:39
phil-davis
phil-davis previously approved these changes Sep 4, 2026
The drone to GitHub Actions migration dropped the Oracle pipeline. Bring
it back as a php-unit.yml matrix entry driven by a new databases input,
served by gvenzl/oracle-free:23-slim-faststart.

Oracle lives in the FREEPDB1 pluggable database, so the installer is
called with a connect string carrying SERVICE_NAME instead of a host.
The oci8 extension is only requested for Oracle jobs, and DB_TYPE is
only exported for Oracle so test-phpunit.sh narrows the run to
--group DB - the other databases keep running the full suite unchanged.

The Oracle job runs on every pull request and shares its display name
with the existing php-unit job, so all databases appear in one group of
checks. It remains a separate job because the acceptance jobs need
php-unit and must not be gated on Oracle. A nightly schedule runs it as
well.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
phil-davis
phil-davis previously approved these changes Sep 7, 2026
…racle

Oracle cannot store empty strings, so the file cache converts them to
null before writing a row. For the storage root, whose path is the empty
string, that left md5() being called with null: PHP 8 reports that as a
deprecated implicit null to string conversion, which is noise in the log
and an error under PHPUnit's strict error handling. The stored path_hash
itself was never wrong, because md5(null) coerces to md5('').

Found by running the PHPUnit DB suite against Oracle.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
@oc-tmueller
oc-tmueller force-pushed the ci/oracle-db-in-github-actions branch from 8984e01 to 8895581 Compare September 7, 2026 08:05
oc-tmueller added a commit that referenced this pull request Sep 7, 2026
…racle

Oracle cannot store empty strings, so the file cache converts them to
null before writing a row. For the storage root, whose path is the empty
string, that left md5() being called with null: PHP 8 reports that as a
deprecated implicit null to string conversion, which is noise in the log
and an error under PHPUnit's strict error handling. The stored path_hash
itself was never wrong, because md5(null) coerces to md5('').

Found by running the PHPUnit DB suite against Oracle.

Backport of #41808

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
@oc-tmueller
oc-tmueller merged commit 11085a6 into master Sep 7, 2026
51 checks passed
@oc-tmueller
oc-tmueller deleted the ci/oracle-db-in-github-actions branch September 7, 2026 09:08
oc-tmueller added a commit that referenced this pull request Sep 7, 2026
…0.16] (#41819)

* fix: avoid a deprecation notice when hashing the file cache path on Oracle

Oracle cannot store empty strings, so the file cache converts them to
null before writing a row. For the storage root, whose path is the empty
string, that left md5() being called with null: PHP 8 reports that as a
deprecated implicit null to string conversion, which is noise in the log
and an error under PHPUnit's strict error handling. The stored path_hash
itself was never wrong, because md5(null) coerces to md5('').

Found by running the PHPUnit DB suite against Oracle.

Backport of #41808

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* tmp: debug oracle client on php 7.4

To be dropped before merge.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* fix(composer): consume icewind deps from GitHub mirrors to survive Codeberg outages [10.16] (#41816)

fix(composer): consume icewind deps from GitHub mirrors to survive Codeberg outages

Backport of #41707 to 10.16.

owncloud CI intermittently fails because Composer must git-clone
icewind/streams and icewind/smb from codeberg.org (no dist archive on
Packagist), and Codeberg regularly returns HTTP 503/504. Every job that
installs Composer dependencies is affected, including "Make local core"
in downstream app builds.

Add VCS repositories pointing at the GitHub mirrors so Composer fetches a
dist zipball via the GitHub API and never touches Codeberg at install time.

Unlike master, 10.16 stays on icewind/smb v3.7.0: the 3.8.x line requires
php >= 8.2 while this branch pins platform php 7.4. Both packages are
re-locked at the exact refs already in the lock (smb e6904cb, streams
cb2bd3e), which the mirrors carry, so this is a pure source repoint with
no version change. No codeberg.org references remain in composer.lock.

Mirrors are kept in sync weekly by DeepDiver1975/codeberg-mirrors.

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>

* fix(db): introspect the Oracle schema in a fixed number of queries [10.16]

doctrine/dbal 2.13 describes a schema table by table: for every table it runs
one query for the columns, one for the indexes, one for the foreign keys and
one for the table comment. Every one of those inlines the table name as a
literal, so Oracle cannot share cursors and hard parses each of them at a cost
of a few hundred milliseconds. OC\DB\Migrator asks for the full schema once
per applied migration, which multiplies that per-table cost by the number of
migrations.

Add an OracleSchemaManager that reads the whole data dictionary in a fixed
number of queries and use it for Oracle connections. Reading a 48 table schema
drops from 194 to 6 queries, and occ maintenance:install against Oracle on
PHP 7.4 drops from 43 minutes to 30 seconds. doctrine/dbal itself works this
way from 3.4 onwards, so master is unaffected; its 3.x line cannot be pulled
into 10.16 because it changes public API that third-party apps rely on.

The introspected schema is unchanged. The added test asserts that the batched
result is identical to the stock one according to Doctrine's Comparator, and
that the query count does not grow with the number of tables.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

---------

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
oc-tmueller added a commit that referenced this pull request Sep 7, 2026
Oracle was never covered by the GitHub Actions workflows: in drone it ran
only in the nightly cron matrix, and that pipeline is not part of the
GitHub Actions setup. Add it as a php-unit.yml matrix entry driven by a
new databases input, served by gvenzl/oracle-free:23-slim-faststart.

Oracle lives in the FREEPDB1 pluggable database, so the installer is
called with a connect string carrying SERVICE_NAME instead of a host.
The oci8 extension is only requested for Oracle jobs, and DB_TYPE is
only exported for Oracle so test-phpunit.sh narrows the run to
--group DB - the other databases keep running the full suite unchanged.

The Oracle job runs on every pull request and shares its display name
with the existing php-unit job, so all databases appear in one group of
checks. It remains a separate job so that a slow or failing Oracle run
cannot cancel the other databases through fail-fast.

Backport of #41808

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
oc-tmueller added a commit that referenced this pull request Sep 7, 2026
…0.16] (#41819)

* fix: avoid a deprecation notice when hashing the file cache path on Oracle

Oracle cannot store empty strings, so the file cache converts them to
null before writing a row. For the storage root, whose path is the empty
string, that left md5() being called with null: PHP 8 reports that as a
deprecated implicit null to string conversion, which is noise in the log
and an error under PHPUnit's strict error handling. The stored path_hash
itself was never wrong, because md5(null) coerces to md5('').

Found by running the PHPUnit DB suite against Oracle.

Backport of #41808

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* tmp: debug oracle client on php 7.4

To be dropped before merge.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* fix(composer): consume icewind deps from GitHub mirrors to survive Codeberg outages [10.16] (#41816)

fix(composer): consume icewind deps from GitHub mirrors to survive Codeberg outages

Backport of #41707 to 10.16.

owncloud CI intermittently fails because Composer must git-clone
icewind/streams and icewind/smb from codeberg.org (no dist archive on
Packagist), and Codeberg regularly returns HTTP 503/504. Every job that
installs Composer dependencies is affected, including "Make local core"
in downstream app builds.

Add VCS repositories pointing at the GitHub mirrors so Composer fetches a
dist zipball via the GitHub API and never touches Codeberg at install time.

Unlike master, 10.16 stays on icewind/smb v3.7.0: the 3.8.x line requires
php >= 8.2 while this branch pins platform php 7.4. Both packages are
re-locked at the exact refs already in the lock (smb e6904cb, streams
cb2bd3e), which the mirrors carry, so this is a pure source repoint with
no version change. No codeberg.org references remain in composer.lock.

Mirrors are kept in sync weekly by DeepDiver1975/codeberg-mirrors.

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>

* fix(db): introspect the Oracle schema in a fixed number of queries [10.16]

doctrine/dbal 2.13 describes a schema table by table: for every table it runs
one query for the columns, one for the indexes, one for the foreign keys and
one for the table comment. Every one of those inlines the table name as a
literal, so Oracle cannot share cursors and hard parses each of them at a cost
of a few hundred milliseconds. OC\DB\Migrator asks for the full schema once
per applied migration, which multiplies that per-table cost by the number of
migrations.

Add an OracleSchemaManager that reads the whole data dictionary in a fixed
number of queries and use it for Oracle connections. Reading a 48 table schema
drops from 194 to 6 queries, and occ maintenance:install against Oracle on
PHP 7.4 drops from 43 minutes to 30 seconds. doctrine/dbal itself works this
way from 3.4 onwards, so master is unaffected; its 3.x line cannot be pulled
into 10.16 because it changes public API that third-party apps rely on.

The introspected schema is unchanged. The added test asserts that the batched
result is identical to the stock one according to Doctrine's Comparator, and
that the query count does not grow with the number of tables.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

---------

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
phil-davis pushed a commit that referenced this pull request Sep 8, 2026
…suite against Oracle again [10.16] (#41815)

* ci: run the PHPUnit DB suite against Oracle again

Oracle was never covered by the GitHub Actions workflows: in drone it ran
only in the nightly cron matrix, and that pipeline is not part of the
GitHub Actions setup. Add it as a php-unit.yml matrix entry driven by a
new databases input, served by gvenzl/oracle-free:23-slim-faststart.

Oracle lives in the FREEPDB1 pluggable database, so the installer is
called with a connect string carrying SERVICE_NAME instead of a host.
The oci8 extension is only requested for Oracle jobs, and DB_TYPE is
only exported for Oracle so test-phpunit.sh narrows the run to
--group DB - the other databases keep running the full suite unchanged.

The Oracle job runs on every pull request and shares its display name
with the existing php-unit job, so all databases appear in one group of
checks. It remains a separate job so that a slow or failing Oracle run
cannot cancel the other databases through fail-fast.

Backport of #41808

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* fix(db): introspect the Oracle schema in a fixed number of queries [10.16] (#41819)

* fix: avoid a deprecation notice when hashing the file cache path on Oracle

Oracle cannot store empty strings, so the file cache converts them to
null before writing a row. For the storage root, whose path is the empty
string, that left md5() being called with null: PHP 8 reports that as a
deprecated implicit null to string conversion, which is noise in the log
and an error under PHPUnit's strict error handling. The stored path_hash
itself was never wrong, because md5(null) coerces to md5('').

Found by running the PHPUnit DB suite against Oracle.

Backport of #41808

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* tmp: debug oracle client on php 7.4

To be dropped before merge.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* fix(composer): consume icewind deps from GitHub mirrors to survive Codeberg outages [10.16] (#41816)

fix(composer): consume icewind deps from GitHub mirrors to survive Codeberg outages

Backport of #41707 to 10.16.

owncloud CI intermittently fails because Composer must git-clone
icewind/streams and icewind/smb from codeberg.org (no dist archive on
Packagist), and Codeberg regularly returns HTTP 503/504. Every job that
installs Composer dependencies is affected, including "Make local core"
in downstream app builds.

Add VCS repositories pointing at the GitHub mirrors so Composer fetches a
dist zipball via the GitHub API and never touches Codeberg at install time.

Unlike master, 10.16 stays on icewind/smb v3.7.0: the 3.8.x line requires
php >= 8.2 while this branch pins platform php 7.4. Both packages are
re-locked at the exact refs already in the lock (smb e6904cb, streams
cb2bd3e), which the mirrors carry, so this is a pure source repoint with
no version change. No codeberg.org references remain in composer.lock.

Mirrors are kept in sync weekly by DeepDiver1975/codeberg-mirrors.

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>

* fix(db): introspect the Oracle schema in a fixed number of queries [10.16]

doctrine/dbal 2.13 describes a schema table by table: for every table it runs
one query for the columns, one for the indexes, one for the foreign keys and
one for the table comment. Every one of those inlines the table name as a
literal, so Oracle cannot share cursors and hard parses each of them at a cost
of a few hundred milliseconds. OC\DB\Migrator asks for the full schema once
per applied migration, which multiplies that per-table cost by the number of
migrations.

Add an OracleSchemaManager that reads the whole data dictionary in a fixed
number of queries and use it for Oracle connections. Reading a 48 table schema
drops from 194 to 6 queries, and occ maintenance:install against Oracle on
PHP 7.4 drops from 43 minutes to 30 seconds. doctrine/dbal itself works this
way from 3.4 onwards, so master is unaffected; its 3.x line cannot be pulled
into 10.16 because it changes public API that third-party apps rely on.

The introspected schema is unchanged. The added test asserts that the batched
result is identical to the stock one according to Doctrine's Comparator, and
that the query count does not grow with the number of tables.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

---------

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>

* ci: drop the temporary Oracle debug instrumentation

The Oracle job carried two pieces of throwaway diagnostics that were only
there to find out why maintenance:install took an hour on this branch: a
"TEMPORARY DEBUG - Oracle client" step probing oci8, the instant client
and a raw connect, and a v$session/v$sql sampler that wrapped the install
in a background job with a 90 minute kill timeout and printed the top SQL
afterwards.

That question is answered - it was doctrine/dbal 2.13's per table schema
introspection, fixed by #41819 - and the install is back to under a
minute, so the instrumentation has no reason to stay. Installing on
Oracle is a plain "php occ ${install_cmd}" again, like every other
database.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

---------

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
oc-tmueller added a commit that referenced this pull request Sep 25, 2026
Bump version.php to 11.0.1 and materialize the changelog fragments for
the first patch release of the 11.0 line.

$OC_Version becomes [11, 0, 1, 0]: the 4th digit is the internal
DB-upgrade patch level, not the public patch number, and nothing in this
release needs it moved.

The 15 fragments in changelog/unreleased/ move into
changelog/11.0.1_2026-09-25/ (git mv, so the renames stay tracked) and
CHANGELOG.md is regenerated with calens. unreleased/ keeps its .gitkeep
and is now empty, ready for the next cycle.

Security:

- #41827 reject SVG/script content before it reaches ImageMagick bitmap
  previews
- #41834 pin the Imagick coder for each preview provider
- #41856 prevent path traversal via appconfig public_/remote_ keys

Bugfixes:

- #41676 reduce priority of checkPropFind event
- #41779 do not echo secrets when setting config values via occ
- #41782 restore index usage for filecache writes on Oracle
- #41807 show federated users in the share dialog when local users also
  match
- #41808 avoid a deprecation notice when hashing the file cache path on
  Oracle
- #41824 ship only the app payload in the release tarballs
- #41835 release the file handle when a bitmap preview cannot be decoded
- #41855 show a media type icon when a preview file cannot be opened
- #41869 restrict federated address book sync to the trusted server

Changes:

- #41775 update PHP dependencies
- #41785 require rhukster/dom-sanitizer as a tagged release
- #41808 restore Oracle database support in the command line installer

The #41824 fragment is carried over from #41825, which prepared this
release on a release/v11.0.1 branch that the org maintenance ruleset
freezes after its first push; that branch cannot take the changelog
commit, so this supersedes it.

Once merged, v11.0.1 gets tagged on the merged commit and the release
bundles are built and published from owncloud/server-release.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
oc-tmueller added a commit that referenced this pull request Sep 25, 2026
Bump version.php to 10.16.5 and materialize the changelog fragments for
this release.

$OC_Version becomes [10, 16, 5, 0]: the 4th digit is the internal
DB-upgrade patch level, not the public patch number, and nothing in this
release needs it moved.

The 11 fragments in changelog/unreleased/ move into
changelog/10.16.5_2026-09-25/ (git mv, so the renames stay tracked) and
CHANGELOG.md is regenerated with calens. unreleased/ keeps its .gitkeep
and is now empty, ready for the next cycle.

Security:

- #41784 update PHP dependencies to close published advisories
- #41803 prevent path traversal via appconfig public_/remote_ keys
- #41827 reject SVG/script content before it reaches ImageMagick bitmap
  previews
- #41834 pin the Imagick coder for each preview provider

Bugfixes:

- #41782 restore index usage for filecache writes on Oracle
- #41808 avoid a deprecation notice when hashing the file cache path on
  Oracle
- #41814 show federated users in the share dialog when local users also
  match
- #41819 speed up Oracle schema introspection
- #41835 release the file handle when a bitmap preview cannot be decoded
- #41855 report a preview file that cannot be opened without logging
  noise

Changes:

- #41788 update PHP dependencies

Same shape as 852062d ("feat: release 10.16.4"), which did the changelog
and the version bump in one commit. Once merged, v10.16.5 gets tagged on
the merged commit and the release bundles are built and published from
owncloud/server-release.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
oc-tmueller added a commit that referenced this pull request Sep 25, 2026
* feat: release 10.16.5

Bump version.php to 10.16.5 and materialize the changelog fragments for
this release.

$OC_Version becomes [10, 16, 5, 0]: the 4th digit is the internal
DB-upgrade patch level, not the public patch number, and nothing in this
release needs it moved.

The 11 fragments in changelog/unreleased/ move into
changelog/10.16.5_2026-09-25/ (git mv, so the renames stay tracked) and
CHANGELOG.md is regenerated with calens. unreleased/ keeps its .gitkeep
and is now empty, ready for the next cycle.

Security:

- #41784 update PHP dependencies to close published advisories
- #41803 prevent path traversal via appconfig public_/remote_ keys
- #41827 reject SVG/script content before it reaches ImageMagick bitmap
  previews
- #41834 pin the Imagick coder for each preview provider

Bugfixes:

- #41782 restore index usage for filecache writes on Oracle
- #41808 avoid a deprecation notice when hashing the file cache path on
  Oracle
- #41814 show federated users in the share dialog when local users also
  match
- #41819 speed up Oracle schema introspection
- #41835 release the file handle when a bitmap preview cannot be decoded
- #41855 report a preview file that cannot be opened without logging
  noise

Changes:

- #41788 update PHP dependencies

Same shape as 852062d ("feat: release 10.16.4"), which did the changelog
and the version bump in one commit. Once merged, v10.16.5 gets tagged on
the merged commit and the release bundles are built and published from
owncloud/server-release.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* fix: correct three defects in the 10.16.5 release notes

Found reviewing the release commit, all three in text that ships inside the
tarball, so this is the last point at which they are free to fix.

**Six updated dependencies were unnamed.** Diffing composer.lock at v10.16.4
against this branch gives 17 changed production packages; the entry listed 11.
Missing: sabre/dav (4.7.0 to 4.7.1), sabre/event (5.1.7 to 5.1.9),
sabre/vobject (4.5.8 to 4.6.1), pimple/pimple (v3.6.1 to v3.6.2),
nikic/php-parser (v5.7.0 to v5.9.0) and dg/composer-cleaner (v2.2.1 to
v2.2.2). All but sabre/event are direct entries in composer.json's require,
and sabre/vobject is a minor bump of the vCard/iCalendar parser behind CalDAV
and CardDAV — an administrator auditing what moved in that stack for 10.16.5
would have seen nothing. Five of the six came from #41787, whose URL was
missing from the entry as well; nikic/php-parser then went on to v5.9.0 in
#41830, which was already listed. Earlier releases on this branch do list
sabre bumps here (10.10.0, 10.11.0, 10.12.0), so the omission also broke the
house convention.

**Two entries linked a pull request that never reached this branch.** #41819
was merged into ci/oracle-db-in-github-actions-10.16, an intermediate branch
that no longer exists on the remote; the change reached 10.16 through #41815
(9408736). Likewise the 41835 entry cited only master's #41835, while the
10.16 delivery was #41837 (6443822). Both now cite the 10.16 pull request
first, matching what 41827, 41834 and 41855 already do with #41863 — so
calens also makes the branch's own pull request the primary link.

CHANGELOG.md is regenerated with calens and, as on the rest of this branch,
written without a trailing newline: `ocrelease changelog` captures calens'
stdout through execa, which strips it, and every released section on 10.16 was
produced that way. Adding one here would only create churn at the next
release.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* chore: fold the federated address book sync fix into the 10.16.5 release notes

Its fix merged into 10.16 after the release notes were first prepared, so
its changelog fragment was still sitting in changelog/unreleased and would
have been deferred to the next release while the fix itself shipped in this
one.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

---------

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
oc-tmueller added a commit that referenced this pull request Sep 25, 2026
* feat: release 11.0.1

Bump version.php to 11.0.1 and materialize the changelog fragments for
the first patch release of the 11.0 line.

$OC_Version becomes [11, 0, 1, 0]: the 4th digit is the internal
DB-upgrade patch level, not the public patch number, and nothing in this
release needs it moved.

The 15 fragments in changelog/unreleased/ move into
changelog/11.0.1_2026-09-25/ (git mv, so the renames stay tracked) and
CHANGELOG.md is regenerated with calens. unreleased/ keeps its .gitkeep
and is now empty, ready for the next cycle.

Security:

- #41827 reject SVG/script content before it reaches ImageMagick bitmap
  previews
- #41834 pin the Imagick coder for each preview provider
- #41856 prevent path traversal via appconfig public_/remote_ keys

Bugfixes:

- #41676 reduce priority of checkPropFind event
- #41779 do not echo secrets when setting config values via occ
- #41782 restore index usage for filecache writes on Oracle
- #41807 show federated users in the share dialog when local users also
  match
- #41808 avoid a deprecation notice when hashing the file cache path on
  Oracle
- #41824 ship only the app payload in the release tarballs
- #41835 release the file handle when a bitmap preview cannot be decoded
- #41855 show a media type icon when a preview file cannot be opened
- #41869 restrict federated address book sync to the trusted server

Changes:

- #41775 update PHP dependencies
- #41785 require rhukster/dom-sanitizer as a tagged release
- #41808 restore Oracle database support in the command line installer

The #41824 fragment is carried over from #41825, which prepared this
release on a release/v11.0.1 branch that the org maintenance ruleset
freezes after its first push; that branch cannot take the changelog
commit, so this supersedes it.

Once merged, v11.0.1 gets tagged on the merged commit and the release
bundles are built and published from owncloud/server-release.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

* fix: name every updated PHP dependency in the 11.0.1 changelog

composer/semver (3.4.4 to 3.5.0) and nikic/php-parser (v5.8.0 to v5.9.0)
both moved since v11.0.0, both are direct entries in composer.json's
require, and neither was named in the fragment. Diffing composer.lock at
v11.0.0 against this branch gives 26 changed production packages; the
fragment listed 24.

Each was missed by the pass that bumped it: #41864 edited this fragment in
the same commit that raised composer/semver, and #41829 did the same for
nikic/php-parser. The list is not direct-only either — it already names
transitive dependencies such as guzzlehttp/psr7 and symfony/mime — so both
are omissions, not a scoping decision. An administrator reconciling the
11.0.1 notes against advisory ranges would read both as unchanged.

The four remaining differences are require-dev only (myclabs/deep-copy,
phpunit/phpunit, sebastian/exporter, sebastian/recursion-context) and stay
out, matching the fragment's existing production-only scope; the tarball
installs --no-dev.

Also restores CHANGELOG.md's trailing newline. `ocrelease changelog` writes
calens' stdout as captured by execa, which strips it; the last six
"chore: update changelog" revisions of the file all end in one, and so does
calens' own output, so the next regeneration would have put it back as a
one-line no-op diff.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>

---------

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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