Skip to content

v0.12.7

Pre-release
Pre-release

Choose a tag to compare

@citkane citkane released this 19 Jun 14:36

This release simplifies the use of JSON strings and returning values to the JS frontend for the user.

Added

  • json_parse has been added to the public C API.
  • webview_return public C API has been expanded to include webview_return_int, webview_return_float and webview_return_bool.

Changed

  • Users can now pass string, bool, number and JSON strings directly into webview_return methods without the need to quote or double quote them.

Security

  • Sanitising checks for input strings is managed in the frontend JS (using regex and a sandboxed iframe). Executable code, HTML scripts and URLEncoded scripts are rejected.