Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Merge branch dev to main #3909

Merged
merged 23 commits into from
Nov 24, 2024
Merged

chore: Merge branch dev to main #3909

merged 23 commits into from
Nov 24, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 13, 2024

This pull request will Merge branch dev to main.

Before merging this PR

  • Pull translations from Crowdin

@LisoUseInAIKyrios LisoUseInAIKyrios linked an issue Nov 13, 2024 that may be closed by this pull request
3 tasks
## [5.0.3-dev.1](v5.0.2...v5.0.3-dev.1) (2024-11-13)

### Bug Fixes

* **YouTube - Change header:** Apply header changes to A/B layout ([#3907](#3907)) ([6ccf114](6ccf114))
@0xrxL
Copy link

0xrxL commented Nov 14, 2024

@LisoUseInAIKyrios I have a question about litho filtering:

I noticed that filtering required two parameters: a string and a stringbuilder, in this patch point:

val invokeFilterInstructions = """
  invoke-static { v$identifierRegister, v$stringBuilderRegister }, $EXTENSION_CLASS_DESCRIPTOR->filter(Ljava/lang/String;Ljava/lang/StringBuilder;)Z
  move-result v$freeRegister
  if-eqz v$freeRegister, :unfiltered
"""

The first parameter (the string) return only the template name, but this is already printed in the second parameter (the stringbuilder).

Maybe the first parameter can be removed from the patch?

@oSumAtrIX
Copy link
Member

Sometimes the identified is present only in the first parameter, and vice versa

@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented Nov 14, 2024

Checking the path instead of the identifier (template name) requires checking if the match is the start of the path, when the identifier is always the start. A small point but still slightly relevant.

The identifier appears only once but appears in every path subcomponent, which means the identifier needs only one callback instead of calling back for every sub component of that template:

Searching ID: video_lockup_with_attachment.eml|f87337c95957173d Path: video_lockup_with_attachment.eml|f87337c95957173d|CellType|

Searching ID: null Path: video_lockup_with_attachment.eml|f87337c95957173d|CellType|ContainerType|

Searching ID: null Path: video_lockup_with_attachment.eml|f87337c95957173d|CellType|video_lockup.eml|ecaa48d6265f5006|ContainerType|

So yeah it could be removed, but I think for performance it's better if the identifier remains exposed for filtering.

@0xrxL
Copy link

0xrxL commented Nov 14, 2024

Sometimes the identified is present only in the first parameter, and vice versa

Yeah, I remember that. It happened with some ads in past, but these ads are now gone due to twice (or more) layout changes (in fact both string and stringbuilder outputs are now aligned).

github-actions bot and others added 3 commits November 15, 2024 07:47
## [5.0.3-dev.2](v5.0.3-dev.1...v5.0.3-dev.2) (2024-11-15)

### Bug Fixes

* **YouTube - Spoof app version:** Remove broken spoof targets when patching 19.25+ ([#3915](#3915)) ([9e18eca](9e18eca))
## [5.0.3-dev.3](v5.0.3-dev.2...v5.0.3-dev.3) (2024-11-15)

### Bug Fixes

* **YouTube - Playback speed:** Add 'Auto' speed. Always override speed if default is set to 1.0x ([#3914](#3914)) ([497739e](497739e))
## [5.0.3-dev.4](v5.0.3-dev.3...v5.0.3-dev.4) (2024-11-18)

### Bug Fixes

* **YouTube - Spoof app version:** Adjust legacy spoof targets ([#3934](#3934)) ([f5794c1](f5794c1))
@LisoUseInAIKyrios LisoUseInAIKyrios linked an issue Nov 18, 2024 that may be closed by this pull request
3 tasks
@LisoUseInAIKyrios LisoUseInAIKyrios marked this pull request as ready for review November 18, 2024 08:26
@LisoUseInAIKyrios
Copy link
Contributor

Anything left to do before merging this?

## [5.0.3-dev.5](v5.0.3-dev.4...v5.0.3-dev.5) (2024-11-18)

### Bug Fixes

* **YouTube - Hide Shorts components:** Do not hide Shorts action buttons on app first launch ([#3933](#3933)) ([0d78815](0d78815))
@0xrxL
Copy link

0xrxL commented Nov 18, 2024

Anything left to do before merging this?

19.45 support, to fix miniplayer stock bugs. 👍

@LisoUseInAIKyrios LisoUseInAIKyrios linked an issue Nov 19, 2024 that may be closed by this pull request
3 tasks
LisoUseInAIKyrios and others added 2 commits November 20, 2024 13:51
# [5.1.0-dev.1](v5.0.3-dev.5...v5.1.0-dev.1) (2024-11-20)

### Features

* **YouTube:** Support version `19.45.38` ([#3938](#3938)) ([7c4e3fe](7c4e3fe))
@LisoUseInAIKyrios
Copy link
Contributor

@oSumAtrIX Anything todo before merging?

# [5.1.0-dev.2](v5.1.0-dev.1...v5.1.0-dev.2) (2024-11-21)

### Bug Fixes

* **YouTube - SponsorBlock:** Fix create new segment crash on tablet custom roms ([#3946](#3946)) ([a0da377](a0da377))
# [5.1.0-dev.3](v5.1.0-dev.2...v5.1.0-dev.3) (2024-11-22)

### Features

* **YouTube - Miniplayer:** Add option to disable miniplayer ([#3961](#3961)) ([e565cdb](e565cdb))
@oSumAtrIX oSumAtrIX merged commit a0f22a5 into main Nov 24, 2024
2 checks passed
@LisoUseInAIKyrios
Copy link
Contributor

Try clearing Manager data. Files are saving correctly for me: youtube-revanced_v19.43.41-patches_v5.1.0.apk

@MarcaDian
Copy link
Contributor

MarcaDian commented Nov 24, 2024

I think it was a network delay when the patch file was downloaded but the manager didn't show the version yet, I've had this happen before.
Maybe this problem is more related to the manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment