Specify minimum platform version in library.json

Is it possible to specify a minimum platform version for which a library is suitable, i.e. by adding semantic versioning to the platforms property in the library.json

  "platforms": [
    "espressif32@^4.0.0"
  ],

Use case for this is i.e. the recent update of espressif arduino platform which has some breaking changes which could break compilation of the library if build with an earlier version of espressif platform

2 Likes

Good idea. Please request a feature at Issues · platformio/platformio-core · GitHub