Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/beta' into insert-into-select-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Mario564 committed Nov 13, 2024
2 parents 85c9bca + 8366cca commit 9a38bee
Show file tree
Hide file tree
Showing 452 changed files with 46,675 additions and 13,621 deletions.
47 changes: 33 additions & 14 deletions .github/ISSUE_TEMPLATE/bug-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,55 @@ body:
- type: markdown
attributes:
value: |
## Quick Bug Form
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible.
Thank you for taking the time to file a bug report! Please provide as much information as possible.
- type: checkboxes
id: verified
attributes:
label: Report hasn't been filed before.
options:
- label: I have verified that the bug I'm about to report hasn't been filed before.
required: true

- type: input
attributes:
label: What version of `drizzle-orm` are you using?
description: You can check the version by opening the `package.json` file in your project.
placeholder: 0.0.0
validations:
required: true

- type: input
attributes:
label: What version of `drizzle-kit` are you using?
description: You can check the version by opening the `package.json` file in your project.
placeholder: 0.0.0
validations:
required: false
- type: textarea
attributes:
label: Describe the Bug
description: Steps to reproduce
validations:
required: true
- type: textarea

- type: input
attributes:
label: Expected behavior
description: What you expect to happen
label: Other packages
description: If this bug is related to one of the other first-party packages we maintain, please list them here alongside their version.
placeholder: [email protected], [email protected]
validations:
required: false

- type: textarea
attributes:
label: Environment & setup
description: In which environment does the problem occur?
label: Describe the Bug
description: |
To fill this field, please answer the following:
- What is the undesired behavior?
- What are the steps to reproduce it?
- What is the desired result?
If the issue is more specific, consider answering the following questions if you think they may be relevant:
- What database engine are you using? Are you using a specific cloud provider? Which one?
- Do you think this bug pertains to a specific database driver? Which one?
- Are you working in a monorepo?
- If this is a bug related to types: What Typescript version are you using? What's the content of your tsconfig.json file?
- If you're using a runtime that isn't Node.js: Which one? What version? Have you verified that this isn't an issue with the runtime itself?
validations:
required: false
required: true

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/docs-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Documentation Enhancement"
description: Suggest documentation improvements
title: "[DOCS]:"
labels: ["docs"]

body:
- type: checkboxes
id: verified
attributes:
label: Enhancement hasn't been filed before.
options:
- label: I have verified this enhancement I'm about to request hasn't been suggested before.
required: true

- type: textarea
attributes:
label: Describe the enhancement you want to request
description: What do you want to change or add to the documentation?
validations:
required: true
14 changes: 11 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-template.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
name: "Feature Request"
description: Suggest new feature for Drizzle
description: Suggest new feature
title: "[FEATURE]:"
labels: ["enhancement"]

body:
- type: checkboxes
id: verified
attributes:
label: Feature hasn't been suggested before.
options:
- label: I have verified this feature I'm about to request hasn't been suggested before.
required: true

- type: textarea
attributes:
label: Describe what you want
description: What is the problem? What do you want to change or add?
label: Describe the enhancement you want to request
description: What do you want to change or add? What are the benefits of implementing this?
validations:
required: true
8 changes: 2 additions & 6 deletions .github/workflows/release-feature-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ jobs:
cd drizzle-orm
pnpm prisma generate --schema src/prisma/schema.prisma
)
(
cd integration-tests
pnpm prisma generate --schema tests/prisma/pg/schema.prisma
pnpm prisma generate --schema tests/prisma/mysql/schema.prisma
pnpm prisma generate --schema tests/prisma/sqlite/schema.prisma
)
pnpm build
- name: Run tests
Expand All @@ -157,6 +151,8 @@ jobs:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_BRANCH: ${{ secrets.XATA_BRANCH }}
LIBSQL_URL: file:local.db
LIBSQL_REMOTE_URL: ${{ secrets.LIBSQL_REMOTE_URL }}
LIBSQL_REMOTE_TOKEN: ${{ secrets.LIBSQL_REMOTE_TOKEN }}
run: |
if [[ ${{ github.event_name }} != "push" && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then
export SKIP_EXTERNAL_DB_TESTS=1
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,6 @@ jobs:
cd drizzle-orm
pnpm prisma generate --schema src/prisma/schema.prisma
)
(
cd integration-tests
pnpm prisma generate --schema tests/prisma/pg/schema.prisma
pnpm prisma generate --schema tests/prisma/mysql/schema.prisma
pnpm prisma generate --schema tests/prisma/sqlite/schema.prisma
)
pnpm build
- name: Run tests
Expand All @@ -160,6 +154,8 @@ jobs:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_BRANCH: ${{ secrets.XATA_BRANCH }}
LIBSQL_URL: file:local.db
LIBSQL_REMOTE_URL: ${{ secrets.LIBSQL_REMOTE_URL }}
LIBSQL_REMOTE_TOKEN: ${{ secrets.LIBSQL_REMOTE_TOKEN }}
run: |
if [[ "${{ matrix.package }}" == "drizzle-orm" ]]; then
pnpm test --filter ${{ matrix.package }} --filter integration-tests
Expand Down
Loading

0 comments on commit 9a38bee

Please sign in to comment.