Closed rob040 closed 8 months ago
Yes, I've seen. This is a typo that will be eliminated in the next release.
Another issue with Arduino: when installing your library, it wants to install latest ArduinoJson. This is version 7.0.0, which is incompatible with previous version (6.21.4). Better to change that dependency in your library properties.
The ArduinoJson
it's as dependency, but with no specific version.
It's the Arduino IDE which download automatically the latest without any kind of prompt.
Anyway, AsyncFsWebServer
library works also with latest ArduinoJson despite the presence of some "depracated" warnings.
I don't want to force a specific version of ArduinoJson
tied to AsyncFsWebServer
.
I'm planning to update the library for the new ArduinoJson
APIs, but I think it's still too early.
I know it's annoying, but at least this warnings are not treated as error.
Another cause, that more user might experience, is that Arduino IDE v2 comes by default with a.o. ESP8266 support,
and it apprears that the old method of adding board manager URL's has become obsolete
However, that ESP8266 package is limited to version 3.0.1, causing some compilation errors.
There is currently a stable release of version 3.1.2.
To get this, add following URL to your Arduino IDE preference menu board manager URLs:
https://arduino.esp8266.com/stable/package_esp8266com_index.json
Lets close this issue.
For some reason, Arduino IDE 1.8.x and 2.2 are configured to compile with treat warnings as errors, because a simple warning in your library stops compilation with error:
Solution is to simply remove the affected line.