fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
6.32k stars 204 forks source link

jsr registry versions of valibot is out of date #927

Closed hongkongkiwi closed 4 days ago

hongkongkiwi commented 6 days ago

It seems like the jsr published version is horribly out of date? 0.42.1

Is it possible to update the JSR repos as well as NPM?

fabian-hiller commented 6 days ago

JSR is not out of date. Our CI automatically releases our packages everywhere. I guess you have to tell JSR the exact version you want to install since v1 is in a pre-release.

https://jsr.io/@valibot/valibot/versions

hongkongkiwi commented 5 days ago

I see, thanks for clarifying! That's really confusing.

I think because JSR considers anything without - as pre-release, so for example 1.0.0-beta.1 is considered pre-release and so is automatically hidden.

It only considers full versions as stable and it only shows the latest stable version on the home page. According to JSR the latest version is 0.42.1.

Screenshot 2024-11-16 at 9 59 54 PM

fabian-hiller commented 5 days ago

Yes, but I think JSR handles this much better than npm. Can I close this issue?