has anyone started to use SuiteScript 2.1?
# suitescript
j
has anyone started to use SuiteScript 2.1?
s
Yes, lots of people have.
e
Yes. It's my default choice
j
company I worked at refused to change from 1.0 and of course, I have a good base of 2.0 but what are the main differences from 2.0 to 2.1?
s
The main difference is the JS engine, and support for ES10 vs ES5.1
j
thank you, everyone!
e
To highjack the thread, is ES naming by year or by version number? or both?
I see ES6 all the time, but rarely anything above that. After 6 it's usually a year
s
ES2015 = ES6, ES2016 = ES7, ES2019 = ES10. Assuming the releases keep coming once a year, that pattern should continue. Prior to ES6. there were long gaps between ES versions, and some proposals, like ES4, were never adopted.
e
Yeah I understand the equivalencies, I'm just curious which one is "official", or maybe they both are
s
According to a few online sources (not sure if this is definitive), the official names are ECMAScript 2015 Language, ECMAScript 2019 Language, etc.
s
I would imagine the version number is official and the year just happens to be (even thought intentionally) moving at the same rate.
But also this is javascript, there are no rules here.
Wikipedia makes it really clear, there did not appear to be names for any of the versions before and including 5.1, then they started being named after the year.
✔️ 4
s
Ironically, in the early years, new ECMAScript versions were coming every year (1997, 1998, 1999), then a decade gap because of disagreements about ES4. Then another 6 year gap after ES5 in 2009 until ES2015. Things have sped back up again since then, which is great.
s
yeah looks really strange looking at it in hindsight
s
The ES4 debacle was due to different companies trying to push their own standards. Much like the browser wars, it stifled technology innovation and growth, because companies were trying to get people locked-in to their specific tech stack.
s
I think today, unfortunately, individual features progress independently through the standards process
e.g. I'm not sure if there's an official "ES2020" - would love to be shown otherwise. I fear ES2020 is just an unofficial term that would mean any individual features that achieved standardization status during 2020?
or maybe the ES standard document as of some particular date