Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0-rc.1
Choose a base ref
...
head repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on May 21, 2024

  1. Copy the full SHA
    914e11b View commit details

Commits on May 22, 2024

  1. [skip-changelog] Added more lint checks and fixed some warnings. (#2610)

    * Enabled more checks in golangci-lint
    
    * Removed unreachable code (impossible condition detected by linter)
    
    internal/arduino/sketch/sketch.go:108:14: nilness: impossible condition: non-nil == nil (govet)
            if mainFile == nil {
                        ^
    
    * Removed function alias for i18n.Tr
    
    This allows a deeper lint-check of printf style functions, like:
    
      commands/instances.go:344:46: printf: github.com/arduino/arduino-cli/internal/i18n.Tr format %v reads arg #1, but call has 0 args (govet)
    		s := status.Newf(codes.FailedPrecondition, i18n.Tr("Loading index file: %v"), err)
    
    * Fixed a lot of i18n.Tr formatting errors
    
    This commit fixes invalid calls to i18n.Tr.
    
    1. Missing positional arguments, for example:
    
      return fmt.Errorf(i18n.Tr("installing %[1]s tool: %[2]s"), tool, err)
    
    in the above case the positional arguments must be part of the Tr call:
    
    -    return fmt.Errorf(i18n.Tr("installing %[1]s tool: %[2]s"), tool, err)
    +    return fmt.Errorf(i18n.Tr("installing %[1]s tool: %[2]s", tool, err))
    
    2. This also makes the fmt.Errorf call useless and it could be replaced by
    the less expensive errors.New:
    
    -    return fmt.Errorf(i18n.Tr("installing %[1]s tool: %[2]s", tool, err))
    +    return errors.New(i18n.Tr("installing %[1]s tool: %[2]s", tool, err))
    
    but we have cases of useless calls even when the string is a constant,
    for example:
    
    -    err := fmt.Errorf(i18n.Tr("no instance specified"))
    +    err := errors.New(i18n.Tr("no instance specified"))
    
    Unfortunately, this imperfection is not detected by the linter.
    
    3. The "%w" directive is not supported directly in i18n.Tr, so we have
       to wrap it around another fmt.Errorf:
    
    -    return nil, fmt.Errorf(i18n.Tr("reading library headers: %w"), err)
    +    return nil, fmt.Errorf("%s: %w", i18n.Tr("reading library headers"), err)
    
    * Removed useless call to i18n.Tr
    cmaglie authored May 22, 2024
    Copy the full SHA
    dc13ef6 View commit details

Commits on May 29, 2024

  1. [breaking] Allow setting extra paths for build-cache (#2612)

    * Small refactoring of compileCore function
    
    This change helps to better understand next commits.
    
    * Added possibility to set extra build-cache dirs for cores
    
    * [breaking] --build-cache-path now saves under 'cores' subdir instead of 'core'
    
    * Added integration tests
    
    * Updated docs and fixed semantics of GetBuildCacheExtraPaths method
    
    * Updated json-schema for configuration
    
    * Update rpc/cc/arduino/cli/commands/v1/compile.proto
    
    Co-authored-by: Alessio Perugini <alessio@perugini.xyz>
    
    * Start integration test from a clean state
    
    * Do not force build-cache path creation if not needed
    
    * Update internal/cli/configuration/build_cache.go
    
    Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Alessio Perugini <alessio@perugini.xyz>
    Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
    3 people authored May 29, 2024
    Copy the full SHA
    81d517b View commit details

Commits on May 30, 2024

  1. Copy the full SHA
    b72f5ca View commit details

Commits on Jun 5, 2024

  1. Copy the full SHA
    b16ae70 View commit details
  2. [skip-changelog] Force the use of the latest prettier in `general:for…

    …mat-prettier` task (#2626)
    
    * Set the version of prettier to use in task general:format-prettier
    
    * Updated docs
    cmaglie authored Jun 5, 2024
    Copy the full SHA
    5c5c176 View commit details

Commits on Jun 12, 2024

  1. [skip-changelog] Updated translation files (#2614)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jun 12, 2024
    Copy the full SHA
    05c9852 View commit details
  2. [skip-changelog] Batch upgrades from dependabot. (#2635)

    * [skip changelog] Bump golang.org/x/term from 0.20.0 to 0.21.0
    
    Bumps [golang.org/x/term](https://github.com/golang/term) from 0.20.0 to 0.21.0.
    - [Commits](golang/term@v0.20.0...v0.21.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/term
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * [skip changelog] Bump golang.org/x/text from 0.15.0 to 0.16.0
    
    Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
    - [Release notes](https://github.com/golang/text/releases)
    - [Commits](golang/text@v0.15.0...v0.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/text
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * [skip changelog] Bump github.com/arduino/go-properties-orderedmap
    
    Bumps [github.com/arduino/go-properties-orderedmap](https://github.com/arduino/go-properties-orderedmap) from 1.8.0 to 1.8.1.
    - [Release notes](https://github.com/arduino/go-properties-orderedmap/releases)
    - [Commits](arduino/go-properties-orderedmap@v1.8.0...v1.8.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/arduino/go-properties-orderedmap
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * [skip changelog] Bump github.com/arduino/go-paths-helper
    
    Bumps [github.com/arduino/go-paths-helper](https://github.com/arduino/go-paths-helper) from 1.12.0 to 1.12.1.
    - [Release notes](https://github.com/arduino/go-paths-helper/releases)
    - [Commits](arduino/go-paths-helper@v1.12.0...v1.12.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/arduino/go-paths-helper
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * [skip changelog] Bump github.com/spf13/viper from 1.18.2 to 1.19.0
    
    Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.18.2 to 1.19.0.
    - [Release notes](https://github.com/spf13/viper/releases)
    - [Commits](spf13/viper@v1.18.2...v1.19.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/spf13/viper
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    cmaglie and dependabot[bot] authored Jun 12, 2024
    Copy the full SHA
    a09150f View commit details
  3. [skip changelog] Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (

    #2632)
    
    * [skip changelog] Bump google.golang.org/protobuf from 1.34.1 to 1.34.2
    
    Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/protobuf
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated license cache
    
    * Updated protoc generated files and doc
    
    * Updated CI task
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Jun 12, 2024
    Copy the full SHA
    3f0d43f View commit details

Commits on Jun 14, 2024

  1. Copy the full SHA
    c9c90df View commit details

Commits on Jun 17, 2024

  1. Copy the full SHA
    7219aa8 View commit details
  2. [skip changelog] Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2642)

    * [skip changelog] Bump github.com/spf13/cobra from 1.8.0 to 1.8.1
    
    Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
    - [Release notes](https://github.com/spf13/cobra/releases)
    - [Commits](spf13/cobra@v1.8.0...v1.8.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/spf13/cobra
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated licence cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Jun 17, 2024
    Copy the full SHA
    55753bd View commit details

Commits on Jun 18, 2024

  1. Copy the full SHA
    7d00b5b View commit details

Commits on Jun 20, 2024

  1. [skip-changelog] Updated translation files (#2649)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jun 20, 2024
    Copy the full SHA
    590e73b View commit details

Commits on Jun 24, 2024

  1. regression: allow monitor to not require to specify the board if th…

    …e port cannot be identified. (#2647)
    
    * Allow default monitor settings if board can't be detected
    
    * Improved messages at monitor startup
    
    * Moving variable near their usage location
    
    * Do not show warnings if the configs are provided by the user
    
    * Added a couple of examples in the help
    cmaglie authored Jun 24, 2024
    Copy the full SHA
    850f22a View commit details

Commits on Jun 27, 2024

  1. Changed license of .protoc definitions to Apache-2.0 (#2653)

    * Changed license of .protoc definition to Apache-2.0
    
    * Added also non-generated .go files
    cmaglie authored Jun 27, 2024
    Copy the full SHA
    80c463f View commit details

Commits on Jun 28, 2024

  1. [skip changelog] Correct format of upload_port identification prope…

    …rties in snippet (#2655)
    
    The platform developer can associate port properties with a board definition in order to cause Arduino CLI to identify
    ports having those properties as that board.
    
    The list format is supported for these platform properties in order to allow multiple alternative port property sets to
    be associated. The platform property must have the format `upload_port.n.<property ID>` (where "n" is the array index of
    the port property set).
    
    Although the platform property format is correctly documented in the Arduino Platform Specification, an incorrect format
    `upload_port.<property ID>.n` was previously used in the boards.txt snippet illustrating the use of the platform
    properties.
    per1234 authored Jun 28, 2024
    Copy the full SHA
    7a4f716 View commit details

Commits on Jul 2, 2024

  1. [skip-changelog] Updated translation files (#2650)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jul 2, 2024
    Copy the full SHA
    33dfa8e View commit details

Commits on Jul 10, 2024

  1. Copy the full SHA
    abb2232 View commit details
  2. [skip changelog] Bump zipp from 3.8.0 to 3.19.1 (#2660)

    Bumps [zipp](https://github.com/jaraco/zipp) from 3.8.0 to 3.19.1.
    - [Release notes](https://github.com/jaraco/zipp/releases)
    - [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
    - [Commits](jaraco/zipp@v3.8.0...v3.19.1)
    
    ---
    updated-dependencies:
    - dependency-name: zipp
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 10, 2024
    Copy the full SHA
    625aaac View commit details

Commits on Jul 12, 2024

  1. grpc: fixed BoardListWatch streaming call (#2664)

    * grpc: fixed BoardListWatch streaming call
    
    * Added integration test
    
    * Fixed also existing calls to BoardListWatch
    cmaglie authored Jul 12, 2024
    Copy the full SHA
    b4f8849 View commit details

Commits on Jul 18, 2024

  1. [skip changelog] Bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#…

    …2656)
    
    * [skip changelog] Bump google.golang.org/grpc from 1.64.0 to 1.65.0
    
    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](grpc/grpc-go@v1.64.0...v1.65.0)
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Jul 18, 2024
    Copy the full SHA
    cbe162a View commit details
  2. [skip changelog] Bump golang.org/x/term from 0.21.0 to 0.22.0 (#2657)

    * [skip changelog] Bump golang.org/x/term from 0.21.0 to 0.22.0
    
    Bumps [golang.org/x/term](https://github.com/golang/term) from 0.21.0 to 0.22.0.
    - [Commits](golang/term@v0.21.0...v0.22.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/term
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Jul 18, 2024
    Copy the full SHA
    8246eaa View commit details

Commits on Jul 19, 2024

  1. regression: fixed ARDUINO_USER_AGENT pollution / resolve compile-sk…

    …etch GH action failure on Teensy (#2669)
    
    * Removed useless gRPCClientUnknown tag
    
    * 'task build' now uses a compliant semver notation
    
    * Revert "'task build' now uses a compliant semver notation"
    
    This reverts commit 7f8ad1f.
    cmaglie authored Jul 19, 2024
    Copy the full SHA
    eb28638 View commit details

Commits on Jul 23, 2024

  1. [skip-changelog] Updated translation files (#2659)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jul 23, 2024
    Copy the full SHA
    8b6ad25 View commit details

Commits on Jul 26, 2024

  1. Improved {build.*.platform.path} vars enumeration. (#2652)

    * Improved build.*.platform.path vars enumeration
    
    * Updated docs
    
    * Added tests
    
    * Added a compatibility note
    cmaglie authored Jul 26, 2024
    Copy the full SHA
    b8c927b View commit details

Commits on Jul 29, 2024

  1. Document breaking change to config get command output (#2676)

    * Correct typo in Upgrading docs
    
    * Document breaking change to `config get` command output
    
    Previously, the `config dump` CLI command returned the effective configuration, including both the values explicitly set
    via the configuration file and environment variables as well as the values provided by defaults.
    
    It was changed to only return the explicitly set configuration data. The breaking change was not documented at that time.
    per1234 authored Jul 29, 2024
    Copy the full SHA
    82f60c6 View commit details

Commits on Jul 30, 2024

  1. Copy the full SHA
    c86ca30 View commit details

Commits on Jul 31, 2024

  1. [skip-changelog] Update artifact-related actions (#2679)

    * Updated check-go-dependency workflow
    
    In this case we should be fine since there is just one job that uploads
    the artifacts.
    
    * Updated publish-go-tester workflow
    
    In this case the uploaded artifacts uses different paths and names,
    there should be no breaking changes.
    
    * Updated publish-go-nightly job
    
    In this case the jobs exploited the previous action behaviour when
    uploading multiple artifacts under the same "name".
    To upgrade to v4 we need to upload artifacts with unique "name" and
    merge them when downloading using the "pattern" property.
    
    * Updated release-go job
    
    This job got the same changes made in the publish-go-nightly job.
    
    * Updated sync-label job
    
    * Updated test-go job
    
    * Updated comments
    
    * Missed matrix run in sync-labels workflows.
    
    * Missed double-matrix run in test-go workflow
    cmaglie authored Jul 31, 2024
    Copy the full SHA
    cbec871 View commit details
  2. [skip-changelog] Correctly remove unneded artifacts (#2682)

    The previous 'name' value `${{ env.CONFIGURATIONS_ARTIFACT }}` would not
    match the name of the produced intermediate artifacts.
    The correct pattern is `${{ env.CONFIGURATIONS_ARTIFACT }}-*`.
    cmaglie authored Jul 31, 2024
    Copy the full SHA
    43598fc View commit details
  3. Copy the full SHA
    faa6359 View commit details

Commits on Aug 2, 2024

  1. Added global --config-dir flag (#2677)

    * Added --config-dir global flag
    
    * Renamed function to better reflect his behaviour
    
    * Added test
    cmaglie authored Aug 2, 2024
    Copy the full SHA
    a353f86 View commit details

Commits on Aug 8, 2024

  1. [skip-changelog] Made the Debug* gRPC API implementation in par wit…

    …h the rest (#2672)
    
    * Inlined gRPC methods to implement GetDebugConfig and IsDebugSupported
    
    * Inlined function
    
    * Renamed vars for clarity
    
    * Added Debug gRPC adapter function
    
    * Moved function and removed useless file
    
    * Forward os.interrupt (aka CTRL-C) signal to the gdb process
    
    This a challenging problem because we must wait on both an io.Read(...)
    and a channel-read but, unfortunately, go native select can wait only on
    channels.
    To overcome this limitation I had to resort to a conditional variable and
    write some boilerplate code to make everything synchronized.
    cmaglie authored Aug 8, 2024
    Copy the full SHA
    5f01000 View commit details
  2. [skip changelog] Bump golang.org/x/term from 0.22.0 to 0.23.0 (#2686)

    * [skip changelog] Bump golang.org/x/term from 0.22.0 to 0.23.0
    
    Bumps [golang.org/x/term](https://github.com/golang/term) from 0.22.0 to 0.23.0.
    - [Commits](golang/term@v0.22.0...v0.23.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/term
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Aug 8, 2024
    Copy the full SHA
    0aa75c6 View commit details
  3. [skip changelog] Bump golang.org/x/text from 0.16.0 to 0.17.0 (#2687)

    * [skip changelog] Bump golang.org/x/text from 0.16.0 to 0.17.0
    
    Bumps [golang.org/x/text](https://github.com/golang/text) from 0.16.0 to 0.17.0.
    - [Release notes](https://github.com/golang/text/releases)
    - [Commits](golang/text@v0.16.0...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/text
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Aug 8, 2024
    Copy the full SHA
    08f429d View commit details
  4. [skip-changelog] Run integration tests on Linux as latest (#2617)

    Since the Windows and MacOSX are the slowest to complete this reordering
    allows to start the long running tests early and reduce the overall
    completion time.
    cmaglie authored Aug 8, 2024
    Copy the full SHA
    e01c114 View commit details
  5. [skip-changelog] Upgrade golang version to 1.22 and upgraded some l…

    …ibraries (#2688)
    
    * Upgrade supported go version to 1.22
    
    * Upgrade extract library to 4.0.0
    
    * Upgrade go-crypto to v1.1.0-alpha.5-proton
    cmaglie authored Aug 8, 2024
    Copy the full SHA
    ce4341f View commit details

Commits on Aug 12, 2024

  1. [skip-changelog] Updated translation files (#2675)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Aug 12, 2024
    Copy the full SHA
    a0d912d View commit details

Commits on Aug 13, 2024

  1. Copy the full SHA
    c5812ee View commit details

Commits on Sep 3, 2024

  1. [skip changelog] Configure actions/upload-artifact action to upload r…

    …equired hidden files (#2699)
    
    A breaking change was made in the 3.2.1 release of the "actions/upload-artifact" action, without doing a major version
    bump as would be done in a responsibly maintained project. The action now defaults to not uploading "hidden" files.
    
    This project's "Check Go Dependencies" workflow uses the "Licensed" tool to check for incompatible dependency licenses.
    The dependencies license metadata cache used by Licensed is stored in a folder named `.licensed`.
    
    In order to facilitate updates, the workflow uploads the generated dependencies license metadata cache as a workflow
    artifact when the current cache is found to be outdated.
    
    The `.` at the start of the `.licensed` folder name causes it to now not be uploaded to the workflow artifact. In order
    to catch such problems, the workflow configures the "actions/upload-artifact" action to fail if no files were uploaded.
    So in addition to not uploading the artifact, the change in the "actions/upload-artifact" action's behavior also
    resulted in the workflow runs failing:
    
    Error: No files were found with the provided path: .licenses/. No artifacts will be uploaded.
    
    The problem is fixed by disabling the "actions/upload-artifact" action's new behavior via the `include-hidden-files`
    input. After this change, the workflow can once more upload the dependencies license metadata cache to a workflow
    artifact as needed.
    per1234 authored Sep 3, 2024
    Copy the full SHA
    0cae891 View commit details

Commits on Sep 9, 2024

  1. Added possibility to set custom properties on upload/burn-bootloader/…

    …debug commands. (#2693)
    
    * Fixed dry-run in upload with programmer
    
    * Fixed doc comment
    
    * Added upload properties to gRPC Upload, UploadWithProgrammer, and BurnBootloader
    
    * Removed unused var
    
    * Added --upload-properties flag to CLI `upload` and `burn-bootloader` commands.
    
    * Added custom debug properties to Debug/IsDebugSupported commands (gRPC and CLI)
    cmaglie authored Sep 9, 2024
    Copy the full SHA
    642ce2e View commit details

Commits on Sep 10, 2024

  1. [skip changelog] Bump google.golang.org/grpc from 1.65.0 to 1.66.0 (#…

    …2694)
    
    * [skip changelog] Bump google.golang.org/grpc from 1.65.0 to 1.66.0
    
    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.65.0 to 1.66.0.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](grpc/grpc-go@v1.65.0...v1.66.0)
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Sep 10, 2024
    Copy the full SHA
    c393913 View commit details
  2. [skip changelog] Bump golang.org/x/text from 0.17.0 to 0.18.0 (#2701)

    * [skip changelog] Bump golang.org/x/text from 0.17.0 to 0.18.0
    
    Bumps [golang.org/x/text](https://github.com/golang/text) from 0.17.0 to 0.18.0.
    - [Release notes](https://github.com/golang/text/releases)
    - [Commits](golang/text@v0.17.0...v0.18.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/text
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Sep 10, 2024
    Copy the full SHA
    3bdc77f View commit details
  3. [skip changelog] Bump golang.org/x/term from 0.23.0 to 0.24.0 (#2702)

    * [skip changelog] Bump golang.org/x/term from 0.23.0 to 0.24.0
    
    Bumps [golang.org/x/term](https://github.com/golang/term) from 0.23.0 to 0.24.0.
    - [Commits](golang/term@v0.23.0...v0.24.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/term
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Sep 10, 2024
    Copy the full SHA
    9e5deed View commit details

Commits on Sep 11, 2024

  1. Add riscv64 linux tools download support (#2700)

    * Add riscv64 linux tools download support
    
    * fix style
    
    * Updated docs
    
    ---------
    
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    bitsk and cmaglie authored Sep 11, 2024
    Copy the full SHA
    a3796a0 View commit details
  2. [skip changelog] Bump github.com/gofrs/uuid/v5 from 5.2.0 to 5.3.0 (#…

    …2689)
    
    * [skip changelog] Bump github.com/gofrs/uuid/v5 from 5.2.0 to 5.3.0
    
    Bumps [github.com/gofrs/uuid/v5](https://github.com/gofrs/uuid) from 5.2.0 to 5.3.0.
    - [Release notes](https://github.com/gofrs/uuid/releases)
    - [Commits](gofrs/uuid@v5.2.0...v5.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/gofrs/uuid/v5
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * updated license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Sep 11, 2024
    Copy the full SHA
    23d5036 View commit details

Commits on Sep 18, 2024

  1. Fixed build_cache.path behaviour / The --build-path dir now produ…

    …ce a full build (#2673)
    
    * If a build path is specified ignore all build caches
    
    The complete build will be performed in the specified build path.
    The build artifacts in the build path will be reused for the next build.
    
    * Fixed arguments.CheckFlagsConflicts helper
    
    Previously it would reject only if ALL the arguments in the given set are used.
    
    Now it rejects if AT LEAST TWO arguments of the given set are used.
    
    * Added --build-path as alias for --input-dir in upload and debug commands
    
    * Created configuration defaults for build_cache.path setting
    
    * The build_cache.path setting now affect also the sketches cache
    
    * Deprecated --build-cache-path option in compile
    
    * Use default user's cache dir instead of tmp for build cache
    
    * Add notes in UPGRADING.md
    
    * Updated integration test
    
    * Updated integration test
    
    * Updated integration test
    
    * Updated integration test
    
    * Updated integration test
    cmaglie authored Sep 18, 2024
    Copy the full SHA
    863c1ec View commit details

Commits on Oct 7, 2024

  1. Allow port, protocol and port settings to be specified in profiles. (#…

    …2717)
    
    * Allow port/protocol keys in sketch profile
    
    * Allow port/protocol in profiles
    
    * Added port settings in sketch profile
    
    * Allow port configuration from sketch profile
    
    * Added docs
    
    * fix: Moved port-from-profile logic in args.Port.GetPort(...)
    
    This allows to implement the selection logic on more commands.
    
    * Fixed FQBN selection logic in monitor/arg command
    
    * Fixed incorrect tests
    
    The previous fixes now let the CLI to produce the correct output.
    cmaglie authored Oct 7, 2024
    Copy the full SHA
    24bd145 View commit details
  2. Copy the full SHA
    1b889a6 View commit details
  3. [skip changelog] Bump google.golang.org/grpc from 1.66.0 to 1.67.1 (#…

    …2714)
    
    * [skip changelog] Bump google.golang.org/grpc from 1.66.0 to 1.67.1
    
    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.0 to 1.67.1.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](grpc/grpc-go@v1.66.0...v1.67.1)
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * update license cache
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
    dependabot[bot] and cmaglie authored Oct 7, 2024
    Copy the full SHA
    4564498 View commit details
Showing 664 changed files with 268,127 additions and 28,793 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ updates:
- "topic: infrastructure"
commit-message:
prefix: "[skip changelog] "
rebase-strategy: disabled
- package-ecosystem: gomod
directory: /
schedule:
@@ -22,3 +23,4 @@ updates:
- "topic: infrastructure"
commit-message:
prefix: "[skip changelog] "
rebase-strategy: disabled
6 changes: 3 additions & 3 deletions .github/workflows/check-easyjson.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check easyjson generated files

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
@@ -29,10 +29,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

18 changes: 12 additions & 6 deletions .github/workflows/check-go-dependencies-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.24"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
on:
@@ -65,7 +65,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive

@@ -76,7 +76,7 @@ jobs:
version: 3.x

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -102,9 +102,10 @@ jobs:
# Some might find it convenient to have CI generate the cache rather than setting up for it locally
- name: Upload cache to workflow artifact
if: failure() && steps.diff.outcome == 'failure'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
include-hidden-files: true
name: dep-licenses-cache
path: .licenses/

@@ -115,7 +116,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive

@@ -126,7 +127,7 @@ jobs:
version: 3.x

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -138,3 +139,8 @@ jobs:

- name: Check for dependencies with unapproved licenses
run: task --silent general:check-dep-licenses

- name: Check debian copyright file
run: |
task update-deb-copyright
git diff --color --exit-code
30 changes: 15 additions & 15 deletions .github/workflows/check-go-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Go

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
@@ -64,10 +64,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -100,10 +100,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -114,9 +114,9 @@ jobs:
version: 3.x

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: v1.57
version: v2.1.0

- name: Check style
env:
@@ -138,10 +138,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -174,10 +174,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -203,10 +203,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

@@ -241,10 +241,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

6 changes: 3 additions & 3 deletions .github/workflows/check-i18n-task.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check Internationalization

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.24"

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
@@ -19,10 +19,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

13 changes: 12 additions & 1 deletion .github/workflows/check-license.yml
Original file line number Diff line number Diff line change
@@ -34,13 +34,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby # Install latest version

- name: Install Task
uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Install licensee
run: gem install licensee

@@ -65,3 +71,8 @@ jobs:
fi
exit $EXIT_STATUS
- name: Check debian copyright file
run: |
task update-deb-copyright
git diff --color --exit-code
17 changes: 8 additions & 9 deletions .github/workflows/check-markdown-task.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ env:
# See: https://github.com/actions/setup-node/#readme
NODE_VERSION: 16.x
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.24"

# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
on:
@@ -75,10 +75,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ env.NODE_VERSION }}

@@ -101,25 +101,24 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

- name: Install Go dependencies
run: go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.4.1

- name: Install protoc compiler
uses: arduino/setup-protoc@v3
- uses: bufbuild/buf-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
setup_only: true

- name: Install Task
uses: arduino/setup-task@v2
13 changes: 6 additions & 7 deletions .github/workflows/check-mkdocs-task.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Website

env:
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
GO_VERSION: "1.21"
GO_VERSION: "1.24"
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
PYTHON_VERSION: "3.9"

@@ -34,23 +34,22 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}

- name: Install Go dependencies
run: go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.4.1

- name: Install protoc compiler
uses: arduino/setup-protoc@v3
- uses: bufbuild/buf-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
setup_only: true

- name: Install Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}

2 changes: 1 addition & 1 deletion .github/workflows/check-prettier-formatting-task.yml
Original file line number Diff line number Diff line change
@@ -204,7 +204,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Task
uses: arduino/setup-task@v2
Loading