Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 13, 2022 06:23 pm GMT

Blaze 2.6 released!

Blaze, front-end library for Meteor, has just released version 2.6! This is a feature release which will be most noticeable for removal of deprecated APIs from before Meteor 1.0 release when Blaze was tightly integrated with Meteor. This sort of mirrors efforts from around Meteor 2.3. This should affect only super old packages, so if you get issues with this, you should really think about ditching or replacing those packages.

On a similar note underscore has been removed from observe-sequence package, which should be pretty much all of remaining underscore in Blaze. This is an ongoing effort to lighten up the packages.

On noticable new features we have support for arbitrary itterables in #each templates.

All of that being said, work has already started on Blaze 3.0, so stay tuned for this major release!

You can get the latest Blaze by just running meteor update.

Full changelog for Blaze 2.6

  • #330 Removed deprecated APIs from before Meteor 1.0
    • This is potentially breaking, especially for old packages and apps.
    • [email protected]
    • Dependency on ui and spacebars package has been removed
    • [email protected]
    • Spacebars.TemplateWith has been removed, please use Blaze._TemplateWith if you need it.
    • [email protected]
    • Blaze.InOuterTemplateScope has been removed, if you need it, you can use Blaze._InOuterTemplateScope
    • [email protected]
    • Template.__define__ has been removed
    • UI.body has been removed, you should be using Template.body
    • Template.__body__ has been removed, you should be using Template.body
    • Template.__body__.__contentParts has been removed, you should be using Template.body.contentViews
    • Template.__body__.__instantiate has been removed, you should be using Template.body.renderToDocument
  • #341 Add support for arbitrary iterables in #each templates
  • #358 Make Template.contentBlock consistent with/out data provided
  • #359 Underscore has been removed from observe sequence
  • Updated testing dependencies

Original Link: https://dev.to/storytellercz/blaze-26-released-4276

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To