ES7 - the standard
On Thu, Jun 16, 2016 at 11:54 PM, Raul-Sebastian Mihăilă <raul.mihaila at gmail.com> wrote:
I see that es7 is now a standard. www.ecma-international.org/ecma-262/7.0/index.html
Nice, thanks for the heads up.
Could the spec next time have a non-normative section with the main changes compared to the previous? Something like section D and E but without the compatibility reasons, just a quick overview of the new features.
Can anyone point me in the direction of a resource that contains these changes now?
Could the spec next time have a non-normative section with the main
changes
I agree with Peter. For the purpose of being helpful, I tried making a page related to the changes: espadrine.github.io/New-In-A-Spec/es7, so that it can be
linked to.
As far as I know, there is only Array.prototype.includes() and the exponentiation operator added. Is there something else?
(Small typo, the path was changed to espadrine.github.io/New-In-A-Spec/es2016, since that is the
direction we go for naming.)
There are some other changes, like the removal of Proxy trap and Reflect
method for enumerate, includes is also a new method for TypedArrays, as it
is different than Array#includes as it validates this
as a valid
typedArray instance. ECMAScript code is now expressed using Unicode 8.0.0
or later (from 5.1 or later), etc.
One way to track this is searching for Normative changes on github.com/tc39/ecma262 commits until Mar/2016. While the commits are not perfectly flagged, it's another way to find some other minor changes.
Two things I was hoping to see appear to be absent from the spec doc as kindly shared by Raul - async / await ( tc39.github.io/ecmascript-asyncawait) and value types/objects ( sebmarkbage/ecmascript-immutable-data-structures etc).
Is it straightforward to summarise what's happening on those fronts..? How are they coming on..?
Async functions are coming along fine and are on track for ES8. There has been little to zero progress on value types, because they have no active champion but many, many open questions.
Adding to Andreas response, all proposals are developed in public and tracked from here: tc39/proposals
FWIW, I went through the log to collect the important normative changes in ES2016 a few months ago: gist.github.com/michaelficarra/9f0003f7416e7ca30f32. It may be more fine-grained than what you would like, but it's a good starting point.
Michael Ficarra
nice one, Michael.
Also, a git log with --invert-grep
and --since
params might help to
exclude meta and editorial changes and limit search since the last version.
There are a few changes not flagged as Editorial or Normative, this is something to improve with time.
I see that es7 is now a standard. www.ecma-international.org/ecma-262/7.0/index.html
Congratulations!