Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/settings/composer/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
'OCA\\Settings\\SetupChecks\\LoggingLevel' => $baseDir . '/../lib/SetupChecks/LoggingLevel.php',
'OCA\\Settings\\SetupChecks\\MaintenanceWindowStart' => $baseDir . '/../lib/SetupChecks/MaintenanceWindowStart.php',
'OCA\\Settings\\SetupChecks\\MemcacheConfigured' => $baseDir . '/../lib/SetupChecks/MemcacheConfigured.php',
'OCA\\Settings\\SetupChecks\\MemcacheLegacy' => $baseDir . '/../lib/SetupChecks/MemcacheLegacy.php',
'OCA\\Settings\\SetupChecks\\MimeTypeMigrationAvailable' => $baseDir . '/../lib/SetupChecks/MimeTypeMigrationAvailable.php',
'OCA\\Settings\\SetupChecks\\MysqlRowFormat' => $baseDir . '/../lib/SetupChecks/MysqlRowFormat.php',
'OCA\\Settings\\SetupChecks\\MysqlUnicodeSupport' => $baseDir . '/../lib/SetupChecks/MysqlUnicodeSupport.php',
Expand Down
1 change: 0 additions & 1 deletion apps/settings/composer/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ class ComposerStaticInitSettings
'OCA\\Settings\\SetupChecks\\LoggingLevel' => __DIR__ . '/..' . '/../lib/SetupChecks/LoggingLevel.php',
'OCA\\Settings\\SetupChecks\\MaintenanceWindowStart' => __DIR__ . '/..' . '/../lib/SetupChecks/MaintenanceWindowStart.php',
'OCA\\Settings\\SetupChecks\\MemcacheConfigured' => __DIR__ . '/..' . '/../lib/SetupChecks/MemcacheConfigured.php',
'OCA\\Settings\\SetupChecks\\MemcacheLegacy' => __DIR__ . '/..' . '/../lib/SetupChecks/MemcacheLegacy.php',
'OCA\\Settings\\SetupChecks\\MimeTypeMigrationAvailable' => __DIR__ . '/..' . '/../lib/SetupChecks/MimeTypeMigrationAvailable.php',
'OCA\\Settings\\SetupChecks\\MysqlRowFormat' => __DIR__ . '/..' . '/../lib/SetupChecks/MysqlRowFormat.php',
'OCA\\Settings\\SetupChecks\\MysqlUnicodeSupport' => __DIR__ . '/..' . '/../lib/SetupChecks/MysqlUnicodeSupport.php',
Expand Down
2 changes: 0 additions & 2 deletions apps/settings/lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
use OCA\Settings\SetupChecks\LegacySSEKeyFormat;
use OCA\Settings\SetupChecks\MaintenanceWindowStart;
use OCA\Settings\SetupChecks\MemcacheConfigured;
use OCA\Settings\SetupChecks\MemcacheLegacy;
use OCA\Settings\SetupChecks\MimeTypeMigrationAvailable;
use OCA\Settings\SetupChecks\MysqlRowFormat;
use OCA\Settings\SetupChecks\MysqlUnicodeSupport;
Expand Down Expand Up @@ -195,7 +194,6 @@ public function register(IRegistrationContext $context): void {
$context->registerSetupCheck(LegacySSEKeyFormat::class);
$context->registerSetupCheck(MaintenanceWindowStart::class);
$context->registerSetupCheck(MemcacheConfigured::class);
$context->registerSetupCheck(MemcacheLegacy::class);
$context->registerSetupCheck(MimeTypeMigrationAvailable::class);
$context->registerSetupCheck(MysqlRowFormat::class);
$context->registerSetupCheck(MysqlUnicodeSupport::class);
Expand Down
59 changes: 0 additions & 59 deletions apps/settings/lib/SetupChecks/MemcacheLegacy.php

This file was deleted.

5 changes: 0 additions & 5 deletions build/psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3002,11 +3002,6 @@
<code><![CDATA[$this->timeFactory->getTime()]]></code>
</InvalidScalarArgument>
</file>
<file src="core/Command/Memcache/RedisCommand.php">
<DeprecatedClass>
<code><![CDATA[protected]]></code>
</DeprecatedClass>
</file>
<file src="core/Command/Security/BruteforceAttempts.php">
<DeprecatedMethod>
<code><![CDATA[getAttempts]]></code>
Expand Down
17 changes: 10 additions & 7 deletions config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -1795,9 +1795,16 @@
* Connection details for the Key-Value store used for in-memory caching,
* for example when using Valkey or Redis.
*
* This is the brand-independent successor of the ``redis`` and
* ``redis.cluster`` options below and supports the latest Valkey and Redis
* releases. Three topologies are supported:
* This is the brand-independent version of the ``redis`` and
* ``redis.cluster`` options below without depending on ``php-redis``
* meaning no additional PHP extension needs to be installed.
* Redis and Valkey 4.0 up to 8.0 are supported, for SSL support Redis v6 or higher is required,
* Valkey 9 is supported but without support for numbered databased when using cluster mode.
*
* Warning: If the cache server is not hosted on the same machine as Nextcloud,
* this can have a network overhead compared to the ``php-redis`` based backend below.
*
* Three topologies are supported:
* a single server, a Sentinel managed replication set, and a
* server cluster. Configure exactly one of ``server``, ``sentinel`` or
* ``seeds``.
Expand Down Expand Up @@ -1881,8 +1888,6 @@
*
* We also support Redis SSL/TLS encryption as of version 6.
* See https://redis.io/topics/encryption for more information.
*
* @deprecated 34.0.0 use `memcache.kvstore` instead which supports also Valkey.
*/
'redis' => [
'host' => 'localhost', // can also be a Unix domain socket: '/tmp/redis.sock'
Expand Down Expand Up @@ -1922,8 +1927,6 @@
*
* Authentication works with phpredis version 4.2.1+. See
* https://github.com/phpredis/phpredis/commit/c5994f2a42b8a348af92d3acb4edff1328ad8ce1
*
* @deprecated 34.0.0 use `memcache.kvstore` instead which supports also Valkey.
*/
'redis.cluster' => [
'seeds' => [ // provide some or all of the cluster servers to bootstrap discovery, port required
Expand Down
6 changes: 0 additions & 6 deletions lib/private/Memcache/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
use OCP\IMemcacheTTL;
use OCP\Server;

/**
* @deprecated 34.0.2 Legacy phpredis based backend. Kept so existing `redis`
* and `redis.cluster` configurations keep working. New setups should
* use {@see KeyValueCache} with the `memcache.kvstore` configuration,
* which also supports Valkey.
*/
class Redis extends Cache implements IMemcacheTTL {
/** name => [script, sha1] */
public const LUA_SCRIPTS = [
Expand Down
3 changes: 0 additions & 3 deletions lib/private/RedisFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

use OCP\Diagnostics\IEventLogger;

/**
* @deprecated 34.0.2 - use {@see \OC\Memcache\KeyValueCacheFactory} instead
*/
class RedisFactory {
public const REDIS_MINIMAL_VERSION = '4.0.0';
public const REDIS_EXTRA_PARAMETERS_MINIMAL_VERSION = '5.3.0';
Expand Down
Loading