Skip to content

v0.12.2

Pre-release
Pre-release

Choose a tag to compare

@citkane citkane released this 19 Jun 14:22

This is primarily a housekeeping release aimed at code readability, maintainability and enabling work for upcoming enhancements.

It has a large diff footprint, but does not change existing functionality ensuring 100% backwards compatibility.

Changed

  • The 'core/include/webview' folder structure is flattened to 'core/include'.
  • The file folder structure and namespaces have been coordinated to reflect code purpose and encapsulation.
  • Namespace tails are followed by API structs and classes with improved inline documentation about the purpose of each internal API.
  • Much of the code definitions and implementations have been separated with improved inline documentation in header files.
  • Some existing code has been refactored for improved encapsulation and readability.
  • All JS/HTML string generation has been moved to a tokenised template system with a string retrieval API.

Fixed

  • Unlike Linux and Windows, the Darwin backend does not accept navigate URL strings with leading or trailing whitespace, causing silent execution anomalies. URL strings are now automatically trimmed for Darwin.

Deprecated

  • The webview::webview C++ API class naming is ambiguous for compilers and humans, so webview_cc is now declared in the Global namespace and should be used instead.
  • #include "webview/webview.h" is deprecated in favour of #include "webview.h".