Skip to content

Commit 98a1e65

Browse files
authored
Merge pull request #12926 from TeamNewPipe/release-0-28.1
Release v0.28.1 (1006)
2 parents 95a0e0c + 56489e5 commit 98a1e65

File tree

514 files changed

+8824
-4872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

514 files changed

+8824
-4872
lines changed

.editorconfig

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
# SPDX-FileCopyrightText: 2025 NewPipe e.V. <https://newpipe-ev.de>
3+
# SPDX-License-Identifier: GPL-3.0-or-later
4+
#
5+
6+
root = true
7+
8+
[*.{kt,kts}]
9+
ktlint_standard_annotation = disabled
10+
ktlint_standard_argument-list-wrapping = disabled
11+
ktlint_standard_backing-property-naming = disabled
12+
ktlint_standard_blank-line-before-declaration = disabled
13+
ktlint_standard_blank-line-between-when-conditions = disabled
14+
ktlint_standard_chain-method-continuation = disabled
15+
ktlint_standard_class-signature = disabled
16+
ktlint_standard_comment-wrapping = disabled
17+
ktlint_standard_enum-wrapping = disabled
18+
ktlint_standard_function-expression-body = disabled
19+
ktlint_standard_function-literal = disabled
20+
ktlint_standard_function-signature = disabled
21+
ktlint_standard_indent = disabled
22+
ktlint_standard_kdoc = disabled
23+
ktlint_standard_max-line-length = disabled
24+
ktlint_standard_mixed-condition-operators = disabled
25+
ktlint_standard_multiline-expression-wrapping = disabled
26+
ktlint_standard_multiline-if-else = disabled
27+
ktlint_standard_no-blank-line-in-list = disabled
28+
ktlint_standard_no-consecutive-comments = disabled
29+
ktlint_standard_no-empty-first-line-in-class-body = disabled
30+
ktlint_standard_no-empty-first-line-in-method-block = disabled
31+
ktlint_standard_no-line-break-after-else = disabled
32+
ktlint_standard_no-semi = disabled
33+
ktlint_standard_no-single-line-block-comment = disabled
34+
ktlint_standard_package-name = disabled
35+
ktlint_standard_parameter-list-wrapping = disabled
36+
ktlint_standard_property-naming = disabled
37+
ktlint_standard_spacing-between-declarations-with-annotations = disabled
38+
ktlint_standard_spacing-between-declarations-with-comments = disabled
39+
ktlint_standard_statement-wrapping = disabled
40+
ktlint_standard_string-template-indent = disabled
41+
ktlint_standard_trailing-comma-on-call-site = disabled
42+
ktlint_standard_trailing-comma-on-declaration-site = disabled
43+
ktlint_standard_try-catch-finally-spacing = disabled
44+
ktlint_standard_when-entry-bracing = disabled

.github/CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
NewPipe contribution guidelines
44
===============================
55

6+
## AI policy
7+
8+
* Using generative AI to develop new features or making larger code changes is generally prohibited. Please refrain from contributions which are heavily depending on AI generated source code because they are usually lacking a fundamental understanding of the overall project structure and thus come with poor quality. However, you are allowed to use gen. AI if you
9+
* are aware of the project structure,
10+
* ensure that the generated code follows the project structure,
11+
* fully understand the generated code, and
12+
* review the generated code completely.
13+
* Using AI to find the root cause of bugs and generating small fixes might be acceptable. However, gen. AI often does not fix the underlying problem but is trying to fix the symptoms. If you are using AI to fix bugs, ensure that the root cause is tackled.
14+
* The use of AI to generate documentation is allowed. We ask you to thoroughly check the quality of generated documentation – wrong, misleading or uninformative documentation is useless and wastes the reader's time. Ensure that reasoning is documented.
15+
* Using generative AI to write or fill in PR or issue templates is prohibited. Those texts are often lengthy and miss critical information.
16+
* PRs and issues that do not follow this AI policy can be closed without further explanation.
17+
18+
619
## Crash reporting
720

821
Report crashes through the **automated crash report system** of NewPipe.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ body:
2626
required: true
2727
- label: "I have read and understood the [contribution guidelines](https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md)."
2828
required: true
29+
- label: "I have read and understood the [AI policy](https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md#ai-policy). The content of this bug report is not generated by AI."
30+
required: true
2931

3032
- type: input
3133
id: app-version

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ body:
2525
required: true
2626
- label: "I have read and understood the [contribution guidelines](https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md)."
2727
required: true
28+
- label: "I have read and understood the [AI policy](https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md#ai-policy). The content of this request is not generated by AI."
29+
required: true
2830

2931

