Skip to content

Latest commit

 

History

History
125 lines (60 loc) · 6.23 KB

File metadata and controls

125 lines (60 loc) · 6.23 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.7.6 (2022-02-28)

0.7.5 (2021-09-24)

Bug Fixes

  • move dom type definitions to d.ts to avoid conflicts with ts dom lib referenced in web projects (76fa271)

0.7.4 (2021-08-17)

Bug Fixes

  • workaround for the android inject issue by try inject for more times on loading (868bb2f)

0.7.3 (2021-08-17)

Bug Fixes

  • try to workaround js inject issue on some Android devices by adding inject call on progress event (e92626a)

0.7.2 (2021-08-16)

Bug Fixes

  • remove the deprecated injectOnLoadStart option (8294b10)
  • try to workaround js inject issue on some Android devices (b69699f)

0.7.1 (2021-08-12)

Features

  • remote function instance keeps the same if using the same local function, use a more compact protocol for messaging (a4fac95)

0.7.0 (2021-08-10)

⚠ BREAKING CHANGES

    • rename withComlinkExpose() to withJavascriptInterface()
  • message protocol changed so it is no longer compatible with v0.5.x client(web side) code
  • message protocol changed, handled message will not trigger onMessage prop anymore

Features

  • rewrite the core messaging part, remove the Comlink dependency. (aa69b26)
  • support expose mutiple objects to window (01a6830)

Bug Fixes

  • compatible with Android 5 browser (2b88f30)

0.6.4 (2021-08-05)

Features

  • inject can be triggered from web side by post message (2dae324)

0.6.3 (2021-08-03)

Features

  • add injectOnLoadStart option (0552bd5)

Bug Fixes

  • deps: update jest, ts-jest to v27 (0cbffe1)
  • inject script to webview on page load start to get the interface available earlier (4fd5a8c)

0.6.2 (2021-04-19)

Bug Fixes

  • inject script after page loaded (cce2d71)
  • simplify web side script, do not export functions and remove wait-ready (e3fee01)

0.6.1 (2021-04-16)

Bug Fixes

  • examples: update deps version to address android webview crash issue on Android 5.0 (535af33)
  • examples: update examples and README according to Android 5.0 compatibility check (d15e58c)
  • get injected js interface works on iOS (e1b4ea5)

0.6.0 (2021-04-12)

⚠ BREAKING CHANGES

  • withComlinkExpose() now needs a name param to define the interface name on web side
  • change the option name whitelistUrls to whitelistURLs

Features

  • support inject a interface from native to web (3e4ca72)

  • change the option name whitelistUrls to whitelistURLs (4e61886)

0.5.1 (2020-05-16)

0.5.0 (2020-04-27)

⚠ BREAKING CHANGES

  • rename options.debug to options.log and support input a logger function

  • rename options.debug to options.log and support input a logger function (830ce36)

0.4.4 (2020-03-30)