Mojolicious 6.0 released

135 views
Skip to first unread message

sri

unread,
Feb 26, 2015, 6:11:43 PM2/26/15
to mojol...@googlegroups.com

sri

unread,
Feb 26, 2015, 6:19:52 PM2/26/15
to mojol...@googlegroups.com
And as usual there are a few breaking changes, but most of you should only encounter the new Mojo::DOM API.

    all_contents -> descendant_nodes
    contents  -> child_nodes
    following_siblings -> following_nodes
    match -> matches
    next_sibling -> next_node
    node -> type
    preceding_siblings -> preceding_node
    previous_sibling -> previous_node
    type -> tag

This is the complete list of renamed methods, most have been renamed to differentiate those that return only elements (tag nodes) from those that return all node types, and some to sync terminology with the DOM spec.


--
sebastian

sri

unread,
Feb 26, 2015, 6:21:54 PM2/26/15
to mojol...@googlegroups.com
    preceding_siblings -> preceding_node

And of course i've made a typo, that should be plural. ;p

    all_contents -> descendant_nodes
    contents  -> child_nodes
    following_siblings -> following_nodes
    match -> matches
    next_sibling -> next_node
    node -> type
    preceding_siblings -> preceding_nodes
    previous_sibling -> previous_node
    type -> tag 

--
sebastian

perlpong

unread,
Mar 5, 2015, 7:24:16 AM3/5/15
to mojol...@googlegroups.com


Congratulations, and many thanks for your work!
I often work with other frameworks (python, rails...) Mojolicious is by far my favorite.
The support is exceptional. All my bug reports have been fixed within a matter of hours.
And not just the framework, the user agent kicks ass!
Reply all
Reply to author
Forward
0 new messages