File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 22
33Here you can find a list of migration guides to handle breaking changes between releases of the CLI.
44
5+ ## 0.31.0
6+
7+ ### Added ` post_install ` script support for tools
8+
9+ The ` post_install ` script now runs when a tool is correctly installed and the CLI is in "interactive" mode. This
10+ behavior can be [ configured] ( https://arduino.github.io/arduino-cli/0.30/commands/arduino-cli_core_install/#options ) .
11+
12+ ### golang API: methods in ` github.com/arduino/arduino-cli/arduino/cores/packagemanager ` changed signature
13+
14+ The following methods in ` github.com/arduino/arduino-cli/arduino/cores/packagemanager ` :
15+
16+ ``` go
17+ func (pme *Explorer ) InstallTool (toolRelease *cores .ToolRelease , taskCB rpc .TaskProgressCB ) error { ... }
18+ func (pme *Explorer ) RunPostInstallScript (platformRelease *cores .PlatformRelease ) error { ... }
19+ ```
20+
21+ have changed. ` InstallTool ` requires the new ` skipPostInstall ` parameter, which must be set to ` true ` to skip the post install script.
22+ ` RunPostInstallScript ` does not require a ` *cores.PlatformRelease ` parameter but requires a ` *paths.Path ` parameter:
23+
24+ ``` go
25+ func (pme *Explorer ) InstallTool (toolRelease *cores .ToolRelease , taskCB rpc .TaskProgressCB , skipPostInstall bool ) error {...}
26+ func (pme *Explorer ) RunPostInstallScript (installDir *paths .Path ) error { ... }
27+ ```
28+
529## 0.30.0
630
731### Sketch name validation
You can’t perform that action at this time.
0 commit comments