Skip to content

Releases: Qihoo360/RePlugin

v2.2.0

23 Aug 03:15
Compare
Choose a tag to compare

replugin-host-lib

Breaking Changes 核心改动

  • (#296) Support "UI process" as a plug-in management process - @jiongxuan

支持以“UI进程”作为插件管理进程。换言之,可以做到“仅一个进程”就能开启插件。有关“插件管理进程”的详述,请点击这里查看《插件的管理》中“插件管理进程”一节

补充:在RePlugin 2.1.7及以前版本,必须要开启“两个进程”(分别为当前进程和“常驻进程”),这也是出于性能和插件管理角度考虑。如今仅需要一个进程即可。

  • (#264) Support multidex feature in plugin application for the ROM below LOLLIPOP - @wangfuda

完美支持 Android 4.4 及以下的插件的MultiDex(分包技术)的支持。

补充:主程序MultiDex一直都是“天然支持的”。而在RePlugin 2.1.7及以前版本,仅支持 Android 5.0 及以上版本的插件的MultiDex

  • (#288) Support for dynamically assign plugin's custom processes - @cundong

支持“动态分配进程坑位”方案,无需“填写Meta-data来分配进程”即可。有关进程坑位的信息,请参见《插件的组件》中“多进程坑位”一节

补充:在RePlugin 2.1.7及以前版本,常驻进程名不能修改,只可以为“[主程序包名]:GuardService”。从该版本开始,不仅可以修改常驻进程名,还可以选择“关闭常驻进程”

Main Changes 主要更新

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

02 Aug 05:22
Compare
Choose a tag to compare

replugin-host-lib

Bug fixes

  • (#265) Fixed an ANR issue when using startActivity / startService, resulting in repeated calls to onCreate - @jiongxuan

Mirror changes

  • (#269) Adjust the package of the host's tools class - @cundong

replugin-plugin-gradle

Bug fixes

  • (#263) Fixed AAR complied from build-cache can't be injected by plugin-gradle - @wangfuda

v2.1.6

27 Jul 13:33
Compare
Choose a tag to compare

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

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

replugin-plugin-gradle

Main changes

Bug fixes

  • (#242) Resolved if the "Unzip" an empty file, it will compile failed (especially in Tencent's Bugly) - @jiongxuan

Mirror changes

  • (#212) Optimize a piece of code and repair one bug about compatibility of path separators for window and Linux - @wangfuda

v2.1.5

27 Jul 13:16
Compare
Choose a tag to compare

replugin-host-lib

  • (#199) Added "Same version installation"(支持“同版本覆盖”安装) - @SkyEric
  • (#199) Optimize uninstall for synchronizing multiple process - @SkyEric

replugin-host-gradle

replugin-plugin-gradle

v2.1.4

27 Jul 13:15
Compare
Choose a tag to compare

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

27 Jul 13:10
Compare
Choose a tag to compare

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

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

27 Jul 13:09
Compare
Choose a tag to compare

replugin-host-gradle

  • Fix mergeAssets task is execute after processResources Task - @lizhangqu

replugin-plugin-gradle

v2.1.1

27 Jul 13:07
Compare
Choose a tag to compare

replugin-host-lib

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

v2.1.0

27 Jul 13:05
Compare
Choose a tag to compare

replugin-host-lib

  • The first public release —— @ALL RePlugin Team

replugin-host-gradle

  • The first public release —— @ALL RePlugin Team

replugin-plugin-gradle

  • The first public release —— @ALL RePlugin Team

replugin-plugin-lib

  • The first public release —— @ALL RePlugin Team