# Board and Library update issues causing breaking changes

**URL:** <https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643>\
**Category:** IDE 2.x\
**Created:** [November 1, 2024, 10:17pm UTC](https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643 "2024-11-01T22:17:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcroederats](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/rcroederats/32/1098811_2.png) [@rcroederats](https://forum.arduino.cc/u/rcroederats)\
**Post date:** [November 1, 2024, 10:17pm UTC](https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643/1 "2024-11-01T22:17:54Z")

</div>

Two points:

1. We should have a option to stop all incoming updates. I just broke a project, and trying to revert back. This is related to the ESP32 v3.0.0 that cause breaking changes in code using LVGL and LovyanGFX libraries. In one project I need the project the feature on the earlier library, but do not care in others.

2. We should be able to force usage of a particular library version. As an example, either in the include statement  
#includelvgl.h:9.2.2  
or by a define  
define lvgl.h.Version = "9.2.2"  
or a separate file that contains the version number. If no version is included, then use the installed version.

p.s. note it would be ok to generate this file as a function on a successful complied application. That is list all of the libraries used and their version as a record. This would be most useful when working on a project in different computers.

Robert

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [November 2, 2024, 4:21am UTC](https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643/2 "2024-11-02T04:21:45Z")

</div>

> [@rcroederats](#):
>
> We should have a option to stop all incoming updates.

> [@Arduino IDE 2.0.0 avoid check For Updates](https://forum.arduino.cc/t/arduino-ide-2-0-0-avoid-check-for-updates/1035095/2):
>
> So if you like, you could just ignore the notifications. If you are annoyed by them, there is a way to disable the checks in the advanced settings. I'll provide instructions for that:
> 
> 1. Press the **Ctrl** + **Shift** + **P** keyboard shortcut ( **Command** + **Shift** + **P** for macOS users) to open the " **Command Palette**".
> 2. Select the "**Preferences: Open Settings (UI)**" command from the menu.
> 3. A " **Preferences**" tab will now open. Type `arduino.checkForUpdates` in the " **Search Settings**" field.
> 4. Uncheck the checkbox under the " **Check For Updates**" setting.
> 5. Click the **X** icon on the " **Preferences**" tab to close the tab.

> [@rcroederats](#):
>
> We should be able to force usage of a particular library version

For that purpose I personally use multiple portable installs of IDE 1.8.19, one for each project that has specific needs.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [November 2, 2024, 4:31am UTC](https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643/3 "2024-11-02T04:31:55Z")

</div>

Hi @rcroederats.

> [@rcroederats](#):
>
> We should be able to force usage of a particular library version.

This capability is available when using [**Arduino CLI**](https://arduino.github.io/arduino-cli/latest/), which is the official command line tool for working with Arduino sketches. When using **Arduino CLI** , you can define all the dependencies of a sketch as a build profile:

[https://arduino.github.io/arduino-cli/latest/sketch-project-file/#build-profiles](https://arduino.github.io/arduino-cli/latest/sketch-project-file/#build-profiles)

When you compile a sketch using a build profile, an isolated dependencies environment containing only the dependencies defined in the build profile is used. This means that any changes you make in the globally installed boards platforms and libraries can't have any impact on your project.

> [@rcroederats](#):
>
> it would be ok to generate this file as a function on a successful complied application

You can do this by adding the `--dump-profile` flag to an `arduino-cli compile` command:

[https://arduino.github.io/arduino-cli/latest/commands/arduino-cli\_compile/#options](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_compile/#options)

---

<div class="post-metadata">

**Author:** ![rcroederats](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/rcroederats/32/1098811_2.png) [@rcroederats](https://forum.arduino.cc/u/rcroederats)\
**Post date:** [November 4, 2024, 8:02pm UTC](https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643/4 "2024-11-04T20:02:32Z")

</div>

Thank You

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 3, 2025, 8:02pm UTC](https://forum.arduino.cc/t/board-and-library-update-issues-causing-breaking-changes/1317643/5 "2025-05-03T20:02:39Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
