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
92 changes: 89 additions & 3 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
],
'web' => 'https://docs.nextcloud.com/server/32/admin_manual/maintenance/upgrade.html',
'eol' => '',
'eol' => '2026-09-27',
'minPHPVersion' => '8.1',
'signature' => 'uXHHzKxpeOeBu2SmN5iMnDrCMlsjse+ZrWf6Gndwcog9u0d6gxX1hd5vpxObt9lK
JMrLzzi0HFGfWXltOAz4+c0GymhPKn1yf1ZlzMDBzyk+aSWQzb6HQP5y+qaJ8IjJ
Expand Down Expand Up @@ -57,7 +57,7 @@
],
],
'web' => 'https://docs.nextcloud.com/server/32/admin_manual/maintenance/upgrade.html',
'eol' => '',
'eol' => '2026-09-27',
'minPHPVersion' => '8.1',
'signature' => 'uXHHzKxpeOeBu2SmN5iMnDrCMlsjse+ZrWf6Gndwcog9u0d6gxX1hd5vpxObt9lK
JMrLzzi0HFGfWXltOAz4+c0GymhPKn1yf1ZlzMDBzyk+aSWQzb6HQP5y+qaJ8IjJ
Expand Down Expand Up @@ -1525,12 +1525,98 @@
],
],
'beta' => [
'33' => [
'100' => [
'latest' => '33.0.0 beta 1',
'internalVersion' => '33.0.0.7',
'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip',
'downloads' => [
'bz2' => [
'0' => 'https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.tar.bz2',
'1' => 'https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.tar.bz2',
],
'zip' => [
'0' => 'https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.zip',
'1' => 'https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip',
],
],
'web' => 'https://docs.nextcloud.com/server/33/admin_manual/maintenance/upgrade.html',
'eol' => '',
'minPHPVersion' => '8.2',
'signature' => 'YwhU6JCa+lHIID+HAzQHjMG2vD8b6S22WQxFwXqJPVN5eiCnqbDjlLSJLsRPhx1M
fi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvM
kRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U
2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC
2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4l
HxwHl5+ghKCQm+jxgkXogw==',
'signatures' => [
'bz2' => 'WSB+fr9DOq0uhQrArlb1IMWrtmJ5qq/7flk3lzBRe/XatzMtRgbqmvAXIl98EGCS
kwE4T9P3qbtXSvmNHTJctVBeXKKOSxB02pC/oD/bZPfMFrQNr7DibBs8s6C2e/HN
D43V+So+fhEeSowYRGLwQ+ymGbKYOTMSK5keEfwKPvClkJEGePlz+JyOdRJP8pHH
AVB7pfqU98wVdYSM0QzWCu6m4jbLDhObM+gZFE19ZVAbjVPYOIu0WDG44b5SGd+p
C/X0F37zaqm0Et13PfkhVq90NEXKyrGFrCFFbf6lt/IX/iu4EAVOriKVfIXL5yGJ
CsdiHGw0gJbRWb9/13Q1JA==',
'zip' => 'YwhU6JCa+lHIID+HAzQHjMG2vD8b6S22WQxFwXqJPVN5eiCnqbDjlLSJLsRPhx1M
fi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvM
kRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U
2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC
2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4l
HxwHl5+ghKCQm+jxgkXogw==',
],
],
],
'32.0.3.2' => [
'100' => [
'latest' => '33.0.0 beta 1',
'internalVersion' => '33.0.0.7',
'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip',
'downloads' => [
'bz2' => [
'0' => 'https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.tar.bz2',
'1' => 'https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.tar.bz2',
],
'zip' => [
'0' => 'https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.zip',
'1' => 'https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip',
],
],
'web' => 'https://docs.nextcloud.com/server/33/admin_manual/maintenance/upgrade.html',
'eol' => '',
'minPHPVersion' => '8.2',
'signature' => 'YwhU6JCa+lHIID+HAzQHjMG2vD8b6S22WQxFwXqJPVN5eiCnqbDjlLSJLsRPhx1M
fi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvM
kRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U
2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC
2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4l
HxwHl5+ghKCQm+jxgkXogw==',
'signatures' => [
'bz2' => 'WSB+fr9DOq0uhQrArlb1IMWrtmJ5qq/7flk3lzBRe/XatzMtRgbqmvAXIl98EGCS
kwE4T9P3qbtXSvmNHTJctVBeXKKOSxB02pC/oD/bZPfMFrQNr7DibBs8s6C2e/HN
D43V+So+fhEeSowYRGLwQ+ymGbKYOTMSK5keEfwKPvClkJEGePlz+JyOdRJP8pHH
AVB7pfqU98wVdYSM0QzWCu6m4jbLDhObM+gZFE19ZVAbjVPYOIu0WDG44b5SGd+p
C/X0F37zaqm0Et13PfkhVq90NEXKyrGFrCFFbf6lt/IX/iu4EAVOriKVfIXL5yGJ
CsdiHGw0gJbRWb9/13Q1JA==',
'zip' => 'YwhU6JCa+lHIID+HAzQHjMG2vD8b6S22WQxFwXqJPVN5eiCnqbDjlLSJLsRPhx1M
fi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvM
kRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U
2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC
2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4l
HxwHl5+ghKCQm+jxgkXogw==',
],
],
],
],
'daily' => [
'32' => [
'33' => [
'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-master.zip',
'web' => 'https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html',
'eol' => '',
'minPHPVersion' => '8.2',
],
'32' => [
'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable32.zip',
'web' => 'https://docs.nextcloud.com/server/32/admin_manual/maintenance/upgrade.html',
'eol' => '2026-09-27',
'minPHPVersion' => '8.1',
],
'31' => [
Expand Down
4 changes: 4 additions & 0 deletions config/major_versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"33": {
"minPHP": "8.2"
},
"32": {
"eol": "2026-09-27",
"minPHP": "8.1"
},
"31": {
Expand Down
7 changes: 7 additions & 0 deletions config/releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,12 @@
"bz2": "LVriOQl5d9FGj0A6YuEO0iKuKctwk4qfrJsyrnPxBkbXZLlJ7p9am4m1k3K1MejgxGE2PQwS49feg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LsRPhx1Mfi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvMkRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4lHxwHl5+ghKCQm+jxgkXogw=="
}
}
}
49 changes: 49 additions & 0 deletions tests/integration/features/beta.feature
Original file line number Diff line number Diff line change
Expand Up @@ -701,3 +701,52 @@ Feature: Testing the update scenario of beta releases
OStU0ouyR0JcDFN1EGxW8N2qKnBKYRQaw7LbhV8KrCjXYMsP//mrm65XmuJVPrRr
/ufSNo7WR7pO3H/QOHn2bQ==
"""
Scenario: Updating Nextcloud latest 32 to 33 on the beta channel
Given There is a release with channel "beta"
And The received version is "32.0.3.2"
And The received PHP version is "8.2.0"
And the installation mtime is "11"
When The request is sent
Then The response is non-empty
And Update to version "33.0.0.7" is available
And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip"
And Download URLS contain "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip"
And Download URLS contain "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.tar.bz2"
And Download URLS contain "https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.zip"
And Download URLS contain "https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.tar.bz2"
And URL to documentation is "https://docs.nextcloud.com/server/33/admin_manual/maintenance/upgrade.html"
And EOL is "0"
And The signature is
"""
YwhU6JCa+lHIID+HAzQHjMG2vD8b6S22WQxFwXqJPVN5eiCnqbDjlLSJLsRPhx1M
fi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvM
kRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U
2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC
2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4l
HxwHl5+ghKCQm+jxgkXogw==
"""

Scenario: Updating Nextcloud 33 on the beta channel
Given There is a release with channel "beta"
And The received version is "33.0.0.0"
And The received PHP version is "8.2.0"
And the installation mtime is "11"
When The request is sent
Then The response is non-empty
And Update to version "33.0.0.7" is available
And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip"
And Download URLS contain "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip"
And Download URLS contain "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.tar.bz2"
And Download URLS contain "https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.zip"
And Download URLS contain "https://github.com/nextcloud-releases/server/releases/download/v33.0.0beta1/nextcloud-33.0.0beta1.tar.bz2"
And URL to documentation is "https://docs.nextcloud.com/server/33/admin_manual/maintenance/upgrade.html"
And EOL is "0"
And The signature is
"""
YwhU6JCa+lHIID+HAzQHjMG2vD8b6S22WQxFwXqJPVN5eiCnqbDjlLSJLsRPhx1M
fi+YSqE4XRb2vxpA0tmyECnu7XQ3FlNczq4/l5E8Kxh1lQgf3OQX1oVqAGBV3KvM
kRl9ioNf99anK+m53QEDKORLmCNp2HlwTfqmrCWdwC6Z5ZKCoO5/yg2sqpdLH66U
2EpgTAxHALpIGwoNUK6qNdX1oVxMMW5KqDfaRHxF7u6bWc7G+ZoQe5A1qAgi9dXC
2rIhWbW+SuJJMxvfH6smJRRSTQrK5JGq8aryroazCEKJLXiMJvWB/sx6PDUksZ4l
HxwHl5+ghKCQm+jxgkXogw==
"""
16 changes: 14 additions & 2 deletions tests/integration/features/daily.feature
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Feature: Testing the update scenario of daily releases

Scenario: Updating an outdated Nextcloud 32 daily
Scenario: Updating an outdated Nextcloud 33 daily
Given There is a release with channel "daily"
And The received version is "32.1.0"
And The received version is "33.1.0"
And the received build is "2012-10-19T18:44:30+00:00"
When The request is sent
Then The response is non-empty
Expand All @@ -12,6 +12,18 @@ Feature: Testing the update scenario of daily releases
And EOL date is set to ""
And No signature is set

Scenario: Updating an outdated Nextcloud 32 daily
Given There is a release with channel "daily"
And The received version is "32.1.0"
And the received build is "2012-10-19T18:44:30+00:00"
When The request is sent
Then The response is non-empty
And Update to version "100.0.0.0" is available
And URL to download is "https://download.nextcloud.com/server/daily/latest-stable32.zip"
And URL to documentation is "https://docs.nextcloud.com/server/32/admin_manual/maintenance/upgrade.html"
And EOL date is set to "2026-09-27"
And No signature is set

Scenario: Updating an outdated Nextcloud 31 daily
Given There is a release with channel "daily"
And The received version is "31.1.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/features/latest.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Feature: Testing the latest endpoint
Given I want to know the latest beta release
When I send a request latest.php
Then The JSON response is non-empty
And Version "32.0.3" is the latest release
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-32.0.3.zip"
And Version "33.0.0 beta 1" is the latest release
And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-33.0.0beta1.zip"

Scenario: Get latest stable version with PHP 8.0
Given I want to know the latest stable release
Expand Down
Loading