Skip to content

Bump drizzle-orm from 0.27.2 to 0.28.3#37

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/drizzle-orm-0.28.3
Closed

Bump drizzle-orm from 0.27.2 to 0.28.3#37
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/drizzle-orm-0.28.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 22, 2023

Bumps drizzle-orm from 0.27.2 to 0.28.3.

Release notes

Sourced from drizzle-orm's releases.

0.28.3

  • 🎉 Added SQLite simplified query API

  • 🎉 Added .$defaultFn() / .$default() methods to column builders

You can specify any logic and any implementation for a function like cuid() for runtime defaults. Drizzle won't limit you in the number of implementations you can add.

Note: This value does not affect the drizzle-kit behavior, it is only used at runtime in drizzle-orm

import { varchar, mysqlTable } from "drizzle-orm/mysql-core";
import { createId } from '@paralleldrive/cuid2';
const table = mysqlTable('table', {
id: varchar('id', { length: 128 }).$defaultFn(() => createId()),
});

  • 🎉 Added table.$inferSelect / table._.inferSelect and table.$inferInsert / table._.inferInsert for more convenient table model type inference

  • 🛠 Deprecated InferModel type in favor of more explicit InferSelectModel and InferInsertModel

import { InferSelectModel, InferInsertModel } from 'drizzle-orm'
const usersTable = pgTable('users', {
id: serial('id').primaryKey(),
name: text('name').notNull(),
verified: boolean('verified').notNull().default(false),
jsonb: jsonb('jsonb').$type<string[]>(),
createdAt: timestamp('created_at', { withTimezone: true }).notNull().defaultNow(),
});
type SelectUser = typeof usersTable.$inferSelect;
type InsertUser = typeof usersTable.$inferInsert;
type SelectUser2 = InferSelectModel<typeof usersTable>;
type InsertUser2 = InferInsertModel<typeof usersTable>;

  • 🛠 Disabled .d.ts files bundling
  • 🐛 Fixed sqlite-proxy and SQL.js response from .get() when the result is empty

0.28.1

  • 🐛 Fixed Postgres array-related issues introduced by 0.28.0 (#983, #992)

0.28.0

Breaking changes

Removed support for filtering by nested relations

... (truncated)

Commits
  • 2e64d0b Merge pull request #1085 from drizzle-team/beta
  • 0d6a8b6 Update imports in changelog example
  • 8b61a2e Update changelog examples
  • 0b40e96 Add mysql tests fixes for insert query builder
  • cf20206 Add tests for $default. Add examples to changelog
  • a1dc88f Disable TS and Rollup build cache
  • a702909 Move param() and placeholder() into sql
  • 13d2cd0 Add default fn, new infer types, disable .d.ts bundling, fix sql .get() empty...
  • acf0b91 Merge pull request #1053 from drizzle-team/main
  • 515afb0 Merge branch 'beta' into main
  • Additional commits viewable in compare view

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

Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 0.27.2 to 0.28.3.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](drizzle-team/drizzle-orm@0.27.2...0.28.3)

---
updated-dependencies:
- dependency-name: drizzle-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 22, 2023
@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
didaplat ⬜️ Ignored (Inspect) Visit Preview Aug 22, 2023 7:53pm

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Aug 24, 2023

Superseded by #38.

@dependabot dependabot Bot closed this Aug 24, 2023
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/drizzle-orm-0.28.3 branch August 24, 2023 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants