Tag @latest
#228
Replies: 12 comments
-
I'm not a founder so I can't decide about this, but I think this would be against the whole purpose of nest.land. We exist, to provide the most amount of stability possible. If we add the |
Beta Was this translation helpful? Give feedback.
-
Well, Cc @MartonDev |
Beta Was this translation helpful? Give feedback.
-
No it wouldn't be equal. As I explained earlier, |
Beta Was this translation helpful? Give feedback.
-
Oh okay that makes sense. Fair enough. Closing :). |
Beta Was this translation helpful? Give feedback.
-
We initially decided to prevent using the latest version to try and solve the issue of breaking changes just randomly popping up and breaking things. I empathise with your situation, as this decision has made your job more demanding. I think it's worth a discussion so that we can evaluate whether or not it would be beneficial to our platform, it's goals and to it's users to support this behaviour. CC @t8 |
Beta Was this translation helpful? Give feedback.
-
The problems that Marton addressed are the most concerning to me though, which is why I personally believe we shouldn't support this feature. I'll let Tate reopen the issue if he pleases. |
Beta Was this translation helpful? Give feedback.
-
I would also suggest stability relies a 70% on the package hands. So for example, if MandarineTS is broken and I tell my users to use I think it’s worth a discussion as well, overall because of things like documentation. Best. |
Beta Was this translation helpful? Give feedback.
-
Assumptions that users are using the latest version are also valid such as the Deno 1.2.0 case and the people & documentation using 1.1.3. The Deno documentation assumes you are using the latest version when executing your code... Anyways, I think it’s worth the discussion, as I have mentioned, I understand both sides of the story and definately if this is a feature that goes against nest.land philosophy then it shouldn’t be applied in any way. I stick to the fact nest.land should protect its philosophy. So I’m ok with whatever decision. |
Beta Was this translation helpful? Give feedback.
-
Why don't we bring the best of both worlds? https://x.nest.land/MandarineTS@~1.2.0/mod.ts Would be the same as https://x.nest.land/MandarineTS@1.2.1/mod.ts But not https://x.nest.land/MandarineTS@1.3.0/mod.ts @andreespirela @zorbyte @t8 what do you think? |
Beta Was this translation helpful? Give feedback.
-
@oganexon your solution would work perfectly fine if we could trust developers to use semver versioning correctly. I'm really on the fence as to whether or not we can do that. My stance on this topic is this: Yes, it would make it much easier for documentation purposes and importing latest (stable) versions, but I believe that it proves for a recipe for disaster. For example, an older version of Implicit import urls can also make it extremely difficult for projects to scale, as dependencies may use implicit importing and so may their dependencies. With this, updating a dependency to be compatible with a new version of Deno could wind up starting a chain reaction of other dependencies breaking. This would prove catastrophic to the ecosystem. I think that this issue pertains more to package managers than registries and CDNs, but I would like to hear some more opinions regarding semver tokens. It could be a solution to this issue, but only if we think it would be wise to assume that developers use semver versioning correctly. |
Beta Was this translation helpful? Give feedback.
-
After having a contributor meeting, it was decided that the best way to go about deciding a stance on this issue would be by polling the general public. It is critical that we explain the implications that either decision could have on the Deno ecosystem, and we plan to detail these implications on the poll itself. I'm going to be writing up this poll and revising it throughout the week. You can plan on it being posted either late this week or early next week, as I don't want to over-saturate the various Deno communities with nest.land matters. I should note that the results of the poll will not determine our final decision to this matter. The team, as a whole, will use the results of the poll to see where the public stands and will make a decision from there. |
Beta Was this translation helpful? Give feedback.
-
I agree that |
Beta Was this translation helpful? Give feedback.
-
Can we add the ability to use the tag
@latest
so by using it we can get the request map it to the latest version published.I think this is a nice feature & it will make Documentation so much easier as I don't have to update my documentation to only update the nest.land tag.
If Unstable dropdown will be added at some point, then
@latest
should only use the latest stable version.Example:
https://x.nest.land/MandarineTS@latest/mod.ts
CC: @t8
Beta Was this translation helpful? Give feedback.
All reactions