Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency drizzle-kit to ^0.20.6 - autoclosed #743

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
drizzle-kit ^0.19.13 -> ^0.20.6 age adoption passing confidence

Release Notes

drizzle-team/drizzle-kit-mirror (drizzle-kit)

v0.20.6

Compare Source

v0.20.5

Compare Source

v0.20.4

Compare Source

v0.20.3

Compare Source

v0.20.2

Compare Source

v0.20.1

Compare Source

v0.20.0: 0.20.0

Compare Source

Drizzle ORM version 0.29.0 will require a minimum Drizzle Kit version of 0.20.0, and vice versa. Therefore, when upgrading to a newer version of Drizzle ORM, you will also need to upgrade Drizzle Kit. This may result in some breaking changes throughout the versions, especially if you need to upgrade Drizzle Kit and your Drizzle ORM version is older than <0.28.0

New Features

New way to define drizzle.config using defineConfig function

import { defineConfig } from 'drizzle-kit/utils'

export default defineConfig({
  schema: "./schema.ts",
  out: "./drizzle",
  driver: "..",
  dbCredentials: {
    // connection
  },
  verbose: true,
  strict: true,
})

Possibility to access Cloudflare D1 with Drizzle Studio using wrangler.toml file

You can now use Drizzle Studio with your D1 database. Please note that it may be slow at times because Drizzle Studio utilizes Wrangler CLI calls to perform data selection, updates, deletions, and insertions. The speed of these operations depends on the performance of Wrangler CLI calls.

To use Drizzle Studio with the D1 database, you need to provide the file path to your wrangler.toml file and specify the dbName you are using in Cloudflare D1

import { defineConfig } from 'drizzle-kit/utils'

export default defineConfig({
  schema: "./schema.ts",
  out: "./drizzle",
  driver: "d1",
  dbCredentials: {
    wranglerConfigPath: 'wrangler.toml',
    dbName: 'd1-test'
  },
  verbose: true,
  strict: true,
})

And then run drizzle-kit studio

Note: make sure you have wrangler cli installed globally or inside your project and you invoked wrangler login before running studio

Drizzle Studio is migrating to https://local.drizzle.studio/

Previously, Drizzle Studio used 127.0.0.1:4983 as the default host and port for the web page. Currently, Drizzle Studio will always be hosted on https://local.drizzle.studio/, connecting to the backend at 127.0.0.1:4983. You can modify the host and port for the backend server by using the --host and --port options in drizzle-kit studio.

local.drizzle.studio provides the ability to ship updates to the Drizzle Studio web UI immediately, eliminating the need for constant drizzle-kit upgrades

bigint unsigned support

This option is now available in the introspect, push, and generate commands.

primaryKeys and foreignKeys now can have custom names

This option is now available in the introspect, push, and generate commands.

Environment variables are now fetched automatically

As mentioned many times, you can finally skip fetching environment variables to use with the drizzle.config file. Drizzle Kit will handle this process automatically.

Drizzle Studio Updates

  • Refresh button for the view inside a table.
  • Possibility to choose schemas for Postgres. For MySQL and SQLite, public will be the default, and the only choice.

Improvements

  • remove libsql_wasm_func_table from sqlite introspect and push
  • Handle primaryKey columns order for composite constraints

Bug Fixes

  • Fix the case, when having turso or libsql driver user was seeing an error with no better-sqlite3 dependency
  • Add tableFilters to cli options in all push commands
  • Fix dropping unique indexes syntax for push and generate command

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge November 9, 2023 22:48
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 98388a0 to 5fa93ab Compare November 11, 2023 15:01
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 5fa93ab to 5c13295 Compare November 11, 2023 16:43
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch 2 times, most recently from bceecc6 to e171bcb Compare November 11, 2023 16:55
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from e171bcb to 84a1069 Compare November 12, 2023 11:23
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 84a1069 to 39bf594 Compare November 12, 2023 11:28
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 39bf594 to 6a5b855 Compare November 12, 2023 11:34
@renovate renovate bot changed the title chore(deps): update dependency drizzle-kit to ^0.20.1 chore(deps): update dependency drizzle-kit to ^0.20.2 Nov 12, 2023
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 6a5b855 to 5de5392 Compare November 12, 2023 13:46
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 5de5392 to 335f89f Compare November 12, 2023 18:56
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 335f89f to 39f22bf Compare November 12, 2023 19:05
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 7753922 to d81342b Compare November 19, 2023 11:56
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from d81342b to 43fb07d Compare November 20, 2023 23:43
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 43fb07d to 24e4981 Compare November 20, 2023 23:51
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 24e4981 to 4a4c031 Compare November 26, 2023 12:22
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 4a4c031 to 037acb3 Compare November 26, 2023 12:27
@renovate renovate bot changed the title chore(deps): update dependency drizzle-kit to ^0.20.4 chore(deps): update dependency drizzle-kit to ^0.20.6 Nov 26, 2023
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from 037acb3 to b0449e2 Compare November 26, 2023 22:27
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from b0449e2 to a82ec67 Compare December 3, 2023 20:48
@renovate renovate bot force-pushed the renovate/drizzle-kit-0.x branch from a82ec67 to 9b0b732 Compare December 3, 2023 20:53
@renovate renovate bot changed the title chore(deps): update dependency drizzle-kit to ^0.20.6 chore(deps): update dependency drizzle-kit to ^0.20.6 - autoclosed Dec 3, 2023
@renovate renovate bot closed this Dec 3, 2023
auto-merge was automatically disabled December 3, 2023 21:18

Pull request was closed

@renovate renovate bot deleted the renovate/drizzle-kit-0.x branch December 3, 2023 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants