semantic-release-bot
0447fa9c28
chore(release): 18.0.0-dev.4 [skip ci]
...
# [18.0.0-dev.4](https://github.com/ReVanced/revanced-patcher/compare/v18.0.0-dev.3...v18.0.0-dev.4 ) (2023-10-22)
### Features
* Use a map for `PatchOption#values` ([54ac139
](54ac1394a9
))
2023-10-22 15:39:57 +00:00
oSumAtrIX
54ac1394a9
feat: Use a map for PatchOption#values
...
This allows to display a string representation associated to the option value.
2023-10-22 17:07:22 +02:00
oSumAtrIX
0b04c73ac5
build: Bump Kotlin Gradle plugin version
2023-10-22 16:14:46 +02:00
semantic-release-bot
079de45238
chore(release): 18.0.0-dev.3 [skip ci]
...
# [18.0.0-dev.3](https://github.com/ReVanced/revanced-patcher/compare/v18.0.0-dev.2...v18.0.0-dev.3 ) (2023-10-22)
### Features
* Make `PatchOption#values` nullable ([56ce9ec
](56ce9ec2f9
))
2023-10-22 14:09:28 +00:00
oSumAtrIX
56ce9ec2f9
feat: Make PatchOption#values
nullable
...
There is no difference semantically, but this change allows passing null as a parameter which is simpler than having to use `emptySet()`.
2023-10-22 16:07:01 +02:00
semantic-release-bot
1b52e4b0f9
chore(release): 18.0.0-dev.2 [skip ci]
...
# [18.0.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v18.0.0-dev.1...v18.0.0-dev.2 ) (2023-10-22)
### Code Refactoring
* Change `PatchOption` from abstract to open class ([09cd6aa
](09cd6aa568
))
### Features
* Add function to reset options to their default value ([ebbaafb
](ebbaafb78e
))
* Add function to reset options to their default value ([e6de90d
](e6de90d300
))
* Add getter for default option value ([c7922e9
](c7922e90d0
))
* Name patch option value validator property correctly ([caa634f
](caa634fac6
))
### BREAKING CHANGES
* This gets rid of the existing basic implementations of the `PatchOptions` type and moves extension functions.
* This changes the getter name of the property.
2023-10-22 00:56:40 +00:00
oSumAtrIX
098c2c1efa
chore: Test default option value
2023-10-22 02:50:26 +02:00
oSumAtrIX
64343e5a7c
chore: Test resetting options
2023-10-22 02:49:44 +02:00
oSumAtrIX
0caf6caeb9
refactor: Simplify patch option tests
2023-10-22 02:46:51 +02:00
oSumAtrIX
55f6c2a9fc
feat!: Add property PatchOption#values
2023-10-22 02:38:12 +02:00
oSumAtrIX
c6095bc38a
feat!: Add PatchOption#toString
2023-10-22 02:04:49 +02:00
oSumAtrIX
09cd6aa568
refactor: Change PatchOption
from abstract to open class
...
BREAKING CHANGE: This gets rid of the existing basic implementations of the `PatchOptions` type and moves extension functions.
2023-10-22 01:55:05 +02:00
oSumAtrIX
ebbaafb78e
feat: Add function to reset options to their default value
2023-10-22 01:14:48 +02:00
oSumAtrIX
e6de90d300
feat: Add function to reset options to their default value
2023-10-22 01:10:15 +02:00
oSumAtrIX
c7922e90d0
feat: Add getter for default option value
2023-10-22 01:02:43 +02:00
oSumAtrIX
c1f4c0445a
chore: Fix inline docs wording
2023-10-21 23:52:47 +02:00
oSumAtrIX
caa634fac6
feat: Name patch option value validator property correctly
...
BREAKING CHANGE: This changes the getter name of the property.
2023-10-21 23:51:44 +02:00
oSumAtrIX
f28bfe0dbd
chore: Add missing inline docs
2023-10-21 23:49:40 +02:00
semantic-release-bot
155e787ff4
chore(release): 18.0.0-dev.1 [skip ci]
...
# [18.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v17.0.1-dev.1...v18.0.0-dev.1 ) (2023-10-14)
### Features
* Remove patch annotation processor ([4456031
](4456031459
))
### BREAKING CHANGES
* Various patch constructor signatures have changed.
2023-10-14 18:43:40 +00:00
oSumAtrIX
c38f0ef42a
build: Move subproject to root project
2023-10-14 19:30:10 +02:00
oSumAtrIX
4456031459
feat: Remove patch annotation processor
...
Unfortunately processing annotations required generating new classes which turned out to be quite cumbersome to work with, especially when trying to publish an API. Therefor, the patch annotation retention is now `RUNTIME`.
BREAKING CHANGE: Various patch constructor signatures have changed.
2023-10-14 19:29:23 +02:00
semantic-release-bot
5fb59a227f
chore(release): 17.0.1-dev.1 [skip ci]
...
## [17.0.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v17.0.0...v17.0.1-dev.1 ) (2023-10-10)
### Performance Improvements
* Run the garbage collector after writing dex files ([d9fb241
](d9fb241d57
))
2023-10-10 18:23:51 +00:00
oSumAtrIX
d9fb241d57
perf: Run the garbage collector after writing dex files
...
Writing dex files consumes a lot of memory.
2023-10-10 20:06:27 +02:00
oSumAtrIX
642c4ea97e
refactor: Use correct class structure
2023-10-10 20:05:46 +02:00
semantic-release-bot
8c8a251626
chore(release): 17.0.0 [skip ci]
...
# [17.0.0](https://github.com/ReVanced/revanced-patcher/compare/v16.0.2...v17.0.0 ) (2023-10-09)
### Features
* Add option to use single threaded writer for dex files ([77dbee3
](77dbee3d6a
))
### BREAKING CHANGES
* This commit gets rid of deprecated constructors.
2023-10-09 13:00:18 +00:00
oSumAtrIX
5953d6cfb5
chore: Merge branch dev
to main
( #252 )
2023-10-09 14:56:10 +02:00
semantic-release-bot
a1962fe600
chore(release): 17.0.0-dev.1 [skip ci]
...
# [17.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v16.0.2...v17.0.0-dev.1 ) (2023-10-09)
### Features
* Add option to use single threaded writer for dex files ([77dbee3
](77dbee3d6a
))
### BREAKING CHANGES
* This commit gets rid of deprecated constructors.
2023-10-09 12:53:08 +00:00
oSumAtrIX
77dbee3d6a
feat: Add option to use single threaded writer for dex files
...
BREAKING CHANGE: This commit gets rid of deprecated constructors.
2023-10-09 14:42:20 +02:00
oSumAtrIX
cb5e39d73e
build: Publish artifacts on Jitpack
2023-10-09 14:42:20 +02:00
semantic-release-bot
38ef2f470a
chore(release): 16.0.2 [skip ci]
...
## [16.0.2](https://github.com/ReVanced/revanced-patcher/compare/v16.0.1...v16.0.2 ) (2023-10-06)
### Performance Improvements
* Use a map to merge integrations classes ([6059d3c
](6059d3ca26
))
2023-10-06 23:59:10 +00:00
oSumAtrIX
129d84e108
chore: Merge branch dev
to main
( #250 )
2023-10-07 01:55:48 +02:00
semantic-release-bot
affeba76b8
chore(release): 16.0.2-dev.1 [skip ci]
...
## [16.0.2-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v16.0.1...v16.0.2-dev.1 ) (2023-10-06)
### Performance Improvements
* Use a map to merge integrations classes ([6059d3c
](6059d3ca26
))
2023-10-06 23:55:11 +00:00
oSumAtrIX
6059d3ca26
perf: Use a map to merge integrations classes
2023-10-07 01:52:21 +02:00
semantic-release-bot
444dee5a16
chore(release): 16.0.1 [skip ci]
...
## [16.0.1](https://github.com/ReVanced/revanced-patcher/compare/v16.0.0...v16.0.1 ) (2023-10-05)
### Bug Fixes
* Merge integrations when required ([06c2b76
](06c2b76f11
))
2023-10-05 15:31:28 +00:00
oSumAtrIX
d314466ce2
chore: Merge branch dev
to main
( #249 )
2023-10-05 17:28:45 +02:00
semantic-release-bot
fdaf9c21c8
chore(release): 16.0.1-dev.1 [skip ci]
...
## [16.0.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v16.0.0...v16.0.1-dev.1 ) (2023-10-05)
### Bug Fixes
* Merge integrations when required ([06c2b76
](06c2b76f11
))
2023-10-05 15:27:34 +00:00
oSumAtrIX
06c2b76f11
fix: Merge integrations when required
...
Previous to this commit integrations were merged when not required.
2023-10-05 17:24:28 +02:00
semantic-release-bot
3896b30738
chore(release): 16.0.0 [skip ci]
...
# [16.0.0](https://github.com/ReVanced/revanced-patcher/compare/v15.0.3...v16.0.0 ) (2023-10-04)
### Bug Fixes
* Use correct super class type ([f590436
](f590436399
))
### BREAKING CHANGES
* This changes the super classes of some `PatchOptionException` classes
2023-10-04 02:18:27 +00:00
oSumAtrIX
2c4b88e1a0
chore: Merge branch dev
to main
( #248 )
2023-10-04 04:15:04 +02:00
semantic-release-bot
dfc7e1596b
chore(release): 16.0.0-dev.1 [skip ci]
...
# [16.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.3...v16.0.0-dev.1 ) (2023-10-04)
### Bug Fixes
* Use correct super class type ([f590436
](f590436399
))
### BREAKING CHANGES
* This changes the super classes of some `PatchOptionException` classes
2023-10-04 02:06:03 +00:00
oSumAtrIX
f590436399
fix: Use correct super class type
...
BREAKING CHANGE: This changes the super classes of some `PatchOptionException` classes
2023-10-04 04:02:10 +02:00
semantic-release-bot
cbfb9ba02f
chore(release): 15.0.3 [skip ci]
...
## [15.0.3](https://github.com/ReVanced/revanced-patcher/compare/v15.0.2...v15.0.3 ) (2023-10-01)
### Bug Fixes
* Fix SMALI compilation on devices with RTL language ([#242 ](https://github.com/ReVanced/revanced-patcher/issues/242 )) ([356f1f1
](356f1f1553
))
2023-10-01 16:58:40 +00:00
oSumAtrIX
b4cfe80ad5
chore: Merge branch dev
to main
( #243 )
2023-10-01 18:56:02 +02:00
semantic-release-bot
b37906fa35
chore(release): 15.0.3-dev.1 [skip ci]
...
## [15.0.3-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.2...v15.0.3-dev.1 ) (2023-09-29)
### Bug Fixes
* Fix SMALI compilation on devices with RTL language ([#242 ](https://github.com/ReVanced/revanced-patcher/issues/242 )) ([356f1f1
](356f1f1553
))
2023-09-29 13:18:47 +00:00
LisoUseInAIKyrios
356f1f1553
fix: Fix SMALI compilation on devices with RTL language ( #242 )
2023-09-29 15:15:14 +02:00
semantic-release-bot
e882af74ee
chore(release): 15.0.2 [skip ci]
...
## [15.0.2](https://github.com/ReVanced/revanced-patcher/compare/v15.0.1...v15.0.2 ) (2023-09-27)
### Performance Improvements
* Do not unnecessary resolve fingeprints twice ([#241 ](https://github.com/ReVanced/revanced-patcher/issues/241 )) ([4d6e08a
](4d6e08a650
))
2023-09-27 21:27:32 +00:00
oSumAtrIX
46875fb28e
chore: Merge branch dev
to main
( #238 )
2023-09-27 23:23:46 +02:00
oSumAtrIX
417c3e4234
ci: Bump checkout action
2023-09-27 18:02:50 +02:00
semantic-release-bot
6d2c28807b
chore(release): 15.0.2-dev.1 [skip ci]
...
## [15.0.2-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.1...v15.0.2-dev.1 ) (2023-09-26)
### Performance Improvements
* Do not unnecessary resolve fingeprints twice ([#241 ](https://github.com/ReVanced/revanced-patcher/issues/241 )) ([4d6e08a
](4d6e08a650
))
2023-09-26 12:25:00 +00:00
LisoUseInAIKyrios
4d6e08a650
perf: Do not unnecessary resolve fingeprints twice ( #241 )
2023-09-26 14:21:43 +02:00
oSumAtrIX
5cebc1fd30
ci: Use better workflow name and PR message
2023-09-23 18:17:47 +02:00
semantic-release-bot
ac61731dc6
chore(release): 15.0.1 [skip ci]
...
## [15.0.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0...v15.0.1 ) (2023-09-20)
### Bug Fixes
* Remove log management ([d51bc32
](d51bc32e37
))
2023-09-20 03:19:14 +00:00
oSumAtrIX
9e4ffabd5c
chore: merge branch dev
to main
( #235 )
2023-09-20 05:16:25 +02:00
semantic-release-bot
3f410bd39f
chore(release): 15.0.1-dev.1 [skip ci]
...
## [15.0.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0...v15.0.1-dev.1 ) (2023-09-20)
### Bug Fixes
* Remove log management ([d51bc32
](d51bc32e37
))
2023-09-20 03:16:04 +00:00
oSumAtrIX
d51bc32e37
fix: Remove log management
...
Changing the logging behaviour caused unintended behaviour outside of the library.
2023-09-19 05:09:19 +02:00
oSumAtrIX
b7f6aa94cc
chore: Fix inline docs reference
2023-09-19 05:08:37 +02:00
semantic-release-bot
ff965e6953
chore(release): 15.0.0 [skip ci]
...
# [15.0.0](https://github.com/ReVanced/revanced-patcher/compare/v14.2.2...v15.0.0 ) (2023-09-18)
### Bug Fixes
* Account for source patch dependency for tests ([6918418
](69184187d9
))
* Always make the generated patch depend on the source patch ([8de3063
](8de30633ae
))
* Catch correct exception ([637d487
](637d48746f
))
* Delegate `PatchBundleLoader` by mutable set of patches ([9a109c1
](9a109c129b
))
* Do not resolve the proxied patch to the proxy in the dependency list ([e112837
](e11283744a
))
* Do not set `CompatiblePackage.versions` if `@CompatiblePackage.versions` is empty ([6b1e0a1
](6b1e0a1656
))
* Filter for patches correctly ([4bc4b0d
](4bc4b0dc01
))
* Find dependency in `context.allPatches` ([670f015
](670f0153de
))
* Log the correct patch names ([9fdb8f0
](9fdb8f087f
))
* Make `CompatiblePackage.versions` a property ([67b7dff
](67b7dff67a
))
* Print patch name instead of class name ([4e7811e
](4e7811ea07
))
* Print stack trace of exception ([aa71146
](aa71146b1b
))
* Run code-block if `executablePatches` does not yet contain `patch` ([1d7aeca
](1d7aeca696
))
* Suppress logger when loading patches in `PatchBundleLoader` ([72c9eb2
](72c9eb2129
))
* Use correct module name ([080fbe9
](080fbe9feb
))
### Code Refactoring
* Internalize processor constructor ([a802d0d
](a802d0df46
))
* feat Use `Set` as super type for `PatchBundleLoader` ([4b76d19
](4b76d19596
))
* feat!: Add patch annotation processor ([3fc6a13
](3fc6a139ee
))
* feat!: Remove patch annotations ([3b4db3d
](3b4db3ddb7
))
### Features
* Add patch annotation processor ([#231 ](https://github.com/ReVanced/revanced-patcher/issues/231 )) ([a29931f
](a29931f2ec
))
### BREAKING CHANGES
* This gets rid of the public constructor.
* `PatchBundleLoader` is not a map anymore
* This renames packages and the Maven package.
* The manifest for patches has been removed, and the properties have been added to patches. Patches are now `OptionsContainer`. The `@Patch` annotation has been removed in favour of the `@Patch` annotation from the annotation processor.
* Patch annotations have been removed. PatcherException is now thrown in various places. PatchBundleLoader is now a map of patches associated by their name. Patches are now instances.
2023-09-18 15:44:01 +00:00
oSumAtrIX
468d5d7421
chore: merge branch dev
to main
( #232 )
2023-09-18 17:40:24 +02:00
semantic-release-bot
fc95b28c49
chore(release): 15.0.0-dev.4 [skip ci]
...
# [15.0.0-dev.4](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0-dev.3...v15.0.0-dev.4 ) (2023-09-13)
### Bug Fixes
* Account for source patch dependency for tests ([6918418
](69184187d9
))
* Always make the generated patch depend on the source patch ([8de3063
](8de30633ae
))
* Catch correct exception ([637d487
](637d48746f
))
* Delegate `PatchBundleLoader` by mutable set of patches ([9a109c1
](9a109c129b
))
* Do not resolve the proxied patch to the proxy in the dependency list ([e112837
](e11283744a
))
* Do not set `CompatiblePackage.versions` if `@CompatiblePackage.versions` is empty ([6b1e0a1
](6b1e0a1656
))
* Filter for patches correctly ([4bc4b0d
](4bc4b0dc01
))
* Find dependency in `context.allPatches` ([670f015
](670f0153de
))
* Log the correct patch names ([9fdb8f0
](9fdb8f087f
))
* Print patch name instead of class name ([4e7811e
](4e7811ea07
))
* Print stack trace of exception ([aa71146
](aa71146b1b
))
* Run code-block if `executablePatches` does not yet contain `patch` ([1d7aeca
](1d7aeca696
))
* Suppress logger when loading patches in `PatchBundleLoader` ([72c9eb2
](72c9eb2129
))
### Code Refactoring
* Internalize processor constructor ([a802d0d
](a802d0df46
))
### BREAKING CHANGES
* This gets rid of the public constructor.
2023-09-13 03:44:27 +00:00
oSumAtrIX
69184187d9
fix: Account for source patch dependency for tests
2023-09-13 05:40:59 +02:00
oSumAtrIX
a802d0df46
refactor: Internalize processor constructor
...
BREAKING CHANGE: This gets rid of the public constructor.
2023-09-13 05:32:40 +02:00
oSumAtrIX
8de30633ae
fix: Always make the generated patch depend on the source patch
2023-09-13 05:18:28 +02:00
oSumAtrIX
a1fbb7990f
refactor: Simplify fingerprint resolution
2023-09-13 04:13:38 +02:00
oSumAtrIX
aa71146b1b
fix: Print stack trace of exception
...
Otherwise the log will not include what originally raised the exception.
2023-09-13 03:58:46 +02:00
oSumAtrIX
9fdb8f087f
fix: Log the correct patch names
2023-09-13 03:35:39 +02:00
oSumAtrIX
670f0153de
fix: Find dependency in context.allPatches
2023-09-13 03:06:40 +02:00
oSumAtrIX
1d7aeca696
fix: Run code-block if executablePatches
does not yet contain patch
2023-09-13 03:06:19 +02:00
oSumAtrIX
4e7811ea07
fix: Print patch name instead of class name
2023-09-13 03:05:37 +02:00
oSumAtrIX
e11283744a
fix: Do not resolve the proxied patch to the proxy in the dependency list
...
If a patch is used as a dependency, it would be present in `dependencyResolutionMap`. If that patch would also be annotated, then the generated patch would depend on itself.
2023-09-13 03:05:06 +02:00
oSumAtrIX
91cdfd53ef
refactor: Simplify accessing the patches from PatcherContext.executablePatches
2023-09-13 02:22:31 +02:00
oSumAtrIX
bc7d6b9941
refactor: Rename unused destructed parameter to _
2023-09-13 02:17:54 +02:00
oSumAtrIX
6b1e0a1656
fix: Do not set CompatiblePackage.versions
if @CompatiblePackage.versions
is empty
2023-09-13 02:17:24 +02:00
oSumAtrIX
72c9eb2129
fix: Suppress logger when loading patches in PatchBundleLoader
2023-09-13 02:11:51 +02:00
oSumAtrIX
4bc4b0dc01
fix: Filter for patches correctly
2023-09-13 01:52:15 +02:00
oSumAtrIX
637d48746f
fix: Catch correct exception
2023-09-13 01:51:46 +02:00
oSumAtrIX
9a109c129b
fix: Delegate PatchBundleLoader
by mutable set of patches
2023-09-13 01:36:53 +02:00
oSumAtrIX
d49e4ee5ea
refactor: Remove unused logger
2023-09-13 00:08:52 +02:00
semantic-release-bot
30f0ea29a3
chore(release): 15.0.0-dev.3 [skip ci]
...
# [15.0.0-dev.3](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0-dev.2...v15.0.0-dev.3 ) (2023-09-06)
### Bug Fixes
* Make `CompatiblePackage.versions` a property ([67b7dff
](67b7dff67a
))
* Use correct module name ([080fbe9
](080fbe9feb
))
* feat Use `Set` as super type for `PatchBundleLoader` ([4b76d19
](4b76d19596
))
### BREAKING CHANGES
* `PatchBundleLoader` is not a map anymore
* This renames packages and the Maven package.
2023-09-06 12:32:05 +00:00
oSumAtrIX
49930f6565
chore: Use correct resource names for tests
2023-09-06 14:27:51 +02:00
oSumAtrIX
909d89fa8d
chore: Print correct error message
2023-09-06 14:23:26 +02:00
oSumAtrIX
81d1d7f544
refactor: Do not reify generic type
2023-09-06 06:34:38 +02:00
oSumAtrIX
67b7dff67a
fix: Make CompatiblePackage.versions
a property
2023-09-06 06:12:44 +02:00
oSumAtrIX
4b76d19596
feat Use Set
as super type for PatchBundleLoader
...
BREAKING CHANGE: `PatchBundleLoader` is not a map anymore
2023-09-06 06:12:22 +02:00
oSumAtrIX
080fbe9feb
fix: Use correct module name
...
BREAKING CHANGE: This renames packages and the Maven package.
2023-09-06 06:11:15 +02:00
semantic-release-bot
d3721229bf
chore(release): 15.0.0-dev.2 [skip ci]
...
# [15.0.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0-dev.1...v15.0.0-dev.2 ) (2023-09-06)
2023-09-06 03:36:03 +00:00
oSumAtrIX
86c1c9c772
build(Needs bump): Use correct Maven repository URL
2023-09-06 05:32:58 +02:00
oSumAtrIX
c299817193
feat!: Use Kotlin DSL for patch options ( #234 )
2023-09-06 02:53:31 +02:00
semantic-release-bot
fcc1de45ed
chore(release): 15.0.0-dev.1 [skip ci]
...
# [15.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v14.2.2...v15.0.0-dev.1 ) (2023-09-04)
* feat!: Add patch annotation processor ([3fc6a13
](3fc6a139ee
))
* feat!: Remove patch annotations ([3b4db3d
](3b4db3ddb7
))
### Features
* Add patch annotation processor ([#231 ](https://github.com/ReVanced/revanced-patcher/issues/231 )) ([a29931f
](a29931f2ec
))
### BREAKING CHANGES
* The manifest for patches has been removed, and the properties have been added to patches. Patches are now `OptionsContainer`. The `@Patch` annotation has been removed in favour of the `@Patch` annotation from the annotation processor.
* Patch annotations have been removed. PatcherException is now thrown in various places. PatchBundleLoader is now a map of patches associated by their name. Patches are now instances.
2023-09-04 03:51:04 +00:00
oSumAtrIX
a29931f2ec
feat: Add patch annotation processor ( #231 )
2023-09-04 05:48:20 +02:00
oSumAtrIX
3fc6a139ee
feat!: Add patch annotation processor
...
This commit introduces an annotation processor for patches. Patches can use the `@Patch` instead of super constructor parameters.
BREAKING CHANGE: The manifest for patches has been removed, and the properties have been added to patches. Patches are now `OptionsContainer`. The `@Patch` annotation has been removed in favour of the `@Patch` annotation from the annotation processor.
2023-09-04 05:43:41 +02:00
oSumAtrIX
4dd04975d9
refactor: Move ReVanced Patcher to sub-project
...
This allows other sub-projects to exist.
2023-09-04 05:37:13 +02:00
oSumAtrIX
3b4db3ddb7
feat!: Remove patch annotations
...
Annotations required reflection and working with them turned out to be rather cumbersome. The annotations have been replaced with properties for the most part.
BREAKING CHANGE: Patch annotations have been removed. PatcherException is now thrown in various places. PatchBundleLoader is now a map of patches associated by their name. Patches are now instances.
2023-09-04 05:24:29 +02:00
semantic-release-bot
c4a7117ee8
chore(release): 14.2.2 [skip ci]
...
## [14.2.2](https://github.com/ReVanced/revanced-patcher/compare/v14.2.1...v14.2.2 ) (2023-08-30)
### Bug Fixes
* allow setting `DexClassLoader.optimizedDirectory` ([11a3378
](11a3378659
))
2023-08-30 17:25:12 +00:00
oSumAtrIX
b4e900fde8
chore: merge branch dev
to main
( #226 )
2023-08-30 19:22:46 +02:00
semantic-release-bot
9818d730e4
chore(release): 14.2.2-dev.1 [skip ci]
...
## [14.2.2-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v14.2.1...v14.2.2-dev.1 ) (2023-08-29)
### Bug Fixes
* allow setting `DexClassLoader.optimizedDirectory` ([11a3378
](11a3378659
))
2023-08-29 02:12:54 +00:00
oSumAtrIX
11a3378659
fix: allow setting DexClassLoader.optimizedDirectory
...
This is required for API level below 26, otherwise an NPE is thrown
2023-08-29 04:09:17 +02:00
oSumAtrIX
1bb05f22d3
chore: add initial API dump
...
This is necessary for the binary compatibility validation.
2023-08-29 04:05:18 +02:00
oSumAtrIX
26b70554c4
build: use binary compatibility validator
...
This prevents releasing breaking changes accidentally.
2023-08-29 03:47:21 +02:00
oSumAtrIX
93b29d2e83
chore: assert instead of printing in tests
2023-08-29 03:38:11 +02:00
semantic-release-bot
072986374a
chore(release): 14.2.1 [skip ci]
...
## [14.2.1](https://github.com/ReVanced/revanced-patcher/compare/v14.2.0...v14.2.1 ) (2023-08-27)
### Bug Fixes
* do not flag resource table as sparse when main package is not loaded ([b832812
](b832812767
))
2023-08-27 20:23:09 +00:00
oSumAtrIX
2c590d212a
chore: merge branch dev
to main
( #225 )
2023-08-27 22:21:36 +02:00
semantic-release-bot
6cc863efb3
chore(release): 14.2.1-dev.1 [skip ci]
...
## [14.2.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v14.2.0...v14.2.1-dev.1 ) (2023-08-27)
### Bug Fixes
* do not flag resource table as sparse when main package is not loaded ([b832812
](b832812767
))
2023-08-27 20:17:31 +00:00
oSumAtrIX
b832812767
fix: do not flag resource table as sparse when main package is not loaded
2023-08-27 22:14:43 +02:00
oSumAtrIX
c44558cacd
build: bump dependencies
...
This fixes an issue with flagging the resource table with sparse incorrectly.
2023-08-27 22:14:11 +02:00
semantic-release-bot
6d83a720cd
chore(release): 14.2.0 [skip ci]
...
# [14.2.0](https://github.com/ReVanced/revanced-patcher/compare/v14.1.0...v14.2.0 ) (2023-08-27)
### Features
* load patches in lexicographical order ([e8f2087
](e8f2087a6f
))
* log when merging integrations ([983563e
](983563efb6
))
### Performance Improvements
* compare types of classes ([55d6945
](55d694579a
))
2023-08-27 00:55:36 +00:00
oSumAtrIX
8d0dd9c448
chore: merge branch dev
to main
( #222 )
2023-08-27 02:53:47 +02:00
oSumAtrIX
64020eec49
chore: add multi-threading opportunity notice
2023-08-26 20:58:19 +02:00
semantic-release-bot
4dedfb85cb
chore(release): 14.2.0-dev.3 [skip ci]
...
# [14.2.0-dev.3](https://github.com/ReVanced/revanced-patcher/compare/v14.2.0-dev.2...v14.2.0-dev.3 ) (2023-08-26)
### Performance Improvements
* compare types of classes ([55d6945
](55d694579a
))
2023-08-26 17:44:12 +00:00
oSumAtrIX
55d694579a
perf: compare types of classes
2023-08-26 19:42:33 +02:00
semantic-release-bot
86db64edff
chore(release): 14.2.0-dev.2 [skip ci]
...
# [14.2.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v14.2.0-dev.1...v14.2.0-dev.2 ) (2023-08-26)
### Features
* log when merging integrations ([983563e
](983563efb6
))
2023-08-26 17:16:08 +00:00
oSumAtrIX
983563efb6
feat: log when merging integrations
2023-08-26 19:14:29 +02:00
oSumAtrIX
37abb2db99
build: package the Java sources
2023-08-26 19:10:29 +02:00
semantic-release-bot
5ba0b47e60
chore(release): 14.2.0-dev.1 [skip ci]
...
# [14.2.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v14.1.0...v14.2.0-dev.1 ) (2023-08-25)
### Features
* load patches in lexicographical order ([e8f2087
](e8f2087a6f
))
2023-08-25 15:12:46 +00:00
oSumAtrIX
e8f2087a6f
feat: load patches in lexicographical order
...
This feature was lost in past commits
2023-08-25 17:10:44 +02:00
semantic-release-bot
6ce99f5cdf
chore(release): 14.1.0 [skip ci]
...
# [14.1.0](https://github.com/ReVanced/revanced-patcher/compare/v14.0.0...v14.1.0 ) (2023-08-24)
### Bug Fixes
* move version properties file to correct package ([e985676
](e985676c2d
))
### Features
* properly make use of logging facade ([ba56a6a
](ba56a6a2ee
))
2023-08-24 02:50:15 +00:00
oSumAtrIX
13c0c9cdd3
chore: merge branch dev
to main
( #220 )
2023-08-24 04:48:39 +02:00
semantic-release-bot
58ffdb60d7
chore(release): 14.1.0-dev.1 [skip ci]
...
# [14.1.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v14.0.1-dev.1...v14.1.0-dev.1 ) (2023-08-24)
### Features
* properly make use of logging facade ([ba56a6a
](ba56a6a2ee
))
2023-08-24 02:45:16 +00:00
oSumAtrIX
ba56a6a2ee
feat: properly make use of logging facade
...
This deprecates the primary constructor of `PatcherOptions` with the `logger` parameter
2023-08-24 04:43:16 +02:00
oSumAtrIX
ccccf5b1d2
build: migrate dependencies to version catalogs
2023-08-23 04:30:31 +02:00
semantic-release-bot
b507ac0a54
chore(release): 14.0.1-dev.1 [skip ci]
...
## [14.0.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v14.0.0...v14.0.1-dev.1 ) (2023-08-23)
### Bug Fixes
* move version properties file to correct package ([e985676
](e985676c2d
))
2023-08-23 01:39:26 +00:00
oSumAtrIX
e985676c2d
fix: move version properties file to correct package
2023-08-23 03:36:48 +02:00
oSumAtrIX
f7f4ba6c55
build: update dependencies
2023-08-23 03:36:48 +02:00
semantic-release-bot
4292f43814
chore(release): 14.0.0 [skip ci]
...
# [14.0.0](https://github.com/ReVanced/revanced-patcher/compare/v13.0.0...v14.0.0 ) (2023-08-22)
### Bug Fixes
* log decoding resources after logging deleting resource cache directory ([db62a16
](db62a1607b
))
* only emit closed patches that did not throw an exception with the `@Patch` annotation ([5938f6b
](5938f6b7ea
))
* supply the parent classloader to `DexClassLoader` ([0f15077
](0f15077225
))
### Code Refactoring
* improve structure and public API ([6b8977f
](6b8977f178
))
### Features
* do not log instantiation of ReVanced Patcher ([273dd8d
](273dd8d388
))
### BREAKING CHANGES
* Various public APIs have been changed. The `Version` annotation has been removed. Patches do not return anything anymore and instead throw `PatchException`. Multiple patch bundles can now be loaded in a single ClassLoader to bypass class loader isolation.
2023-08-22 17:16:51 +00:00
oSumAtrIX
30bd4fd9fe
chore: merge branch dev
to main
( #217 )
2023-08-22 19:15:09 +02:00
semantic-release-bot
76de39369d
chore(release): 14.0.0-dev.4 [skip ci]
...
# [14.0.0-dev.4](https://github.com/ReVanced/revanced-patcher/compare/v14.0.0-dev.3...v14.0.0-dev.4 ) (2023-08-22)
### Bug Fixes
* only emit closed patches that did not throw an exception with the `@Patch` annotation ([5938f6b
](5938f6b7ea
))
2023-08-22 17:04:25 +00:00
oSumAtrIX
88a703ce36
build: bump dependencies
2023-08-22 19:01:59 +02:00
oSumAtrIX
5938f6b7ea
fix: only emit closed patches that did not throw an exception with the @Patch
annotation
2023-08-22 19:00:34 +02:00
semantic-release-bot
5c0c0d6c37
chore(release): 14.0.0-dev.3 [skip ci]
...
# [14.0.0-dev.3](https://github.com/ReVanced/revanced-patcher/compare/v14.0.0-dev.2...v14.0.0-dev.3 ) (2023-08-20)
### Bug Fixes
* supply the parent classloader to `DexClassLoader` ([0f15077
](0f15077225
))
### Features
* do not log instantiation of ReVanced Patcher ([273dd8d
](273dd8d388
))
2023-08-20 17:16:00 +00:00
oSumAtrIX
0f15077225
fix: supply the parent classloader to DexClassLoader
2023-08-20 19:14:10 +02:00
oSumAtrIX
273dd8d388
feat: do not log instantiation of ReVanced Patcher
2023-08-20 19:14:09 +02:00
semantic-release-bot
1795f376ef
chore(release): 14.0.0-dev.2 [skip ci]
...
# [14.0.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v14.0.0-dev.1...v14.0.0-dev.2 ) (2023-08-19)
2023-08-19 15:26:18 +00:00
oSumAtrIX
e7360a7692
build(Needs bump): Bump dependencies
...
This fixes an issue with a library not working on Android
2023-08-19 17:23:31 +02:00
semantic-release-bot
e1fc86934f
chore(release): 14.0.0-dev.1 [skip ci]
...
# [14.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v13.0.0...v14.0.0-dev.1 ) (2023-08-18)
### Bug Fixes
* log decoding resources after logging deleting resource cache directory ([db62a16
](db62a1607b
))
### Code Refactoring
* improve structure and public API ([6b8977f
](6b8977f178
))
### BREAKING CHANGES
* Various public APIs have been changed. The `Version` annotation has been removed. Patches do not return anything anymore and instead throw `PatchException`. Multiple patch bundles can now be loaded in a single ClassLoader to bypass class loader isolation.
2023-08-18 23:47:18 +00:00
oSumAtrIX
6b8977f178
refactor: improve structure and public API
...
This commit introduces a couple changes besides the refactor. Executing patches can be cancelled, multiple bundles loaded into the same class loader and `Patch.execute` does not have to return anymore.
BREAKING CHANGE: Various public APIs have been changed. The `Version` annotation has been removed. Patches do not return anything anymore and instead throw `PatchException`. Multiple patch bundles can now be loaded in a single ClassLoader to bypass class loader isolation.
2023-08-19 01:45:27 +02:00
oSumAtrIX
12c6c73de0
build: add mavenLocal
to repositories
2023-08-16 16:53:47 +02:00
oSumAtrIX
db62a1607b
fix: log decoding resources after logging deleting resource cache directory
2023-08-16 16:53:45 +02:00
semantic-release-bot
58bb879ef5
chore(release): 13.0.0 [skip ci]
...
# [13.0.0](https://github.com/ReVanced/revanced-patcher/compare/v12.1.1...v13.0.0 ) (2023-08-14)
### Bug Fixes
* decode in correct order ([8fb2f2d
](8fb2f2dc1d
))
* disable correct loggers ([c2d89c6
](c2d89c622e
))
* get framework ids to compile resources ([f2cb7ee
](f2cb7ee7df
))
* only enable logging for ReVanced ([783ccf8
](783ccf8529
))
* set package metadata correctly ([02d6ff1
](02d6ff15fe
))
* build(Needs bump)!: Bump dependencies ([d5f89a9
](d5f89a903f
))
### BREAKING CHANGES
* This bump updates smali, a crucial dependency
2023-08-14 02:11:55 +00:00
oSumAtrIX
254912438a
chore: merge branch dev
to main
( #213 )
2023-08-14 04:10:17 +02:00
semantic-release-bot
0e48918bcc
chore(release): 13.0.0-dev.3 [skip ci]
...
# [13.0.0-dev.3](https://github.com/ReVanced/revanced-patcher/compare/v13.0.0-dev.2...v13.0.0-dev.3 ) (2023-08-14)
### Bug Fixes
* decode in correct order ([8fb2f2d
](8fb2f2dc1d
))
* only enable logging for ReVanced ([783ccf8
](783ccf8529
))
2023-08-14 02:04:54 +00:00
oSumAtrIX
783ccf8529
fix: only enable logging for ReVanced
2023-08-14 04:02:39 +02:00
oSumAtrIX
8fb2f2dc1d
fix: decode in correct order
2023-08-14 04:02:24 +02:00
semantic-release-bot
2a8cc283c7
chore(release): 13.0.0-dev.2 [skip ci]
...
# [13.0.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v13.0.0-dev.1...v13.0.0-dev.2 ) (2023-08-12)
### Bug Fixes
* disable correct loggers ([c2d89c6
](c2d89c622e
))
* get framework ids to compile resources ([f2cb7ee
](f2cb7ee7df
))
* set package metadata correctly ([02d6ff1
](02d6ff15fe
))
2023-08-12 00:25:18 +00:00
oSumAtrIX
433fe3af9f
build(Needs bump): Bump dependencies
2023-08-12 02:23:03 +02:00
oSumAtrIX
c2d89c622e
fix: disable correct loggers
2023-08-12 02:22:52 +02:00
oSumAtrIX
02d6ff15fe
fix: set package metadata correctly
2023-08-12 02:19:28 +02:00
oSumAtrIX
f2cb7ee7df
fix: get framework ids to compile resources
2023-08-12 02:18:43 +02:00
oSumAtrIX
a2ac44dcc1
chore: use more generic inline docs
2023-08-12 02:15:26 +02:00
semantic-release-bot
3cf9d74efa
chore(release): 13.0.0-dev.1 [skip ci]
...
# [13.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v12.1.1...v13.0.0-dev.1 ) (2023-08-11)
* build(Needs bump)!: Bump dependencies ([d5f89a9
](d5f89a903f
))
### BREAKING CHANGES
* This bump updates smali, a crucial dependency
2023-08-11 00:53:46 +00:00
oSumAtrIX
d5f89a903f
build(Needs bump)!: Bump dependencies
...
BREAKING CHANGE: This bump updates smali, a crucial dependency
2023-08-11 02:51:37 +02:00
semantic-release-bot
496c2242bc
chore(release): 12.1.1 [skip ci]
...
## [12.1.1](https://github.com/ReVanced/revanced-patcher/compare/v12.1.0...v12.1.1 ) (2023-08-03)
### Bug Fixes
* clear method lookup maps before initializing them ([#210 ](https://github.com/ReVanced/revanced-patcher/issues/210 )) ([746544f
](746544f9d5
))
2023-08-03 18:34:22 +00:00
oSumAtrIX
98fbff87df
chore: merge branch dev
to main
( #211 )
2023-08-03 20:32:45 +02:00
semantic-release-bot
ddb51a1c45
chore(release): 12.1.1-dev.2 [skip ci]
...
## [12.1.1-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v12.1.1-dev.1...v12.1.1-dev.2 ) (2023-08-03)
2023-08-03 18:16:10 +00:00
oSumAtrIX
8df1155215
build(Needs bump): Bump compatibility
2023-08-03 20:14:01 +02:00
semantic-release-bot
53f2a61409
chore(release): 12.1.1-dev.1 [skip ci]
...
## [12.1.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v12.1.0...v12.1.1-dev.1 ) (2023-08-03)
### Bug Fixes
* clear method lookup maps before initializing them ([#210 ](https://github.com/ReVanced/revanced-patcher/issues/210 )) ([746544f
](746544f9d5
))
2023-08-03 11:43:51 +00:00
aAbed
746544f9d5
fix: clear method lookup maps before initializing them ( #210 )
...
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de >
2023-08-03 13:42:00 +02:00
semantic-release-bot
c65c3df11c
chore(release): 12.1.0 [skip ci]
...
# [12.1.0](https://github.com/ReVanced/revanced-patcher/compare/v12.0.0...v12.1.0 ) (2023-08-03)
### Features
* add `MutableMethod.getInstructions` extension function ([fae4029
](fae4029cfc
))
2023-08-03 02:43:21 +00:00
oSumAtrIX
b29b8f12b3
chore: merge branch dev
to main
( #209 )
2023-08-03 04:18:23 +02:00
semantic-release-bot
d6945677c4
chore(release): 12.1.0-dev.2 [skip ci]
...
# [12.1.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v12.1.0-dev.1...v12.1.0-dev.2 ) (2023-08-03)
2023-08-03 02:16:55 +00:00
oSumAtrIX
aedf4aea08
build(Needs bump): Update dependencies
2023-08-03 04:15:09 +02:00
semantic-release-bot
dc28d414dc
chore(release): 12.1.0-dev.1 [skip ci]
...
# [12.1.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v12.0.0...v12.1.0-dev.1 ) (2023-08-01)
### Features
* add `MutableMethod.getInstructions` extension function ([fae4029
](fae4029cfc
))
2023-08-01 22:14:09 +00:00
oSumAtrIX
9755bab298
refactor: remove unnecessary annotation
2023-08-02 00:12:24 +02:00
oSumAtrIX
fae4029cfc
feat: add MutableMethod.getInstructions
extension function
2023-08-02 00:11:56 +02:00
oSumAtrIX
1790f0d706
ci: Change bumping commit scope
2023-07-30 02:50:41 +02:00
semantic-release-bot
0ba2c51676
chore(release): 12.0.0 [skip ci]
...
# [12.0.0](https://github.com/ReVanced/revanced-patcher/compare/v11.0.4...v12.0.0 ) (2023-07-30)
### Bug Fixes
* correct access flags of `PackageMetadata` ([416d691
](416d69142f
))
* set resource table via resource decoder ([e0f8e1b
](e0f8e1b71a
))
### Features
* Deprecate `Version` annotation ([c9bbcf2
](c9bbcf2bf2
))
* remove `Path` option ([#202 ](https://github.com/ReVanced/revanced-patcher/issues/202 )) ([69e4a49
](69e4a49065
))
### BREAKING CHANGES
* This removes the previously available `Path` option
2023-07-30 00:10:57 +00:00
oSumAtrIX
03cd97b49c
chore: merge branch dev
to main
( #203 )
2023-07-30 02:09:12 +02:00
semantic-release-bot
16a162c1dd
chore(release): 12.0.0-dev.2 [skip ci]
...
# [12.0.0-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v12.0.0-dev.1...v12.0.0-dev.2 ) (2023-07-28)
### Features
* Deprecate `Version` annotation ([400442f
](400442f70e
))
2023-07-28 20:19:02 +02:00
oSumAtrIX
c9bbcf2bf2
feat: Deprecate Version
annotation
2023-07-28 20:19:01 +02:00
semantic-release-bot
86e1bf6078
chore(release): 12.0.0-dev.1 [skip ci]
...
# [12.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v11.0.4...v12.0.0-dev.1 ) (2023-07-26)
### Bug Fixes
* correct access flags of `PackageMetadata` ([416d691
](416d69142f
))
* set resource table via resource decoder ([e0f8e1b
](e0f8e1b71a
))
### Features
* remove `Path` option ([#202 ](https://github.com/ReVanced/revanced-patcher/issues/202 )) ([69e4a49
](69e4a49065
))
### BREAKING CHANGES
* This removes the previously available `Path` option
2023-07-26 04:30:48 +00:00
oSumAtrIX
1bca84ef0b
refactor: move code out of try block
2023-07-26 06:28:48 +02:00
oSumAtrIX
e0f8e1b71a
fix: set resource table via resource decoder
2023-07-26 06:28:48 +02:00
oSumAtrIX
416d69142f
fix: correct access flags of PackageMetadata
2023-07-26 06:28:48 +02:00
oSumAtrIX
426807aeaa
refactor: remove unnecessary changes to default config
2023-07-26 06:28:47 +02:00
oSumAtrIX
90cb075a97
build(needs-bump): update dependencies
2023-07-26 06:28:47 +02:00
oSumAtrIX
ac2ca8fbd3
ci: bump on scope needs-bump
2023-07-26 06:28:47 +02:00
Palm
69e4a49065
feat: remove Path
option ( #202 )
...
BREAKING CHANGE: This removes the previously available `Path` option
2023-07-26 04:11:21 +02:00
oSumAtrIX
a4a030f2b2
build: update gradle
2023-07-06 18:15:40 +02:00
semantic-release-bot
dcc4ecd237
chore(release): 11.0.4 [skip ci]
...
## [11.0.4](https://github.com/revanced/revanced-patcher/compare/v11.0.3...v11.0.4 ) (2023-07-01)
### Bug Fixes
* clear method lookup maps ([#198 ](https://github.com/revanced/revanced-patcher/issues/198 )) ([9d81baf
](9d81baf4b4
))
2023-07-01 00:42:50 +00:00
oSumAtrIX
57f3036a96
chore: merge branch dev
to main
( #199 )
2023-07-01 02:41:21 +02:00