All Versions
35
Latest Version
Avg Release Cycle
39 days
Latest Release
853 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v0.5 Changes
February 01, 2019๐ถ Secret Agent Man ๐ถ
๐ This release introduces the concept of an
Agent
. Agents are separate activities which you could run in the same thread or in a separate thread. There are three types of agentsContext
,Job
,Public
described below. To connect to an agent use theWorker::bridge
method and pass a link of component's environment to it.โก๏ธ Features
- Introduced the concept of an
Agent
which can run processes in other contexts: Context
agent spawns once per threadJob
agent spawns for every bridgePublic
agent spawns an agent in a separate thread (it uses [Web Workers API] under the hood).- Allow setting the whole properties struct of a component with
<Component: with props />
ComponentLink
now has asend_self
method which allows components to update themselves [[@DenisKolodin], #365]- All services are re-exported within the
yew::services
module. html!
macro supports multiple classes in a single string:<a class="button is-primary",>
.- Added
FetchOptions
to allow settingCredentials
offetch
request. FetchService
aborts requests usingAbortController
.- Added
SubmitEvent
withonsubmit
rule.
- Introduced the concept of an
๐ #### ๐ Fixes
- Bug with emscripten target
RuntimeError: index out of bounds
fixed with a new scheduler [[@DenisKolodin], #272]
- Bug with emscripten target
๐จ Breaking changes
send_back
method requires a mutable reference toself
. This was added to prevent creating callbacks inview
implementations. [[@DenisKolodin], #367]Context
requirement removed. It's no longer necessary to useComponent<CTX>
type parameter. Instead, a link to the environment is provided with theComponent::create
call. [[@DenisKolodin], #272]
-
v0.4
June 01, 2018 -
v0.3
April 23, 2018 -
v0.2
January 08, 2018 -
v0.1 Changes
December 31, 2017๐ท [Web Workers API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API