ngareleo / donald

Mapesa platform
https://donald-rstm.vercel.app
1 stars 0 forks source link

Bump drizzle-kit from 0.20.18 to 0.22.7 #21

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps drizzle-kit from 0.20.18 to 0.22.7.

Release notes

Sourced from drizzle-kit's releases.

0.22.6

  • πŸ› Fixed drizzle-kit up of snapshots from v6 to v7
  • πŸ› [BUG]: extensionsFilters: ['postgis'] still trying to delete spatial_ref_sys - #2464

0.22.5

  • πŸ› [BUG]: Recreating pg index in version 0.31(orm) + 0.22(kit) fails - #2470
  • πŸ› [BUG]: Drizzle migrator doesn't work with uppercase names when creating indexes - #2457
  • πŸ› [BUG]: 'left' column name not escaped in index - #2425
  • πŸ› [BUG]: drizzle-kit push TypeError Cannot use 'in' operator to search for 'default' in undefined - #2385
  • πŸ› [BUG]: Breaking change in the new "PostgreSQL Indexes API" missing quotes for uppercase column letters - #2413
  • πŸ› [BUG]: drizzle-kit migrate fail "applying migrations...error: column "authorid" does not exist" - #2423

0.22.4

  • Removed data loss triggers on push when adding a NOT NULL constraint to a column and when removing the default value from a column. These actions will now be performed immediately, and if there are any NULL values in the column, you will receive an error from the database

0.22.3

  • πŸ› Fix Cannot use 'in' operator to search for 'default' in undefined error on push and generate

0.22.2

  • πŸ› Fixed index-on-expressions sql statement generation if the expression contains a ,. This should fix problems for tsvector indexes, such as:
titleSearchIndex: index('title_search_index').using('gin', sql`to_tsvector('english', ${table.title})`)

0.22.1

Bug fixes

  • πŸ› [BUG]: postgis geometry error: type "geometry(point)" does not exist

Improvements

  • πŸŽ‰ Drizzle Studio now supports raw responses from D1 HTTP. This means that Drizzle Studio now has full support for D1, and all queries should work as expected!

  • πŸŽ‰ Refactor the d1-http driver to properly show the table row count

0.22.0

New Features

πŸŽ‰ Full support for indexes in PostgreSQL

The previous Drizzle+PostgreSQL indexes API was incorrect and was not aligned with the PostgreSQL documentation. The good thing is that it was not used in queries, and drizzle-kit didn't support all properties for indexes. This means we can now change the API to the correct one and provide full support for it in drizzle-kit

Previous API

  • No way to define SQL expressions inside .on.
  • .using and .on in our case are the same thing, so the API is incorrect here.
  • .asc(), .desc(), .nullsFirst(), and .nullsLast() should be specified for each column or expression on indexes, but not on an index itself.
// Index declaration reference
index('name')
</tr></table> 

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)