Dear Community,
Our team has started planning on the migration from SuiteScript 2.0/x to 2.1.
I familiarized myself with the changes, but was wondering why are we encouraged to update 2.x to 2.1. I understand well that currently 2.x are executing as 2.0 and from 2028.1 they'll start executing as 2.1. I also understand that we need to test and verify if those 2.x scripts will work properly in 2.1 before that point. And therefore we have the global setting options to run all 2.0 and 2.x as 2.1.
However, I don't understand if and why in most of the articles we are encouraged to explicitly change the @NApiVersion in the file to 2.1. Can't we just leave it 2.x? Isn't that the purpose of 2.x? I understand that we need to verify the behaviour of 2.x under 2.1 but if everything is OK, do we need to explicitly change the @NApiVersion to 2.1 in the file? Wouldn't that mean that at some point in the future, we'll also need to update all scripts from 2.1 to 2.2?