8000 Tags · prisma/prisma · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Tags: prisma/prisma

Tags

6.8.2

Toggle 6.8.2's commit message

Verified

This commit was signed with the committer’s verified signature.
aqrln Alexey Orlenko
fix: use absolute path file URL for subcommand loading (#27199)

Prior to 6.8.1, the subcommand loading mechanism was failing on Windows
because it was using an absolute path without the `file://` protocol,
making the disk name looks like a protocol and thus the whole path
becoming an invalid URL.

In 6.8.1, this was worked around by using a relative path, but this
again broke on Windows if the CLI installation path and the subcommand
temporary directory are on different drives.

The correct fix for the issue is to use a `file://` URL with the
absolute path to the subcommand. This was not done in 6.8.1 because it
broke the tests.

However, the reason that broke the tests was not in our code, but in
Jest itself, which has atrocious ESM support and doesn't know how to
handle the `file://` URLs.

This commit fixes the issue by using a `file://` URL for the absolute
path, and changes the `SubCommand.test.ts` test to run under Vitest
instead of Jest. Going forward, we can gradually migrate the rest of the
tests to Vitest.

Fixes: #27195
Closes:
https://linear.app/prisma-company/issue/ORM-983/bug-subcommand-esm-module-resolution-fails-on-windows

6.8.1

Toggle 6.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: fix subcommand loading on windows (#27193)

On windows the module path needs to be prefixed with `file://`.

Fixes #27192

6.8.0

Toggle 6.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: ORM-941 create credentials store package (#27171)

Adds a dedicated package to handle credential storage for our CLI and
VSCode extension.

As per the described in
https://www.notion.so/prismaio/Technical-Design-10xPPg-VSCode-Extension-1ea9e8aecef780ee94c4e555c8bc568b

6.7.0

Toggle 6.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(generator-ts): don't pass extraneous arguments to `fs.unlink` (#2…

…7010)

`Array#map` passes three arguments to the callback function, but
`fsPromises.unlink` only expects one. This happens to work with Node.js
currently but breaks on Deno.

6.6.0

Toggle 6.6.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
feat(cli): add MCP server (#26700)

/integration

---------

Co-authored-by: Alberto Schiabel <jkomyno@users.noreply.github.com>
Co-authored-by: Alexey Orlenko <alex@aqrln.net>

6.5.0

Toggle 6.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(neon): support neon serverless v1 (#26561)

Adding support for upcoming neon v1 as per
neondatabase/serverless#145.

6.4.1

Toggle 6.4.1's commit message

Verified

This commit was signed with the committer’s verified signature.
aqrln Alexey Orlenko
fix(cli): be more cautious about showing the NPS survey (#26375)

6.4.0

Toggle 6.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(cli): add esbuild and esbuild-register to runtime dependencies (#…

…26361)

6.3.1

Toggle 6.3.1's commit message
chore: prisma postgres init copy changes (#26229)

* updates

* lock

* conditional db url printing

* minor

* little better error handling

* copy changes

* fix prettier breaking conditional logic

* update snap due to line break changes

* copy updates from review

* revert the default output to version 6.2.0

* revert snap change

* refresh snaps

* fix(test): update cli snapshots

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>

6.3.0

Toggle 6.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: allow init --db if prisma folder exists (#26181)

0