All Versions
31
Latest Version
Avg Release Cycle
54 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v0.4.0 Changes
July 28, 2019ElContainer
, imported in prelude, renamed toView
. (Breaking)- π¨ Internal refactor of
El
: Now wrapped inNode
, along with
Empty
andText
. Creation macros returnNode(Element)
. (Breaking) - π Changed the way special attributes like
disabled
,autofocus
, and
checked
are handled (Breaking) MessageMapper
now accepts closuresOrders
is a trait now instead of a struct. (Breaking)- Significant changes to MessageMapper
- Orders has new methods,
clone_app
andmsg_mapper
which can allow access to app instance. - β Added more SVG element macros
- π Several minor bux fixes
- β‘οΈ Examples updated to reflect these changes
- π Improvements to Fetch API, especially regarding error handling
and deserialization
-
v0.3.7 Changes
June 22, 2019routes
now acceptsUrl
instead of&Url
(Breaking)- π Improvements to fetch API
- Added
raw!
,md!
, andplain!
macros that aliasEl::from_html
,El::from_markdown
,
andEl::new_text
respectively - π
Attrs!
andStyle!
macros can now use commas and whitespace as separators,
in addition to semicolons - π Fixed typos in a few attributes (Breaking)
- π Fixed a bug where an HTML namespace was applied to raw html/markdown elements
- π New conditional syntax added in
class!
macro, similar toElm
'sclassList
Listener
now implementsMessageMapper
El methods
add_child
,add_style
,add_attr
, andset_text
now return the elements,
π allowing chaining- Fixed a bug with
set_text
. Renamed toreplace_text
. Addedadd_text
, which adds
π a text node, but doesn't remove existing ones. Addedadd_class
. (Breaking)
-
v0.3.6 Changes
June 09, 2019- Fetch module and API heavily changed (breaking)
- β Added support for
requestβAnimationβFrame
, which improves render performance, especially for animations - π
Styles no longer implicitly add
px
. Addedunit!
macro in its place Map
can now be used directly in elements, without needing to annotate type and collect (ie for childElements
, andListener
s)- Significant changes to MessageMapper
- Orders hs new methods,
clone_app
andmsg_mapper
that allow access to app instance. - π Fixed a bug where
empty
elements at the top-level were rendering in the wrong order - β Added an
empty!
macro, which is similar toseed::empty
- π Attributes and style now retain order
-
v0.3.5 Changes
May 28, 2019- π Fixed a bug where view functions returning
Vec<El>
weren't rendering properly - π Fixed a type with the
viewBox
attribute
- π Fixed a bug where view functions returning
-
v0.3.4 Changes
- β‘οΈ The
update
fn now accepts a (new)Orders
struct, and returns nothing. Renders occur implicitly, with the option to skip rendering, update with an additional message, or perform an asynchronous action. (Breaking) - π
.mount()
now accepts elements. Deprecated.mount_el()
- π² The
log
function and macro now support items which implementDebug
- β Removed deprecated
routing::push_path
function (breaking)
- β‘οΈ The
-
v0.3.3 Changes
- β Added
seed::update
function, which allows custom events, and updates from JS
- β Added
-
v0.3.2 Changes
- Top level view functions can now return
Vec<El<Ms>>
,El<Ms>
, or something else implementing the new ElContainer trait
- Top level view functions can now return
-
v0.3.1 Changes
- Top level view functions now return
Vec<El<Ms>>
instead ofEl<Ms>
, mounted directly to the mount point. (Breaking) push_route()
can now accept aVec<&str>
, depreciatingpush_path()
- π Fixed a bug where window events couldn't be enabled on initialization
- Top level view functions now return
-
v0.3.0 Changes
- β‘οΈ
update
function now takes a mutable ref of the model. (Breaking) - β‘οΈ
Update
(update's return type) is now a struct. (Breaking) - Async, etc events are now handled through messages, instead of passing
App
through the view func. (Breaking) - π Fixed some bugs with empty elements
- Internal code cleanup
- β Added commented-out release command to example build files
- β Added more tests
- β‘οΈ
-
v0.2.10 Changes
- Routing can be triggered by clicking any element containing a
Href
attribute with value as a relative link - Internal links no longer trigger a page refresh
- π― Models no longer need to implement
Clone
- π Fixed a bug introduced in 0.2.9 for
select
elements
- Routing can be triggered by clicking any element containing a