Sencha Ext JS 7.7 is Here – Discover What’s New and Exciting – LEARN MORE

https://staging.sencha.com/blog/announcing-ext-js-6-5-2-sencha-cmd-6-5-2-ga/feed/
Table of Contents Hide
  1. What Are Dynamic UIs?
  2. What Are JS Frameworks’ Fundamentals For Dynamic UIs?
  3. How Do You Build Dynamic UIs with JavaScript Frameworks?
  4. What Are the Best Practices for Performance Optimization?
  5. JS Frameworks: Conclusion
  6. JS Frameworks: FAQs
  7. What’s your reaction?
  8. What Are Dynamic UIs?
  9. What Are JS Frameworks’ Fundamentals For Dynamic UIs?
  10. How Do You Build Dynamic UIs with JavaScript Frameworks?
  11. What Are the Best Practices for Performance Optimization?
  12. JS Frameworks: Conclusion
  13. JS Frameworks: FAQs
  14. What’s your reaction?

Announcing Ext JS 6.5.2 and Sencha Cmd 6.5.2 GA

September 27, 2017 0 Views
We’re excited to announce the release of Ext JS 6.5.2 and Sencha Cmd 6.5.2. These releases are focused on resolving issues reported by customers and the Ext JS community. Ext JS 6.5.2 includes hundreds of minor improvements and bug fixes in both the Modern and Classic toolkit. Cmd 6.5.2 includes updates for EcmaScript 2017 support so that you can use the latest JavaScript specification.

Try It Out

Ext JS 6.5.2 resolves the following customer reported issues

Grid

  • Grid view is blank after store reload
  • Re-ordering grouped header with inner items throws error
  • Grouped widgets in a grid with locked column does not render
  • Grid group tabbing navigation from bottom causes error
  • RTL grid does not display row editor correctly
  • Grid scroll position is reset and blanked out when moving between containers
  • Toolbar on gridpanel causes issue after destroyr
  • shift + select with checkbox does not work with spreadsheet selection model
  • Locked grouped grid doesn't respect 'lockable' attribute of column
  • Locking a column in a locked grid subclass with dockedItems shows them twice

Charts

  • Bar Chart with 2 columns renders incorrectly

Theming

  • Loadmask spinner colors make it difficult to see in triton/neptune theme

Window

  • Window is sent to back when clicking the close tool while tooltip is visible
  • Window with destroy listener throws uncaught Controller error when closing window

Component Tpl

  • Component does not update correctly when changing tpl

Panel

  • Panel with no items and bound to collapsed isn't actually collapsed
  • Panel throws exception on null buttons config

Tooltips

  • Tooltip not showing in correct position after view scroll

RadioGroup

  • Load record does not set radiogroup field in inactive tab correctly if it has a default value checked

ColorPicker

  • ColorPicker UX should accept and display values in RGB(A) format

EcmaScript 2017 or ES8 Support

EcmaScript 2017 or ES8 was officially released a few months ago and includes async functions, static methods on Object and much more. Sencha Cmd 6.5.2 includes an upgrade to the latest Google Closure Compiler and configuration options to manage the transpiler and tune polyfill settings.

Enable ES6/ES7/ES8

We recommend developers take advantage of ES6 (and newer) versions of JavaScript. A common goal is for code to run on browsers that do not natively support ES6. To accomplish this, Sencha Cmd internally uses Google's Closure Compiler as a transpiler. Below is a fragment of Ext JS App Code that uses EcmaScript 2017

770008496660668f8e4a63_000000

Enable Transpiler

By default Sencha Cmd enables all JavaScript language support as well as the transpiler, so that the compiled application can run in an ES5 browser. Even though this is the default, the following settings explicitly enable this mode:

770008496660668f8e4a63_000001

The new "language" key holds settings for only the JavaScript language ("js") at this time. The js language settings contain "input" and "output" options. By default, "input" is configured to accept all recognized syntax. With the latest Closure Compiler, this includes ES8 keywords such as async and await. The resulting source output in browser is:

770008496660668f8e4a63_000002

Disable Transpiler

In many cases applications require modern browsers and would therefore benefit from disabling the transpiler. This is because the code produced by the transpiler is larger (by necessity) and must emulate modern language features. To disable the transpiler, we simply set the "output" and "input" js language levels such that the output level is greater than or equal to the input level:

770008496660668f8e4a63_000003

The resulting source output in browser is:

770008496660668f8e4a63_000004

Few Other Use Cases:

Disable ES6 (no Transpiler)

For various reasons, you may decide not to enable ES6 support for an application. In this case, it is best to disable the ES6 parser to avoid accidental usage of the ES6 syntax. This is done by setting the js language input level:

770008496660668f8e4a63_000005

With the above setting, the ES6 syntax will be reported as syntax errors during a build. This is the mode in which Ext JS itself is compiled so as not to require the transpiler (or polyfills, see below) in all applications.

Add/Remove Polyfills

A "polyfill" is a piece of code that provides missing pieces of the standard library. ES6 and newer levels of JavaScript have added numerous new methods. So where a transpiler provides missing syntax support (such as arrow functions), polyfills provide missing methods.

770008496660668f8e4a63_000006

Option “all” is the safest mode for applications that make heavy use of new ES6 methods. This is also a good way to go when dynamically loading packages that may need polyfills that are not required for the application. Option “none” removes all polyfills. It is most appropriate (and is the default) for packages, but apps may also find this useful. Option “syntax” is appropriate for transpiled applications that want to save some space by not including implementations of new ES6+ methods. Generally this will produce the smallest amount of extra code to support ES6+ syntax. Option “auto” has logic to determine what polyfills are needed and include only those pieces.

Try It and Share Your Feedback

We hope you enjoy building great apps with Ext JS 6.5.2 and Cmd 6.5.2. We look forward to reading your feedback in the Ext JS forum and the Sencha Cmd forum.

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents Hide
  1. What Are Dynamic UIs?
  2. What Are JS Frameworks’ Fundamentals For Dynamic UIs?
  3. How Do You Build Dynamic UIs with JavaScript Frameworks?
  4. What Are the Best Practices for Performance Optimization?
  5. JS Frameworks: Conclusion
  6. JS Frameworks: FAQs
  7. What’s your reaction?
  8. What Are Dynamic UIs?
  9. What Are JS Frameworks’ Fundamentals For Dynamic UIs?
  10. How Do You Build Dynamic UIs with JavaScript Frameworks?
  11. What Are the Best Practices for Performance Optimization?
  12. JS Frameworks: Conclusion
  13. JS Frameworks: FAQs
  14. What’s your reaction?
Ready to get started?

Create an account now!

Latest Content
What Are Dynamic UIs?

Imagine a website or app that doesn’t just sit there looking pretty but responds Imagine a website or app that doesn’t just sit there looking pretty but responds

What Are Dynamic UIs?

Imagine a website or app that doesn’t just sit there looking pretty but responds Imagine a website or app that doesn’t just sit there looking pretty but responds

What Are Dynamic UIs?

Imagine a website or app that doesn’t just sit there looking pretty but responds Imagine a website or app that doesn’t just sit there looking pretty but responds

See More

Leave a Reply

Your email address will not be published. Required fields are marked *

coming soon

Something Awesome Is

COMING SOON!