Repository navigation
v0.12.7
Pre-release
Pre-release
This release simplifies the use of JSON strings and returning values to the JS frontend for the user.
Added
json_parsehas been added to the public C API.webview_returnpublic C API has been expanded to includewebview_return_int,webview_return_floatandwebview_return_bool.
Changed
- Users can now pass string, bool, number and JSON strings directly into
webview_returnmethods 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.