A new release of Arduino IDE 2.x is now available for download here:
This release is a follow-up to the new Remote Sketchbook capability introduced in Arduino IDE 2.0.0-beta.8.
Arduino Web Editor has a "Secret tab" feature that makes it easy to share sketches without accidentally exposing sensitive data (e.g., passwords or tokens). On Arduino Cloud, secrets are stored in a secure database and the secret macro values populated from there.
The secrets database capability is not available when using the Arduino IDE, so a more conventional approach is taken by defining the secrets macros in a header file named
arduino_secrets.h. With this approach, the macros will only be defined in a given translation unit after an
#include directive for
arduino_secrets.h. In Arduino IDE 2.0.0-beta.8, it was necessary to manually add this
#include directive to the sketch. The 2.0.0-beta.9 release brings the automatic insertion of this directive into sketches using secrets when they are pulled from Arduino Cloud.
Full changelog and a list of the known outstanding bugs related to the introduction of the sketchbook explorer is here:
If you have any questions or feedback please post here in the IDE 2.x's dedicated forum category: