denodrivers / postgres

PostgreSQL driver for Deno
https://denodrivers.github.io/postgres
MIT License
605 stars 96 forks source link

Rename JSR package? #482

Open lukeed opened 6 months ago

lukeed commented 6 months ago

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 🤷

drewbitt commented 5 months ago

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.

sachaw commented 2 months ago

why not use @denodrivers/postgres

allout58 commented 3 weeks ago

Also to add to the confusion, there's a package that looks like maybe a minimal fork here: https://jsr.io/@dewars/postgres@0.20.0 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)

av commented 2 weeks ago

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.

sachaw commented 2 weeks ago

Also to add to the confusion, there's a package that looks like maybe a minimal fork here: https://jsr.io/@dewars/postgres@0.20.0 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 commented 2 weeks ago

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.

sant123 commented 2 weeks ago

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.