Skip to content

Make Boards/Library Manager more helpful regarding version numbers #683

Open
@per1234

Description

@per1234

Describe the request

Pre-release update notifications

By default, don't provide update notifications for pre-release versions when the user has a stable release version installed.

An option should be provided to enable these notifications. This should be accessible only via the advanced settings, since pre-releases are intended for advanced users.

Select stable version by default

The version menu in the "Library Manager" and "Boards Manager" views should default to having the newest non-pre-release version selected, if any are available.

Communicate implications of significant version installation or updates

When the user does an installation of an unstable version, display a confirmation dialog that explains the implications:

Warning: The library version 1.2.3-rc1 you have chosen to install indicates a pre-release version, which is intended only for beta testing.

Warning: The library version 0.1.2 you have chosen to install indicates the library is still undergoing initial development.

When the user does an update resulting in a major version bump, display a confirmation dialog that explains the implications:

Warning: The library version 2.0.0 you have chosen to update to is a major version increment from the previously installed version. This indicates there have been breaking changes to the API.

Describe the current behavior

The most efficient and user friendly way for an Arduino library or boards platform maintainer to distribute their project to users is via the Arduino Library Manager and Boards Manager systems.

This system might be used for distribution at any phase of the project development. These phases are communicated in a machine readable format via the version number, according to semver:

Arduino IDE offers installation or updates of these libraries and boards platforms to the user in two ways:

Arduino IDE does not make any distinction between the development phases indicated by the library and platform release version numbers. The highest version is always offered for installation and update by default.

🙁 Users are prompted to install versions that are unstable or cause breaking changes.
🙁 Maintainers are unable to take advantage of the system for distributing their project to beta testers.

Arduino IDE version

2.0.0

Operating system

All

Operating system version

Any

Additional context

Additional requests

Related

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: enhancementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions