Minor Changes
- BREAKING CHANGE: Bump Preact from 10.24.0 to 10.28.0, see diffs at hzy/preact#6. (#2042)
Patch Changes
-
Add safety checks for compilation macros to prevent runtime errors when they are undefined. (#2110)
Replaces direct usage of
__PROFILE__,__MAIN_THREAD__,__BACKGROUND__withtypeofchecks.This improves robustness by checking variable existence before access, preventing runtime errors in environments where compilation macros are not defined.