tag:github.com,2008:https://github.com/arduino/compile-sketches/releases
Release notes from compile-sketches
2024-08-13T05:38:05Z
tag:github.com,2008:Repository/292579950/v1.1.2
2024-08-13T05:40:57Z
1.1.2
<h2>Changelog</h2>
<h4>Bug Fix</h4>
<ul>
<li>Fix macOS/BSD incompatibility in <code>general:check-filenames</code> task (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/arduino/compile-sketches/commit/68c06643dedd2b9db2efaafa15ae8c285e5695cc/hovercard" href="https://github.com/arduino/compile-sketches/commit/68c06643dedd2b9db2efaafa15ae8c285e5695cc"><tt>68c0664</tt></a>)</li>
<li>Handle inappropriate null output from arduino-cli core list when no platforms are installed (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2462394454" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/311" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/311/hovercard" href="https://github.com/arduino/compile-sketches/pull/311">#311</a>)</li>
</ul>
<h4>Enhancement</h4>
<ul>
<li>Adjust unit test infrastructure to facilitate running tests via IDEs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2351953902" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/289" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/289/hovercard" href="https://github.com/arduino/compile-sketches/pull/289">#289</a>)</li>
<li>Generate standard code coverage report data file in <code>python:test</code> task (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2352043094" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/290" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/290/hovercard" href="https://github.com/arduino/compile-sketches/pull/290">#290</a>)</li>
<li>Use <code>pyproject.toml</code> as Python version source (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2352171385" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/292" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/292/hovercard" href="https://github.com/arduino/compile-sketches/pull/292">#292</a>)</li>
<li>Manage versioning of Poetry tool dependency (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2352345795" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/294" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/294/hovercard" href="https://github.com/arduino/compile-sketches/pull/294">#294</a>)</li>
<li>Add infrastructure for checking Poetry configuration files (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2352379097" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/296" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/296/hovercard" href="https://github.com/arduino/compile-sketches/pull/296">#296</a>)</li>
<li>Disable Poetry "package mode" (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2352230255" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/293" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/293/hovercard" href="https://github.com/arduino/compile-sketches/pull/293">#293</a>)</li>
<li>Update project Python version to 3.12.4 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2352393868" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/297" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/297/hovercard" href="https://github.com/arduino/compile-sketches/pull/297">#297</a>)</li>
<li><a href="https://github.com/arduino/compile-sketches/pulls?q=merged%3A2024-06-14..2024-08-12+author%3Aapp%2Fdependabot">Various dependency updates</a></li>
</ul>
<h2>Full Changeset</h2>
<p><a class="commit-link" href="https://github.com/arduino/compile-sketches/compare/v1.1.1...v1.1.2"><tt>v1.1.1...v1.1.2</tt></a></p>
per1234
tag:github.com,2008:Repository/292579950/v1.1.1
2024-06-13T14:26:09Z
1.1.1
<h2>Changelog</h2>
<h4>Bug Fix</h4>
<ul>
<li>Update code to accommodate breaking change to semver package (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1652969967" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/130" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/130/hovercard" href="https://github.com/arduino/compile-sketches/pull/130">#130</a>)</li>
<li>Use token when uploading unit test code coverage data to Codecov from GitHub Actions workflow (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/arduino/compile-sketches/commit/02168a68a99c94a40417b3bd47ca5e0e7019f08f/hovercard" href="https://github.com/arduino/compile-sketches/commit/02168a68a99c94a40417b3bd47ca5e0e7019f08f"><tt>02168a6</tt></a>)</li>
<li>Handle Arduino CLI 1.x core list command output data format (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2351224430" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/285" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/285/hovercard" href="https://github.com/arduino/compile-sketches/pull/285">#285</a>)</li>
</ul>
<h4>Enhancement</h4>
<ul>
<li>Document how to source platform/library dependencies from private repositories (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1882684924" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/174" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/174/hovercard" href="https://github.com/arduino/compile-sketches/pull/174">#174</a>)</li>
<li>Remove mention of deprecated <code>arduino/report-size-trends</code> action from documentation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1947106490" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/191" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/191/hovercard" href="https://github.com/arduino/compile-sketches/pull/191">#191</a>)</li>
<li><a href="https://github.com/arduino/compile-sketches/pulls?q=merged%3A2023-04-01..2024-06-13+author%3Aapp%2Fdependabot">Various dependency updates</a></li>
</ul>
<h2>Full Changeset</h2>
<p><a class="commit-link" href="https://github.com/arduino/compile-sketches/compare/v1.1.0...v1.1.1"><tt>v1.1.0...v1.1.1</tt></a></p>
<h2>Contributors</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Rotzbua/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Rotzbua">@Rotzbua</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/M-ichae-l/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/M-ichae-l">@M-ichae-l</a></li>
</ul>
per1234
tag:github.com,2008:Repository/292579950/v1.1.0
2023-03-31T13:35:50Z
1.1.0
<h2>Changelog</h2>
<h3>⚠ Deprecation Notice ⚠</h3>
<p>Installation of the <a href="https://pyserial.readthedocs.io/en/latest/index.html" rel="nofollow"><strong>pySerial</strong> Python package</a> boards platform dependency in the workflow via commands of the following format is no longer supported:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install pyserial"><pre lang="text" class="notranslate"><code>pip install pyserial
</code></pre></div>
<p>or:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip3 install pyserial"><pre lang="text" class="notranslate"><code>pip3 install pyserial
</code></pre></div>
<p>If a boards platform used in your workflow has an external dependency on a Python package, it must now be installed using the command format documented <a href="https://github.com/arduino/compile-sketches/blob/main/docs/FAQ.md#python-packages"><strong>here</strong></a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install --ignore-installed --user pyserial"><pre lang="text" class="notranslate"><code>pip install --ignore-installed --user pyserial
</code></pre></div>
<p>In order to allow a transition period for existing workflows, <strong>pySerial</strong> is preinstalled in the action environment, but it will be removed from the environment in an upcoming release.</p>
<h3>Bug Fix</h3>
<ul>
<li>Migrate workflows from deprecated <code>set-output</code> commands (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1517871185" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/91" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/91/hovercard" href="https://github.com/arduino/compile-sketches/pull/91">#91</a>)</li>
<li>Restore support for external platform Python package dependencies (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1637049393" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/108" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/108/hovercard" href="https://github.com/arduino/compile-sketches/pull/108">#108</a>)</li>
</ul>
<h3>Enhancement</h3>
<ul>
<li>Always add size summary report to sketches report (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1649005823" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/128" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/128/hovercard" href="https://github.com/arduino/compile-sketches/pull/128">#128</a>)</li>
<li>Use <strong>Poetry</strong> for Python dependencies management (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1628829729" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/107" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/107/hovercard" href="https://github.com/arduino/compile-sketches/pull/107">#107</a>)</li>
<li>Update project Python version to 3.11.2 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1628649446" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/106" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/106/hovercard" href="https://github.com/arduino/compile-sketches/pull/106">#106</a>)</li>
<li>Use <strong>actions/setup-python</strong> action to install Python for action (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1628624152" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/105" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/105/hovercard" href="https://github.com/arduino/compile-sketches/pull/105">#105</a>)</li>
<li>Print sketch compilation duration to logs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1206942336" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/61" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/61/hovercard" href="https://github.com/arduino/compile-sketches/pull/61">#61</a>)</li>
<li><a href="https://github.com/arduino/compile-sketches/pulls?q=merged%3A2022-03-25..2023-03-31+author%3Aapp%2Fdependabot">Various dependency updates</a></li>
</ul>
<h2>Full Changeset</h2>
<p><a class="commit-link" href="https://github.com/arduino/compile-sketches/compare/v1.0.1...v1.1.0"><tt>v1.0.1...v1.1.0</tt></a></p>
<h2>Contributors</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/2bndy5/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/2bndy5">@2bndy5</a></li>
</ul>
per1234
tag:github.com,2008:Repository/292579950/v1.0.1
2022-03-25T12:19:05Z
1.0.1
<h1>Changelog</h1>
<h2>Bug Fix</h2>
<ul>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/arduino/compile-sketches/commit/7f3a99e6f428b8ba1b5c90de92e87c90db62ffb0/hovercard" href="https://github.com/arduino/compile-sketches/commit/7f3a99e6f428b8ba1b5c90de92e87c90db62ffb0"><tt>7f3a99e</tt></a> Correctly detect and handle installation path collisions</li>
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/arduino/compile-sketches/commit/083486ce60f5045fd0e55286951e71055d65f463/hovercard" href="https://github.com/arduino/compile-sketches/commit/083486ce60f5045fd0e55286951e71055d65f463"><tt>083486c</tt></a> Clean up dependencies installation symlinks on exit</li>
</ul>
<h2>Enhancement</h2>
<ul>
<li><a href="https://github.com/arduino/compile-sketches/pulls?q=is%3Apr+author%3Aapp%2Fdependabot">Various dependency updates</a></li>
</ul>
per1234
tag:github.com,2008:Repository/292579950/v1.0.0
2022-03-25T09:46:31Z
1.0.0
<h2>Migration guide for <code>arduino/actions/libraries/compile-examples</code> action users</h2>
<h3>Action name change</h3>
<p>With the move to this dedicated repository from its provisional home in the <a href="https://github.com/arduino/actions/tree/master/libraries/compile-examples">experimental repository</a>, the action name has changed. This requires a change to workflows using the action.</p>
<p>Change:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="uses: arduino/actions/libraries/compile-examples@master"><pre><span class="pl-ent">uses</span>: <span class="pl-s">arduino/actions/libraries/compile-examples@master</span></pre></div>
<p>to:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="uses: arduino/compile-examples@v1"><pre><span class="pl-ent">uses</span>: <span class="pl-s">arduino/compile-examples@v1</span></pre></div>
<h3>(BREAKING) Default sketches report path change</h3>
<p>(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="702396629" data-permission-text="Title is private" data-url="https://github.com/arduino/compile-sketches/issues/7" data-hovercard-type="pull_request" data-hovercard-url="/arduino/compile-sketches/pull/7/hovercard" href="https://github.com/arduino/compile-sketches/pull/7">#7</a>) The default value of <a href="https://github.com/arduino/compile-sketches#sketches-report-path">the <code>sketches-report-path</code> input</a> was changed from "size-deltas-reports" to "sketches-reports". If your workflow is relying on this default value it will be necessary to update the <code>name</code> input of the step that uses the <a href="https://github.com/actions/upload-artifact"><code>actions/upload-artifact</code> action</a> to upload the sketches report to a workflow artifact.</p>
<p>Change:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- uses: actions/upload-artifact@v2
with:
path: size-delta-reports"><pre>- <span class="pl-ent">uses</span>: <span class="pl-s">actions/upload-artifact@v2</span>
<span class="pl-ent">with</span>:
<span class="pl-ent">path</span>: <span class="pl-s">size-delta-reports</span></pre></div>
<p>to:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- uses: actions/upload-artifact@v2
with:
path: sketches-reports"><pre>- <span class="pl-ent">uses</span>: <span class="pl-s">actions/upload-artifact@v2</span>
<span class="pl-ent">with</span>:
<span class="pl-ent">path</span>: <span class="pl-s">sketches-reports</span></pre></div>
per1234