Skip to content

Commit 1f846f0

Browse files
committed
Add notes in UPGRADING.md
1 parent d721602 commit 1f846f0

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

Diff for: docs/UPGRADING.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
# Upgrading
22

3-
Here you can find a list of migration guides to handle breaking changes between releases of the CLI.
3+
Here you can find a list of migration guides to handle breaking changes, deprecations, and bugfixes that may cause
4+
problems between releases of the CLI.
5+
6+
## 1.0.4
7+
8+
### The build cache path specified with `compile --build-cache-path` or `build_cache.path` now affects also sketches.
9+
10+
Previously the specified build cache path only affected cores and it was ignored for sketches. This is now fixed and
11+
both cores and sketches are cached in the given directory.
12+
13+
### A full build of the sketch is performed if a build path is specified in `compile --build-path ...`.
14+
15+
Previously if a build path was specified a cached core could have been used from the global build cache path resulting
16+
in a partial build inside the given build path.
17+
18+
Now if a build path is specified, the global build cache path is ignored and the full build is done in the given build
19+
path.
20+
21+
#### `compile --build-cache-path` is deprecated.
22+
23+
The change above, makes the `compile --build-cache-path` flag useless. It is kept just for backward compatibility.
24+
25+
### The default `build_cache.path` has been moved from the temp folder to the user's cache folder.
26+
27+
Previously the `build_cache.path` was in `$TMP/arduino`. Now it has been moved to the specific OS user's cache folder,
28+
for example in Linux it happens to be `$HOME/.cache/arduino`.
429

530
## 1.0.0
631

0 commit comments

Comments
 (0)