When agents met Drizzle
drizzle-orm@1.0.0-rc.4 is out 🚀
▪︎ Effect nerds, you now have native support for MySQL and SQLite drivers
▪︎ LLM agents can now use drizzle-kit CLI and SDK to manage your schema and migrations
▪︎ drizzke-kit now has MCP server and skills
▪︎ new github action to manage multi-branch migrations in teams or concurrent agent development
▪︎ next release is a v1 👀
🧵
We're removing TypeScript from Drizzle
We fully recognize that TypeScript offers some people some advantages, but to our eyes, the benefits are evident. The code not only reads much better, it's also freed of the type wrangling and gymnastics needed to please the TS compiler
Ok, I need to try
@nikitabier during feed pagination when new chunk is loaded it shifts the feed
It’s either index or sorting issue
Happens on both iOS and web
It’s in those moments you see a banger and can never find it again
It also happens when you switch accs, you see a banger and a loader and I sometimes manage to at least tap the tweet just not to loose it(it’s heartbreaking when there are two)
That’s it, everything else is nice and getting better, thank you 🤝
Drizzle v0.39.0 is live 🎉
▪︎ Bun SQL driver, it's crazy fast (wait for benchs)
▪︎ Advance WITH api for inserts, updates, deletes and sql
▪︎ upgrades to Neon RLS utilities
▪︎ more stuff, see release notes below 👇
We improved TypeScript types performance for Drizzle Relational Schema and Queries by ~x21.4 times
TS v5.8.3: 728.8k -> 34.1k
TS v5.9.2: 553.7k -> 25.4k
types instantiations for 3300 lines production drizzle schema + 990 lines relations
Turns out lower type instantiations are not always better, thus we played around with them to squeeze most real world performance and it is just instant now
Last but not least, you can now click to definitions in drizzle relations and db.query.table
Drizzle to GraphQL 🎉
You can now convert Drizzle Schema to GraphQL schema with just one line of code and yes, it's fully customisable!
Go give it a try - driz.link/graphql 🚀
Wake up babe, Drizzle v0.34.0 just dropped
sheesh, no more 'id: serial("id")'
we now infer db names from column names and yes, we now have support for camel/snake cases
SQLite migrations got a big bump and we now have @tursodatabase dialect with support for LibSQL extended SQL migrations capabilities!
And yes, we now have new newcomers-friendly init API and .$count()
40% to v1 🚀
Now 'bun add drizzle-orm@latest' and go checkout release notes!
github.com/drizzle-team/driz…
meet Waddler 🦆
We've recently started using DuckDB and MotherDuck in our internal projects and decided to build a thin modern SQL client on top of DuckDB NodeJS driver
successfully duct taped @DrizzleORM onto the new @CloudflareDev durable objects sqlite api
technically DO sqlite is synchronous, i used drizzle's http proxy which requires async. but im gonna let someone smarter than me figure that part out ¯\_(ツ)_/¯
Drizzle Studio to every home 🏡
We're exploring ways to make Drizzle Studio an industry standard for serverless database browsing in 2024+
For that we've built a chrome extension which lets you run Drizzle Studio directly in PlanetScale or Vercel Postgres admin panels
It is a pilot project we launch to collect the feedback, it's free and will be live for 4 weeks - don't hesitate and give it a try
Watched the full DHH interview and learned that Shopify is on Rails, wow
It sits on 10% global and ~30% US ecom market share, it's insane
Imagine how much bigger it would be if built on TypeScript
Kudos to Convex team on not being afraid and showing a proper way to migrate away from Convex debunking “vendor lock” concerns
True engineering vibes here