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