You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`db.Library.SupportLevel` was not filled for any library in the database and there is no use of this field's value by any
Arduino software. Since the index field has the `omitempty` tag, it was never marshalled when generating the
`library_index.json` filethat is the consumed output from the database.
Although it's not clear what the intended purpose was for this field, the `Types` field of the database's releases does
provide some indication of a support level. For example the "Arduino" type is used for official libraries, meaning they
are directly supported by Arduino. The "Retired" type would indicate it is no longer supported. The "Contributed" type is
used for 3rd party libraries submitted to the Library Manager index, indicating that direct support is the responsibility
of the 3rd party library maintainer.
Since the field is not used and there are no current plans for its use nor even recollection of what the plan was at the
time it was added, it only adds unnecessary complexity to the code. It is best to remove it. There will be no impact on
the public API. We can always add an equivalent field back if we later determine that it would be useful to record more
information about a library's support level than is already contained in the `Type` field.
0 commit comments