3032
- type: textarea

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#### What is it?
44
- [ ] Bugfix (user facing)
5-
- [ ] Feature (user facing)
5+
- [ ] Feature (user facing) ⚠️ **Your PR must target the [`refactor`](https://github.com/TeamNewPipe/NewPipe/tree/refactor) branch**
66
- [ ] Codebase improvement (dev facing)
77
- [ ] Meta improvement to the project (dev facing)
88

@@ -32,3 +32,5 @@ The APK can be found by going to the "Checks" tab below the title. On the left p
3232

3333
#### Due diligence
3434
- [ ] I read the [contribution guidelines](https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md).
35+
- [ ] The proposed changes follow the [AI policy](https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md#ai-policy).
36+
- [ ] I tested the changes using an emulator or a physical device.

.github/workflows/build-release-apk.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
release:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@v6
1111
with:
1212
ref: 'master'
1313

14-
- uses: actions/setup-java@v4
14+
- uses: actions/setup-java@v5
1515
with:
1616
distribution: 'temurin'
1717
java-version: '21'
@@ -32,7 +32,7 @@ jobs:
3232
mv app/build/outputs/apk/release/*.apk "app/build/outputs/apk/release/NewPipe_v$VERSION_NAME.apk"
3333
3434
- name: "Upload APK"
35-
uses: actions/upload-artifact@v4
35+
uses: actions/upload-artifact@v6
3636
with:
3737
name: app
3838
path: app/build/outputs/apk/release/*.apk

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
contents: read
3838

3939
steps:
40-
- uses: actions/checkout@v4
41-
- uses: gradle/wrapper-validation-action@v2
40+
- uses: actions/checkout@v6
41+
- uses: gradle/actions/wrapper-validation@v4
4242

4343
- name: create and checkout branch
4444
# push events already checked out the branch
@@ -48,7 +48,7 @@ jobs:
4848
run: git checkout -B "$BRANCH"
4949

5050
- name: set up JDK
51-
uses: actions/setup-java@v4
51+
uses: actions/setup-java@v5
5252
with:
5353
java-version: 21
5454
distribution: "temurin"
@@ -58,7 +58,7 @@ jobs:
5858
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint
5959

6060
- name: Upload APK
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@v6
6262
with:
6363
name: app
6464
path: app/build/outputs/apk/debug/*.apk
@@ -72,15 +72,15 @@ jobs:
7272
- api-level: 21
7373
target: default
7474
arch: x86
75-
- api-level: 33
76-
target: google_apis # emulator API 33 only exists with Google APIs
75+
- api-level: 35
76+
target: default
7777
arch: x86_64
7878

7979
permissions:
8080
contents: read
8181

8282
steps:
83-
- uses: actions/checkout@v4
83+
- uses: actions/checkout@v6
8484

8585
- name: Enable KVM
8686
run: |
@@ -89,7 +89,7 @@ jobs:
8989
sudo udevadm trigger --name-match=kvm
9090
9191
- name: set up JDK
92-
uses: actions/setup-java@v4
92+
uses: actions/setup-java@v5
9393
with:
9494
java-version: 21
9595
distribution: "temurin"
@@ -104,7 +104,7 @@ jobs:
104104
script: ./gradlew connectedCheck --stacktrace
105105

106106
- name: Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553
107-
uses: actions/upload-artifact@v4
107+
uses: actions/upload-artifact@v6
108108
if: failure()
109109
with:
110110
name: android-test-report-api${{ matrix.api-level }}
@@ -118,19 +118,19 @@ jobs:
118118
contents: read
119119

120120
steps:
121-
- uses: actions/checkout@v4
121+
- uses: actions/checkout@v6
122122
with:
123123
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
124124

125125
- name: Set up JDK
126-
uses: actions/setup-java@v4
126+
uses: actions/setup-java@v5
127127
with:
128128
java-version: 21
129129
distribution: "temurin"
130130
cache: 'gradle'
131131

132132
- name: Cache SonarCloud packages
133-
uses: actions/cache@v4
133+
uses: actions/cache@v5
134134
with:
135135
path: ~/.sonar/cache
136136
key: ${{ runner.os }}-sonar

.github/workflows/image-minimizer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121

22-
- uses: actions/setup-node@v4
22+
- uses: actions/setup-node@v6
2323
with:
2424
node-version: 16
2525

2626
- name: Install probe-image-size
2727
run: npm i probe-image-size@7.2.3 --ignore-scripts
2828

2929
- name: Minimize simple images
30-
uses: actions/github-script@v7
30+
uses: actions/github-script@v8
3131
timeout-minutes: 3
3232
with:
3333
script: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ captures/
77
*.iml
88
*~
99
.weblate
10+
.kotlin
1011
*.class
1112
app/debug/
1213
app/release/

0 commit comments

Comments
 (0)