diff --git a/docs/index.md b/docs/index.md index b02aa1a4b4c..a8ebcebc05b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -19,8 +19,9 @@ services and messages are detailed in the [gRPC reference] pages. ## Versioning and backward compatibility policy -This software is currently under active development: anything can change at any time, API and UI must be considered -unstable until we release version 1.0.0. For more information see our [versioning and backward compatibility] policy. +The Arduino CLI is in the stable production release 1.x.x. All API (JSON and gRPC) stable, any possible new breaking +change will be delayed until the next major release. For more information see our [versioning and backward +compatibility] policy. [installation]: installation.md [getting started guide]: getting-started.md diff --git a/main.go b/main.go index 0ead329254a..d534ce5d3b0 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,7 @@ func main() { // Read the settings from the configuration file openReq := &rpc.ConfigurationOpenRequest{SettingsFormat: "yaml"} - var configFileLoadingWarnings []string + var configFileWarnings []string if configData, err := paths.New(configFile).ReadFile(); err == nil { openReq.EncodedSettings = string(configData) } else if !os.IsNotExist(err) { @@ -57,7 +57,7 @@ func main() { feedback.FatalError(fmt.Errorf("couldn't load configuration: %w", err), feedback.ErrGeneric) } else if warnings := resp.GetWarnings(); len(warnings) > 0 { // Save the warnings to show them later when the feedback package is fully initialized - configFileLoadingWarnings = warnings + configFileWarnings = warnings } // Get the current settings from the server @@ -82,7 +82,7 @@ func main() { // only if we are inside the "config ..." command. In JSON mode always // output the warning. if feedback.GetFormat() != feedback.Text || (cmd.HasParent() && cmd.Parent().Name() == "config") { - for _, warning := range configFileLoadingWarnings { + for _, warning := range configFileWarnings { feedback.Warning(fmt.Sprintf("%s: %s", i18n.Tr("Invalid value in configuration"), warning)) } }