Skip to content

Commit

Permalink
chore(deps): bump drizzle-kit from 0.21.1 to 0.22.7 (#260)
Browse files Browse the repository at this point in the history
Bumps [drizzle-kit](https://github.com/drizzle-team/drizzle-kit-mirror)
from 0.21.1 to 0.22.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/drizzle-team/drizzle-kit-mirror/releases">drizzle-kit's
releases</a>.</em></p>
<blockquote>
<h2>0.22.6</h2>
<ul>
<li>🐛 Fixed <code>drizzle-kit up</code> of snapshots from v6 to v7</li>
<li>🐛 [BUG]: extensionsFilters: ['postgis'] still trying to delete
spatial_ref_sys - <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2464">#2464</a></li>
</ul>
<h2>0.22.5</h2>
<ul>
<li>🐛 [BUG]: Recreating pg index in version 0.31(orm) + 0.22(kit) fails
- <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2470">#2470</a></li>
<li>🐛 [BUG]: Drizzle migrator doesn't work with uppercase names when
creating indexes - <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2457">#2457</a></li>
<li>🐛 [BUG]: 'left' column name not escaped in index - <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2425">#2425</a></li>
<li>🐛 [BUG]: drizzle-kit push TypeError Cannot use 'in' operator to
search for 'default' in undefined - <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2385">#2385</a></li>
<li>🐛 [BUG]: Breaking change in the new &quot;PostgreSQL Indexes
API&quot; missing quotes for uppercase column letters - <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2413">#2413</a></li>
<li>🐛 [BUG]: drizzle-kit migrate fail &quot;applying migrations...error:
column &quot;authorid&quot; does not exist&quot; - <a
href="https://redirect.github.com/drizzle-team/drizzle-orm/issues/2423">#2423</a></li>
</ul>
<h2>0.22.4</h2>
<ul>
<li>Removed <code>data loss</code> triggers on <code>push</code> when
adding a <code>NOT NULL</code> constraint to a column and when removing
the <code>default</code> value from a column. These actions will now be
performed immediately, and if there are any <code>NULL</code> values in
the column, you will receive an error from the database</li>
</ul>
<h2>0.22.3</h2>
<ul>
<li>🐛 Fix <code>Cannot use 'in' operator to search for 'default' in
undefined</code> error on push and generate</li>
</ul>
<h2>0.22.2</h2>
<ul>
<li>🐛 Fixed index-on-expressions sql statement generation if the
expression contains a <code>,</code>. This should fix problems for
<code>tsvector</code> indexes, such as:</li>
</ul>
<pre lang="ts"><code>titleSearchIndex:
index('title_search_index').using('gin', sql`to_tsvector('english',
${table.title})`)
</code></pre>
<h2>0.22.1</h2>
<h3>Bug fixes</h3>
<ul>
<li>🐛 [BUG]: postgis geometry error: type &quot;geometry(point)&quot;
does not exist</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>
<p>🎉 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!</p>
</li>
<li>
<p>🎉 Refactor the d1-http driver to properly show the table row
count</p>
</li>
</ul>
<h2>0.22.0</h2>
<h1>New Features</h1>
<h2>🎉 Full support for indexes in PostgreSQL</h2>
<p>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</p>
<p>Previous API</p>
<ul>
<li>No way to define SQL expressions inside <code>.on</code>.</li>
<li><code>.using</code> and <code>.on</code> in our case are the same
thing, so the API is incorrect here.</li>
<li><code>.asc()</code>, <code>.desc()</code>,
<code>.nullsFirst()</code>, and <code>.nullsLast()</code> should be
specified for each column or expression on indexes, but not on an index
itself.</li>
</ul>
<pre lang="ts"><code>// Index declaration reference
index('name')
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/drizzle-team/drizzle-kit-mirror/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=drizzle-kit&package-manager=npm_and_yarn&previous-version=0.21.1&new-version=0.22.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vu Nguyen <shardphoneix@gmail.com>
  • Loading branch information
dependabot[bot] and vujita committed Jun 24, 2024
1 parent 591916d commit c9ebd73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 165 deletions.
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@auth/core": "0.31.0",
"drizzle-kit": "0.21.1",
"drizzle-kit": "0.22.7",
"drizzle-orm": "0.31.2",
"postgres": "3.4.3",
"zod": "3.22.3"
Expand Down
169 changes: 5 additions & 164 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9ebd73

Please sign in to comment.