Skip to content

Commit 7b2e32d

Browse files
authored
chore: Merge branch dev to main (#2657)
2 parents 7bfdd8b + f18edb2 commit 7b2e32d

File tree

65 files changed

+275
-92
lines changed

Some content is hidden

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

65 files changed

+275
-92
lines changed

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ body:
7171
Before creating a new feature request, please keep the following in mind:
7272
7373
- **Do not submit a duplicate feature request**: You can review existing feature requests [here](https://github.com/ReVanced/revanced-patches/labels/Feature%20request).
74-
- **Review the contribution guidelines**: Make sure your bug report adheres to it. You can find the guidelines [here](https://github.com/ReVanced/revanced-patches/blob/main/CONTRIBUTING.md).
74+
- **Review the contribution guidelines**: Make sure your feature request adheres to it. You can find the guidelines [here](https://github.com/ReVanced/revanced-patches/blob/main/CONTRIBUTING.md).
7575
- **Do not use the issue page for support**: If you need help or have questions, check out other platforms on [revanced.app](https://revanced.app).
7676
- type: textarea
7777
attributes:

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# [4.1.0-dev.2](https://github.com/ReVanced/revanced-patches/compare/v4.1.0-dev.1...v4.1.0-dev.2) (2024-02-04)
2+
3+
4+
### Features
5+
6+
* **YouTube:** Support version `19.04.37` ([#2687](https://github.com/ReVanced/revanced-patches/issues/2687)) ([c23e023](https://github.com/ReVanced/revanced-patches/commit/c23e0233cf5c28d354132443d227b42ddc4a3dad))
7+
8+
# [4.1.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v4.0.3-dev.2...v4.1.0-dev.1) (2024-02-02)
9+
10+
11+
### Features
12+
13+
* **YouTube - Custom filter:** Custom filtering of the protocol buffer ([#2682](https://github.com/ReVanced/revanced-patches/issues/2682)) ([872a5b6](https://github.com/ReVanced/revanced-patches/commit/872a5b6d8969ab1569cd57ece3c400c3741049be))
14+
15+
## [4.0.3-dev.2](https://github.com/ReVanced/revanced-patches/compare/v4.0.3-dev.1...v4.0.3-dev.2) (2024-02-01)
16+
17+
18+
### Bug Fixes
19+
20+
* **Infinity for Reddit - Unlock subscription:** Restore functionality on v7.0.0 ([bf19af9](https://github.com/ReVanced/revanced-patches/commit/bf19af99cb522f9027a4b3ae42d6258ac71758e5))
21+
22+
## [4.0.3-dev.1](https://github.com/ReVanced/revanced-patches/compare/v4.0.2...v4.0.3-dev.1) (2024-01-28)
23+
24+
25+
### Bug Fixes
26+
27+
* **YouTube:** Correctly show channel page on tablet devices ([#2656](https://github.com/ReVanced/revanced-patches/issues/2656)) ([c7c9700](https://github.com/ReVanced/revanced-patches/commit/c7c9700d93caeae105916d33376670f525276fac))
28+
129
## [4.0.2](https://github.com/ReVanced/revanced-patches/compare/v4.0.1...v4.0.2) (2024-01-28)
230

331

api/revanced-patches.api

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,10 @@ public final class app/revanced/patches/youtube/layout/startupshortsreset/Disabl
14201420
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
14211421
}
14221422

1423+
public final class app/revanced/patches/youtube/layout/startupshortsreset/fingerprints/UserWasInShortsFingerprint : app/revanced/patcher/fingerprint/MethodFingerprint {
1424+
public static final field INSTANCE Lapp/revanced/patches/youtube/layout/startupshortsreset/fingerprints/UserWasInShortsFingerprint;
1425+
}
1426+
14231427
public final class app/revanced/patches/youtube/layout/tablet/EnableTabletLayoutPatch : app/revanced/patcher/patch/BytecodePatch {
14241428
public static final field INSTANCE Lapp/revanced/patches/youtube/layout/tablet/EnableTabletLayoutPatch;
14251429
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
org.gradle.parallel = true
22
org.gradle.caching = true
33
kotlin.code.style = official
4-
version = 4.0.2
4+
version = 4.1.0-dev.2

patches.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/main/kotlin/app/revanced/patches/reddit/customclients/infinityforreddit/subscription/UnlockSubscriptionPatch.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import app.revanced.patcher.patch.annotation.CompatiblePackage
66
import app.revanced.patcher.patch.annotation.Patch
77
import app.revanced.patches.reddit.customclients.infinityforreddit.api.SpoofClientPatch
88
import app.revanced.patches.reddit.customclients.infinityforreddit.subscription.fingerprints.StartSubscriptionActivityFingerprint
9+
import app.revanced.patches.reddit.customclients.infinityforreddit.subscription.fingerprints.SubscriptionActivityOnCreateFingerprint
910
import app.revanced.util.returnEarly
1011

1112
@Patch(
@@ -18,7 +19,8 @@ import app.revanced.util.returnEarly
1819
)
1920
@Suppress("unused")
2021
object UnlockSubscriptionPatch : BytecodePatch(
21-
setOf(StartSubscriptionActivityFingerprint)
22+
setOf(StartSubscriptionActivityFingerprint, SubscriptionActivityOnCreateFingerprint)
2223
) {
23-
override fun execute(context: BytecodeContext) = listOf(StartSubscriptionActivityFingerprint).returnEarly()
24+
override fun execute(context: BytecodeContext) =
25+
listOf(StartSubscriptionActivityFingerprint, SubscriptionActivityOnCreateFingerprint).returnEarly()
2426
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package app.revanced.patches.reddit.customclients.infinityforreddit.subscription.fingerprints
2+
3+
import app.revanced.patcher.fingerprint.MethodFingerprint
4+
import com.android.tools.smali.dexlib2.AccessFlags
5+
6+
internal object SubscriptionActivityOnCreateFingerprint : MethodFingerprint(
7+
returnType = "V",
8+
accessFlags = AccessFlags.PUBLIC.value,
9+
parameters = listOf("Landroid/os/Bundle;"),
10+
customFingerprint = { method, classDef ->
11+
method.name == "onCreate" && classDef.type.endsWith("SubscriptionActivity;")
12+
}
13+
)

src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsPatch.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction35c
3535
"18.49.37",
3636
"19.01.34",
3737
"19.02.39",
38-
"19.03.35"
38+
"19.03.35",
39+
"19.03.36",
40+
"19.04.37"
3941
]
4042
)
4143
]

src/main/kotlin/app/revanced/patches/youtube/ad/getpremium/HideGetPremiumPatch.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
3030
"18.49.37",
3131
"19.01.34",
3232
"19.02.39",
33-
"19.03.35"
33+
"19.03.35",
34+
"19.03.36",
35+
"19.04.37"
3436
]
3537
)
3638
]

src/main/kotlin/app/revanced/patches/youtube/ad/video/VideoAdsPatch.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch
3535
"18.49.37",
3636
"19.01.34",
3737
"19.02.39",
38-
"19.03.35"
38+
"19.03.35",
39+
"19.03.36",
40+
"19.04.37"
3941
]
4042
)
4143
]

0 commit comments

Comments
 (0)