postgres icon indicating copy to clipboard operation
postgres copied to clipboard

Rename JSR package?

Open lukeed opened this issue 1 year ago • 7 comments

I initially thought @bartlomieju/postgres was a fork – especially since it's so far behind (#480) – because I know this package as a denodriver/... package. Is there not a @deno/ scope or maybe a @denox/ ?

I understand not wanting to nest this under @std but I think the current naming loses clarity/authoritativeness. But maybe that's just me 🤷

lukeed avatar May 05 '24 05:05 lukeed

Yes please. I am the same way; I knew it was at least semi-official (because I recognized @bartlomieju) but most people a) wouldn't recognize and b) I was still unsure it was the exact same, and as you mention it's actually behind.

drewbitt avatar May 28 '24 20:05 drewbitt

why not use @denodrivers/postgres

sachaw avatar Aug 07 '24 06:08 sachaw

Also to add to the confusion, there's a package that looks like maybe a minimal fork here: https://jsr.io/@dewars/[email protected] that has a newer version than is in this repo. Without clarity, the official JSR package looks just the same (maybe even worse since 0.17 < 0.20)

allout58 avatar Oct 14 '24 20:10 allout58

New to Deno, wanted to query Postgres with 2.0, got quite confused between JSR, @std, deno.land. It's clear that deno.land imports are still working. Some high-level guidance would be appreciated.

av avatar Oct 16 '24 11:10 av

Also to add to the confusion, there's a package that looks like maybe a minimal fork here: https://jsr.io/@dewars/[email protected] that has a newer version than is in this repo. Without clarity, the official JSR package looks just the same (maybe even worse since 0.17 < 0.20)

I published that for my own usage, based on my open pr in this repo.

sachaw avatar Oct 18 '24 05:10 sachaw

New to Deno, wanted to query Postgres with 2.0, got quite confused between JSR, @std, deno.land. It's clear that deno.land imports are still working. Some high-level guidance would be appreciated.

JSR is replacing deno.land, deno.land is available for backwards compat, do not use it going forward.

sachaw avatar Oct 18 '24 05:10 sachaw

https://deno.land/std and https://deno.land/x were the way to import packages/modules in Deno. However with the launch of JSR everything from std was moved to it and new packages/modules from third parties should be created there as well. The goal of this issue is to deploy a stable/supported/updated version of the PostgreSQL driver in JSR, so my suggestion is to use the drivers on NPM meanwhile this is resolved or a third party publish it to JSR.

pg, postgres and postgrejs are good options.

sant123 avatar Oct 18 '24 16:10 sant123