You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Number type was changed from an enum to an opaque struct. Use Number::from to create a number from an integer. Furthermore, the From implementations for f32 and f64 were removed. Use the newly added Number::from_f64 instead.
The RawExpression and String variants of the ObjectKey enum were removed in favor of the newly added Expression variant. Furthermore the methods Object::raw_expression and ObjectKey::string were removed. Use ObjectKey::from instead.
The underlying map implementation for the Object<K, V> type changed from IndexMap<K, V> to VecMap<K, V>. For the most common operations this is a drop-in replacement, but VecMap lacks some of the more exotic APIs the IndexMap provides.
Heredocs and quoted strings containing template interpolations and/or template directives are not parsed as Expression::String anymore, but end up as Expression::TemplateExpr (which can be further parsed into the template elements via Template::from_expr) instead. Expressions of kind Expression::String are guaranteed to not include any templating anymore.