Compare commits

..

2 Commits
dev ... main

Author SHA1 Message Date
semantic-release-bot
369c44e03b chore: Release v21.1.0 [skip ci]
# [21.1.0](https://github.com/ReVanced/revanced-patcher/compare/v21.0.0...v21.1.0) (2025-10-16)

### Bug Fixes

* Add back missing log by naming logger correctly ([#332](https://github.com/ReVanced/revanced-patcher/issues/332)) ([e4e66b0](e4e66b0d8b))
* Correctly save XML files in UTF-8 by using a bufferedWriter ([#356](https://github.com/ReVanced/revanced-patcher/issues/356)) ([33fadcb](33fadcbd0c))
* Encode XML files as UTF-8 to fix compilation of resources ([#339](https://github.com/ReVanced/revanced-patcher/issues/339)) ([4f2ef3c](4f2ef3c47c))
* Support UTF-8 chars when compiling instructions in Smali in non UTF-8 environments ([#331](https://github.com/ReVanced/revanced-patcher/issues/331)) ([bb8771b](bb8771bb8b))

### Features

* Add identity hash code to unnamed patches ([88a3252](88a3252574))
* Use option name as key for simplicity and consistency ([754b02e](754b02e4ca))

### Performance Improvements

* Use a buffered writer to reduce IO overhead ([#347](https://github.com/ReVanced/revanced-patcher/issues/347)) ([99f4318](99f431897e))
2025-10-16 15:06:56 +00:00
oSumAtrIX
028a54f39d chore: Merge branch dev to main (#377) 2025-10-16 17:05:34 +02:00
4 changed files with 35 additions and 14 deletions

View File

@@ -1,3 +1,24 @@
# [21.1.0](https://github.com/ReVanced/revanced-patcher/compare/v21.0.0...v21.1.0) (2025-10-16)
### Bug Fixes
* Add back missing log by naming logger correctly ([#332](https://github.com/ReVanced/revanced-patcher/issues/332)) ([e4e66b0](https://github.com/ReVanced/revanced-patcher/commit/e4e66b0d8bb0986b79fb150b9c15da35b8e11561))
* Correctly save XML files in UTF-8 by using a bufferedWriter ([#356](https://github.com/ReVanced/revanced-patcher/issues/356)) ([33fadcb](https://github.com/ReVanced/revanced-patcher/commit/33fadcbd0c7076b848bdca4d62a9c684d5781232))
* Encode XML files as UTF-8 to fix compilation of resources ([#339](https://github.com/ReVanced/revanced-patcher/issues/339)) ([4f2ef3c](https://github.com/ReVanced/revanced-patcher/commit/4f2ef3c47cea76a26c464cfb45d4bb57fe7198b5))
* Support UTF-8 chars when compiling instructions in Smali in non UTF-8 environments ([#331](https://github.com/ReVanced/revanced-patcher/issues/331)) ([bb8771b](https://github.com/ReVanced/revanced-patcher/commit/bb8771bb8b8ab1724d957e56f4de88c02684d87b))
### Features
* Add identity hash code to unnamed patches ([88a3252](https://github.com/ReVanced/revanced-patcher/commit/88a325257494939a79fb30dd51d60c5c52546755))
* Use option name as key for simplicity and consistency ([754b02e](https://github.com/ReVanced/revanced-patcher/commit/754b02e4ca66ec10764d5205c6643f2d86d0c6a2))
### Performance Improvements
* Use a buffered writer to reduce IO overhead ([#347](https://github.com/ReVanced/revanced-patcher/issues/347)) ([99f4318](https://github.com/ReVanced/revanced-patcher/commit/99f431897eb9e607987fd5d09b879d7eda442f3e))
# [21.1.0-dev.5](https://github.com/ReVanced/revanced-patcher/compare/v21.1.0-dev.4...v21.1.0-dev.5) (2025-10-16) # [21.1.0-dev.5](https://github.com/ReVanced/revanced-patcher/compare/v21.1.0-dev.4...v21.1.0-dev.5) (2025-10-16)
# [21.1.0-dev.4](https://github.com/ReVanced/revanced-patcher/compare/v21.1.0-dev.3...v21.1.0-dev.4) (2025-07-18) # [21.1.0-dev.4](https://github.com/ReVanced/revanced-patcher/compare/v21.1.0-dev.3...v21.1.0-dev.4) (2025-07-18)

View File

@@ -117,9 +117,9 @@ you can follow the [ReVanced documentation](https://github.com/ReVanced/revanced
The documentation contains the fundamentals of ReVanced Patcher and how to use ReVanced Patcher to create patches. The documentation contains the fundamentals of ReVanced Patcher and how to use ReVanced Patcher to create patches.
You can find it [here](https://github.com/ReVanced/revanced-patcher/tree/main/docs). You can find it [here](https://github.com/ReVanced/revanced-patcher/tree/main/docs).
## 📜 License ## 📜 Licence
ReVanced Patcher is licensed under the GPLv3 license. Please see the [license file](LICENSE) for more information. ReVanced Patcher is licensed under the GPLv3 license. Please see the [licence file](LICENSE) for more information.
[tl;dr](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3) you may copy, distribute and modify ReVanced Patcher as long as you track changes/dates in source files. [tl;dr](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3) you may copy, distribute and modify ReVanced Patcher as long as you track changes/dates in source files.
Any modifications to ReVanced Patcher must also be made available under the GPL, Any modifications to ReVanced Patcher must also be made available under the GPL,
along with build & install instructions. along with build & install instructions.

View File

@@ -1,3 +1,3 @@
org.gradle.parallel = true org.gradle.parallel = true
org.gradle.caching = true org.gradle.caching = true
version = 21.1.0-dev.5 version = 21.1.0

View File

@@ -27,7 +27,7 @@ typealias Package = Pair<PackageName, Set<VersionName>?>
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param dependencies Other patches this patch depends on. * @param dependencies Other patches this patch depends on.
* @param compatiblePackages The packages the patch is compatible with. * @param compatiblePackages The packages the patch is compatible with.
* If null, the patch is compatible with all packages. * If null, the patch is compatible with all packages.
@@ -122,7 +122,7 @@ internal fun Iterable<Patch<*>>.forEachRecursively(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param compatiblePackages The packages the patch is compatible with. * @param compatiblePackages The packages the patch is compatible with.
* If null, the patch is compatible with all packages. * If null, the patch is compatible with all packages.
* @param dependencies Other patches this patch depends on. * @param dependencies Other patches this patch depends on.
@@ -171,7 +171,7 @@ class BytecodePatch internal constructor(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param compatiblePackages The packages the patch is compatible with. * @param compatiblePackages The packages the patch is compatible with.
* If null, the patch is compatible with all packages. * If null, the patch is compatible with all packages.
* @param dependencies Other patches this patch depends on. * @param dependencies Other patches this patch depends on.
@@ -214,7 +214,7 @@ class RawResourcePatch internal constructor(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param compatiblePackages The packages the patch is compatible with. * @param compatiblePackages The packages the patch is compatible with.
* If null, the patch is compatible with all packages. * If null, the patch is compatible with all packages.
* @param dependencies Other patches this patch depends on. * @param dependencies Other patches this patch depends on.
@@ -258,7 +258,7 @@ class ResourcePatch internal constructor(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @property compatiblePackages The packages the patch is compatible with. * @property compatiblePackages The packages the patch is compatible with.
* If null, the patch is compatible with all packages. * If null, the patch is compatible with all packages.
* @property dependencies Other patches this patch depends on. * @property dependencies Other patches this patch depends on.
@@ -375,7 +375,7 @@ private fun <B : PatchBuilder<*>> B.buildPatch(block: B.() -> Unit = {}) = apply
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @property extensionInputStream Getter for the extension input stream of the patch. * @property extensionInputStream Getter for the extension input stream of the patch.
* An extension is a precompiled DEX file that is merged into the patched app before this patch is executed. * An extension is a precompiled DEX file that is merged into the patched app before this patch is executed.
* *
@@ -425,7 +425,7 @@ class BytecodePatchBuilder internal constructor(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param block The block to build the patch. * @param block The block to build the patch.
* *
* @return The created [BytecodePatch]. * @return The created [BytecodePatch].
@@ -443,7 +443,7 @@ fun bytecodePatch(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* *
* @constructor Create a new [RawResourcePatch] builder. * @constructor Create a new [RawResourcePatch] builder.
*/ */
@@ -470,7 +470,7 @@ class RawResourcePatchBuilder internal constructor(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param block The block to build the patch. * @param block The block to build the patch.
* @return The created [RawResourcePatch]. * @return The created [RawResourcePatch].
*/ */
@@ -487,7 +487,7 @@ fun rawResourcePatch(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* *
* @constructor Create a new [ResourcePatch] builder. * @constructor Create a new [ResourcePatch] builder.
*/ */
@@ -514,7 +514,7 @@ class ResourcePatchBuilder internal constructor(
* @param name The name of the patch. * @param name The name of the patch.
* If null, the patch is named "Patch" and will not be loaded by [PatchLoader]. * If null, the patch is named "Patch" and will not be loaded by [PatchLoader].
* @param description The description of the patch. * @param description The description of the patch.
* @param use Whether or not the patch should be used. * @param use Weather or not the patch should be used.
* @param block The block to build the patch. * @param block The block to build the patch.
* *
* @return The created [ResourcePatch]. * @return The created [ResourcePatch].