Web framework: Ember 3.24 is glowing for the next LTS release

Source: Heise.de added 08th Jan 2021

  • web-framework:-ember-3.24-is-glowing-for-the-next-lts-release

The Ember team has released version 3. 24 of the Javascript web framework. The focus for the release is mainly on some stabilizations, as it is a candidate for an LTS (long-term support) release. A helper for the page title should improve the barrier-free use, and the string functions have to be cleaned up.

A little helper for the title When creating new Ember applications, the add-on ember-page-title for use if it installs it. It takes care of the management of the page title, and the integration is supposed to improve the accessibility of web applications according to the associated Request-for-Comments (RFC) page: People who use assistive technology use the page title to navigate their way.

Among the innovations, an adaptation of the interface DeprecationOptions must also be mentioned , which is used in conjunction with the deprecate function to mark elements as obsolete. The interface brings the new mandatory options for and since With. The former shows which library the deprecation applies to. Developers currently have to specify the library manually, but in the medium term a macro is planned that will determine the name of the package that uses deprecate . since describes the individual phases and versions for the deprecation process in key pairs.

Obsolete string functions In addition to the new features, some functions are now marked as obsolete. This applies above all to the handling of strings. The Ember.String methods camelize , capitalize , classify , dasherize , decamelize , underscore and w as obsolete. Functions in @ ember / string are available as replacements:

// Outdated variant let newschannel = ‘Heise Developer’; console.log (newschannel.camelize ()); // heiseDeveloper // New variant import {camelize} from ‘@ ember / string’; let newschannel = ‘Heise Developer’; console.log (camelize (newschannel)); // heiseDeveloper Also the localization function Ember.String.loc and the helper {{loc}} are now considered obsolete and should be replaced by suitable additions to internationalization such as ember-intl . Finally, the tryInvoke function is omitted in favor of the in ECMAScript 2020 introduced optional chaining.

Further details on the innovations, deprecations and bug fixes in Ember 3. 24 can be found from the blog post of the Ember team.

(rme)

Read the full article at Heise.de

brands: Key  New  RME  Team  
media: Heise.de  
keywords: Console  

Related posts


Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Related Products



Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91