Skip to content

Releases: SilverFruity/OCRunner

1.3.3

1.3.2

21 Nov 13:43
Compare
Choose a tag to compare

1.3.1

18 Aug 13:46
Compare
Choose a tag to compare

BUGFIX: a object after KVO, get/set property's ivar will be failed
BUGFIX: we should hotfix property when property's ivar not exist

1.3.0

29 Jul 11:14
Compare
Choose a tag to compare

BUGFIX: overided a class's dealloc, it will be called twice when a object dealloc [first call script's dealloc, then call native's dealloc, like JSPatch].
FEATURE: overided a class's dealloc, it will call [super deallloc] by default at the end of method scope.
if we hotfix a native class's dealloc, now we can call [self ORGdealloc] manually to call native's dealloc
[⚠️WARNNING : don't use [self ORGdealloc]] in old version OCRunner, it will crash. you can't use it when app has multi version of OCRunner in online AppStore]
[BUGFIX: 解决 hotfix Native Class 的 dealloc 后,默认会像 JSPatch 一样默认调用 [self ORGdealloc],会造成 dealloc 调用两次的问题,先调用 script 的 dealloc 随后接着调用 native 的 dealloc ]
[FEATURE: 针对这种情况,为了更加符合 objc 的使用习惯,现在默认会调用 [super dealloc] 以避免这种情况,同时为了兼容在 dealloc 中调用 native 的 dealloc, 现在可以在脚本中使用 [self ORGdealloc] 以达成这个目的 ]
[⚠️ 但不幸的是,这个方法调用下发到旧版本的 OCRunner 中将会直接触发奔溃 ]
[⚠️⚠️⚠️ 请勿使用 [self ORGdealloc], 当线上的 OCRunner < 1.3.0 ]

1.2.14

29 Jul 11:09
Compare
Choose a tag to compare

[BUGFIX] if the properties of script's class has been existed in native class, we will ignore them.
[BUGFIX] evel crashed in dealloc

1.2.12

1.2.11

27 Mar 13:53
Compare
Choose a tag to compare

BUGFIX: block 中未对 NSNumberNode 的子节点进行变量捕获,导致变量查找失败的问题

1.2.10

15 Sep 15:00
Compare
Choose a tag to compare

BUGFIX: for 循环中使用 continue 有死循环的问题

2023.3.1 update: 更新 PatchGenerator,解决顶级作用域的普通表达式会保存两次,导致顶级作用域的函数调用会调用两次的问题

1.2.9

1.2.5

30 Mar 06:40
Compare
Choose a tag to compare

Fix some memory leaks: binary patch deserialization, WKWebView block dynamic signature, the 'ffi_type' of function call, block TypeEncode strcat.