github arduino/arduino-cli v1.0.0

5 days ago

Changelog

New features

  • Added search using qualifier[:=]value syntax by @zvonler in #2373
  • Get default port address and protocol from sketch profile using monitor -s <sketchPath> by @MatteoPologruto in #2329
  • Added programmer field in debug info output by @cmaglie in #2391
  • CLI: Added exit codes for CLI daemon command errors by @cmaglie in #2400
  • CLI: Added specific exit code if inventory can not be created by @cmaglie in #2402
  • CLI: Added specific CLI exit code for "missing programmer" kind of errors. by @cmaglie in #2429
  • Report compiler errors in machine-readable format by @cmaglie in #2182
  • debugger: Enforce programmer selection by @cmaglie in #2394
  • debugger: Allow type-specification of JSON output for cortex-debug by @cmaglie in #2393
  • debugger: Slightly refactored custom_configs section of GetDebugConfigResponse by @cmaglie in #2396
  • debugger: Allow generic selection of sub-configurations by @cmaglie in #2435
  • debugger: Added debug check command to check if a combination of board/programmer supports debugging. by @cmaglie in #2443
  • debugger: Allow optional programmer in debug command by @cmaglie in #2544
  • Added programmer.default directive to set a default programmer for a board. by @cmaglie in #2416
  • CLI: Deprecate --format json in favor of --json by @cmaglie in #2587
  • CLI: Make boards details JSON output deterministic by @alessio-perugini in #2419
  • CLI: Add completion support to --profile by @alessio-perugini in #2426
  • CLI: Allow to specify the config file through ARDUINO_CONFIG_FILE env by @alessio-perugini in #2488
  • CLI: Add programmer field to sketch profile and --profile flag to debug command by @MatteoPologruto in #2505
  • CLI: Added --jobs/-j flag to compile command by @cmaglie in #2526
  • CLI: Added config get command to print settings values by @ardnew in #2307
  • gRPC Compile will now fail if a platform core has been modified. by @cmaglie in #2551
  • gRPC: Added close signal to Monitor call (allows graceful close of monitor) by @cmaglie in #2276
  • gRPC: Added CleanDownloadCacheDirectory RPC call by @cmaglie in #2572
  • gRPC: Added CheckForArduinoCLIUpdates RPC call by @cmaglie in #2573
  • Add "permission denied" FAQ entry by @wilyJ80 in #2564

Bugfix

  • Fix "Failed to install arduino-cli" when invoked by install.sh by @brentru in #2380
  • Fixed regression in compile_commands.json generation by @cmaglie in #2427
  • Added a compatibility trick in debug -I for toolchain.prefix key by @cmaglie in #2428
  • Library update/install with --no-overwrite will perform the update if it's possible to keep already installed dependencies at their current version by @cmaglie in #2431
  • Debugging now requires a non-empty debug.executable property defined by @pillo79 in #2439
  • Fix caching for libraries when the installation folder is different from library name by @facchinm in #2446
  • Fix install.sh for versions targets with v prefixed by @cmaglie in #2485
  • Fixed missing ARDUINO_USER_AGENT env var setting. by @cmaglie in #2501
  • Fixed sketch compilation with broken symlink by @cmaglie in #2497
  • Fixed crash if a sketch profile has a syntax error by @cmaglie in #2506
  • Fixed an extremely rare race condition during compile by @cmaglie in #2512
  • Fixed an extremely rare race condition in DiscoveryManager by @cmaglie in #2589
  • Fixed nil pointer exception in upload (regression) by @cmaglie in #2548
  • gRPC: allow cancellation of downloads by @cmaglie in #2609

Breaking changes

  • CLI: Remove yaml output format from --format flag by @cmaglie in #2587
  • gRPC: Configuration API has been heavily refactored by @cmaglie in #2565
  • gRPC: Updated *Platform API by @cmaglie in #2357
  • gRPC: drop query field from LibrarySearchRequest by @alessio-perugini in #2388
  • gRPC: Renamed field to match JSON output by @cmaglie in #2398
  • gRPC: Removed settings service by @cmaglie in #2411
  • gRPC: LoadSketch has API changes due to improvement by @cmaglie in #2490
  • gRPC: Removed Profile protoc message in favor of SketchProfile by @cmaglie in #2507
  • gRPC: UpdateIndex and UpdateLibrariesIndex improvements by @cmaglie in #2569
  • gRPC: Improved CompileRequest.export_binaries field definition by @cmaglie in #2570
  • gRPC: The protoc oneof clause has been added where appropriate. by @cmaglie in #2608
  • gRPC: Renamed field cc.arduino.cli.commands.v1.PlatformRelease.type to types by @cmaglie in #2620
  • Support only compatible platform versions by @alessio-perugini in #2285
  • CLI: format json always start with a json object by @alessio-perugini in #2407
  • Removed debugging_supported field from BoardDetails gRPC call by @cmaglie in #2438
  • Drop support of package_bundled_index.json and builtin_tools_versions.txt by @alessio-perugini in #2424
  • --build-cache-path now saves the cores under the cores subdir (instead of core) by @cmaglie in #2612

New Contributors

Full Changelog: v0.35.3...v1.0.0

Don't miss a new arduino-cli release

NewReleases is sending notifications on new releases.