packages icon indicating copy to clipboard operation
packages copied to clipboard

Hiding packages versionned as 0.X.Y behind an "experimental" flag on packages.gleam.run

Open ghivert opened this issue 1 year ago • 5 comments

Relying on packages 0.X.Y can lead to problems in production, as it breaks semver. However, it's nice to offer support for 0.X.Y versions, as it's the easiest way to share some packages for experimentation purposes. To continue let people share experimental packages while ensuring every users to find correct, well-maintained packages, hiding every packages < 1.0.0 under an "experimental" page on packages.gleam.run. As such, users installing packages < 1.0.0 know what they're doing and that they have 0 stability guarantee.

ghivert avatar Dec 01 '24 14:12 ghivert

Should this issue be in https://github.com/gleam-lang/packages?

GearsDatapacks avatar Dec 01 '24 18:12 GearsDatapacks

Hmm, you're probably right, I can move the issue. Thanks for this, I've been a bit fast when opening it yesterday (I wanted to do it before I forget).

ghivert avatar Dec 02 '24 09:12 ghivert

I think this could be a good idea, but we need to figure out the UI for these. We would want people to be able to find v0 packages, though not most prominently.

lpil avatar Dec 03 '24 16:12 lpil

As this could exclude people/projects using ZeroVer, I don't think that marking packages < 1.0.0 as experimental is a good idea. But, idk if somewhere is stated that all non-experimental packages should have a version >= 1.0.0 for Gleam.

Joshua-Hell avatar Oct 09 '25 09:10 Joshua-Hell

@Joshua-Hell zerover is not supported by the Hex ecosystem so stopping people from using it is a goal.

lpil avatar Oct 09 '25 10:10 lpil