1.8 KiB
1.8 KiB
Unreleased
Breaking Changes
- Support Bevy 0.18
- Update CEF version to 144.4.0
- Improve message loop handling
- We can now specify command-line switches when creating the
CefPlugin.- As a result,
CefPluginis no longer a unit struct.
- As a result,
- Demo example removed from workspace
- Changed
JsEmitEventPluginto useReceive<E>wrapper for events- Events no longer need to implement the
Eventtrait, onlyDeserializeOwned + Send + Sync + 'static
- Events no longer need to implement the
- Changed
HostEmitEventtoEntityEventwith requiredwebviewfieldDefaulttrait is no longer implemented
- Changed navigation events
RequestGoBackandRequestGoForwardtoEntityEvent- Both events now require a
webview: Entityfield Defaulttrait is no longer implemented
- Both events now require a
- Changed DevTools events
RequestShowDevToolandRequestCloseDevtooltoEntityEvent- Both events now require a
webview: Entityfield Defaulttrait is no longer implemented
- Both events now require a
- Remove auto install debug tools
- Please refer to README.md and install manually from now on.
Features
- Added
PreloadScriptscomponent for specifying JavaScript to be executed when the page is initialized. - Added
CefExtensionstype for registering custom JavaScript APIs via CEF'sregister_extension- Extensions are global and load before any page scripts
- New
extensionsexample demonstrating custom JS APIs
- Refactored
window.cefAPI (brp,emit,listen) to be registered as a CEF extension duringon_web_kit_initialized- The API is now available earlier in the page lifecycle
Bug Fixes
- Fixed so that the webview can detect pointers correctly even if it is not the root entity.
- Avoid a crash when updating the cursor icon
- Fixed IME input not working due to
bevy_winitnot callingset_ime_allowed()on initial window creation
v0.1.0
First release