v0.6.1
版本发布时间: 2019-11-02 01:25:35
yewstack/yew_router最新发布版本:v0.11.0(2020-03-14 20:04:52)
Breaking Changes
- None
Features
- Allow a broader set of capture syntaxes for unnamed structs/variants. Identifiers don't need to be specified within the
{}
delimiters because the fields themselves don't have names. Now{}
,{*}
, and{3}
are valid syntax when working with Tuple-structs/variants. - Allow
!
special character in more places. - Rework parser "compiler" error messages. Better messages will be shown when there are errors in the routing syntax.
- Add
impl<SW: Switch, T> From<SW> for Route<T>
. Now Routes can be created from Switches easily. - Allow escaping
{
,}
, and!
special characters by using{{
,}}
, and!!
respectively. - Provide a correct error message when attempting to derive switch for a Unit struct/variant with a capture group.
Bug Fixes
- None