Releases: Qihoo360/RePlugin
Releases · Qihoo360/RePlugin
v2.2.0
replugin-host-lib
Breaking Changes 核心改动
- (#296) Support "UI process" as a plug-in management process - @jiongxuan
支持以“UI进程”作为插件管理进程。换言之,可以做到“仅一个进程”就能开启插件。有关“插件管理进程”的详述,请点击这里查看《插件的管理》中“插件管理进程”一节。
补充:在RePlugin 2.1.7及以前版本,必须要开启“两个进程”(分别为当前进程和“常驻进程”),这也是出于性能和插件管理角度考虑。如今仅需要一个进程即可。
完美支持 Android 4.4 及以下的插件的MultiDex(分包技术)的支持。
补充:主程序MultiDex一直都是“天然支持的”。而在RePlugin 2.1.7及以前版本,仅支持 Android 5.0 及以上版本的插件的MultiDex
支持“动态分配进程坑位”方案,无需“填写Meta-data来分配进程”即可。有关进程坑位的信息,请参见《插件的组件》中“多进程坑位”一节。
补充:在RePlugin 2.1.7及以前版本,常驻进程名不能修改,只可以为“[主程序包名]:GuardService”。从该版本开始,不仅可以修改常驻进程名,还可以选择“关闭常驻进程”
Main Changes 主要更新
- (#287) Support for custom persistentName - @cundong
- (#290) Added "Fetch ResourceId/View in other plugins" - @jiongxuan
Bug Fixes 修复错误
- (#285) Fixed the installation will fail when you install the same version of the plug-in multiple - @jiongxuan
- (#286) Resolved the issue of "Overwriting the plug-in, it may not be notified to other processes" - @jiongxuan
- (#294) 解决P-n插件升级为“新插件”的问题 - @kevinfen9
Mirror Changes 精致优化
- (#279) Set RePluginClassLoader to Thread's ContextClassLoader - @jiongxuan
- (#302) Modify the number of translucent singleInstance Activity - @cundong
- (#300) The return value of the fetchViewByLayoutName method is changed to "generic" - @jiongxuan
- (#284) Remove unused files - @cundong
replugin-host-gradle
Main Changes 主要更新
Mirror Changes 精致优化
- (#296) Added the PERSISTENT_ENABLE field, and adjust the "android:process" field in host's AndroidManifest - @jiongxuan
- (#302) Modify the number of translucent singleInstance Activity - @cundong
replugin-plugin-lib
Mirror Changes 精致优化
- (#290) Added the RePluginCompat class to be compatible with the old host-lib - @jiongxuan
- (#290) Added RePlugin.fetchResourceIdByName/fetchViewByLayoutName in plugin-lib - @jiongxuan
v2.1.7
replugin-host-lib
Bug fixes
- (#265) Fixed an ANR issue when using startActivity / startService, resulting in repeated calls to onCreate - @jiongxuan
Mirror changes
replugin-plugin-gradle
Bug fixes
v2.1.6
replugin-host-lib
Main changes
- (#224) Replace the referenced Apache libraries(IO/Lang3 and etc.) with RePlugin's own - @jiongxuan
- (#241) Support "package name" and "alias" to use plugin - @jiongxuan
- (#238) Support "startActivity()" in the plug-in's Application - @jiongxuan
Bug fixes
- (#231) Fixed a checkDynamicClass bug when startActivity - @erhu
- (#243) Fixed an issue that could cause a crash when opening an Activity in Intent-Filter mode - @jiongxuan
- (#243) Fixed an issue where the "P-n" plugin was incorrectly changed when the built-in plugin was released, resulting in the loss of "package name" information - @jiongxuan
Mirror changes
- (#229) Plug-in installation: According to APK file name, to decide which kind of solution will be used - @jiongxuan
- (#238) Support "startActivity(intent, options)" - @jiongxuan
- (#229) Added unregisterHookingClass method - @jiongxuan
- (#229) Some code refactoring (PluginCommImpl/PluginLibraryPorxy/Log's) - @jiongxuan
replugin-host-gradle
Main changes
- (#217) Support Android Gradle Plugin 3.0.0+ - @lizhangqu
Bug fixes
- (#223) resolve the problem that config doesn't update when remove the config closure in build.gradle & sync it - @wangfuda
replugin-plugin-lib
Mirror changes
- (#229) Added unregisterHookingClass method - @jiongxuan
replugin-plugin-gradle
Main changes
- (#217) Support Android Gradle Plugin 3.0.0+ - @lizhangqu
Bug fixes
- (#242) Resolved if the "Unzip" an empty file, it will compile failed (especially in Tencent's Bugly) - @jiongxuan
Mirror changes
v2.1.5
replugin-host-lib
- (#199) Added "Same version installation"(支持“同版本覆盖”安装) - @SkyEric
- (#199) Optimize uninstall for synchronizing multiple process - @SkyEric
replugin-host-gradle
- (#194) Optimize host gradle automatically synchronizes the version number - @wangyupeng1-iri
replugin-plugin-gradle
- (#203) Allow install plugin automatically - @wangyupeng1-iri
- (#167) 处理项目目录结构外的jar (解决大量替换基类失败的反馈) - @zzz40500
- (#174) Added "rpUninstallPlugin" task - @wangyupeng1-iri
- Added "rpForceStopHostApp"/"rpStartHostApp"/"rpRestartHostApp" tasks - @wangyupeng1-iri
- Compatible with Microsoft operating system directory - @wangyupeng1-iri
v2.1.4
replugin-host-lib
- Fix metaData might be null when parseFromPackageInfo called - @jiongxuan
- Fix '.so' files not release when install plugin - @erhu
- Close verify Signature by default - @jiongxuan
- Merge DefaultRePluginCallbacks to RePluginCallbacks - @jiongxuan
- Move some event callbacks(onPrepareAllocPitActivity and etc.) to RePluginEventCallbacks - @jiongxuan
- Add the uninstall plugin broadcast - @wangyupeng1-iri
replugin-plugin-gradle
- Compat for Instant Run - @lizhangqu & @erhu
- Using reflection to access internal field and fix crash in Windows system - @goodev
v2.1.3
replugin-host-lib
- Support startActivityForResult from Host to Plugin - @erhu
- Fix PluginDexClassLoader中不能正常的从宿主ClassLoader中加载类 - @ckjavacoder
- Fix AppCompatActivity没有设置android:theme而在Application中设置后导致找不到Theme的问题 - @coder-zhao
- Remove WmWrapper and optimize Activity Label's behavior - @jiongxuan
replugin-host-gradle
- Support applicationIdSuffix - @zzz40500
replugin-plugin-gradle
- Compat for Instant Run - @lizhangqu & @erhu
- Using reflection to access internal field and fix crash in Windows system - @goodev
replugin-plugin-lib
- Support startActivityForResult (compat with host library v2.1.2 and below) - @erhu
v2.1.2
replugin-host-gradle
- Fix mergeAssets task is execute after processResources Task - @lizhangqu
replugin-plugin-gradle
- A large number of optimize code - @lizhangqu
v2.1.1
replugin-host-lib
- Open debug log - @cundong
replugin-host-gradle
- Support Android productFlavors compilation features, plugin directory scenes more compatible —— [@lizhangqu]
replugin-plugin-gradle
- Optimizes: Use all injectors by default —— @erhu
- Plugin gradle configuration optimization —— @lizhangqu