Skip to content

Bring drizzle-kit fork to v1 RC#26

Draft
joe-thom wants to merge 1551 commits intomainfrom
joe-thom/drizzle-kit-v1-compat
Draft

Bring drizzle-kit fork to v1 RC#26
joe-thom wants to merge 1551 commits intomainfrom
joe-thom/drizzle-kit-v1-compat

Conversation

@joe-thom
Copy link
Copy Markdown

@joe-thom joe-thom commented May 6, 2026

Why

  • Move Replit's forked drizzle-kit package onto upstream v1 RC while preserving the pid2 API surface used by deploy database preparation.
  • Keep the incident mitigation that caps concurrent Postgres introspection queries for large schemas.

What changed

  • Restored the internal @drizzle-team/drizzle-kit package name and publish command on top of upstream v1.
  • Added a ./api compatibility export that adapts pid2's existing helpers to v1's DDL diff/introspection internals.
  • Built api.js/api.mjs/declarations alongside the v1 dialect API entrypoints.
  • Added tests for the compatibility API, concurrency limiter, and legacy empty target schema handling.

Test plan

  • nix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm --dir drizzle-kit exec vitest run tests/api.test.ts
  • nix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm --filter @drizzle-team/drizzle-kit test:types
  • nix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm lint
  • nix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm --filter @drizzle-team/drizzle-kit build

Revertibility

  • Safe to revert. This updates the package source and build exports only; no migrations or persistent data changes are included.

Sukairo-02 and others added 30 commits November 25, 2025 18:51
… `Date` instances in driver response, updated changelogs
- Added string modes for SingleStore, PostgreSQL, MySQL bigint columns  
- Added getColumns util function to get columns\selected fields from tables, views and subqueries  

---------

Co-authored-by: Roman Nabukhotnyi <97584054+RomanNabukhotnyi@users.noreply.github.com>
Co-authored-by: Andrii Sherman <andreysherman11@gmail.com>
Co-authored-by: Dan Kochetov <danil.kochetov@gmail.com>
Co-authored-by: Angelelz <34462576+Angelelz@users.noreply.github.com>
… in cockroach, mssql sessions, fixed broken test cases
AlexBlokh and others added 24 commits April 26, 2026 10:57
* Updated to Effect V4

---------

Co-authored-by: Dan van der Merwe <danieljmerwe@gmail.com>
Co-authored-by: Sergey Reka <71607800+Sukairo-02@users.noreply.github.com>
Co-authored-by: AndriiSherman <andreysherman11@gmail.com>
Co-authored-by: Sukairo-02 <sreka9056@gmail.com>
* Updated Netlify-related changelog, removed dependency

---------

Co-authored-by: AndriiSherman <andreysherman11@gmail.com>
Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
- Disabled default codec type selectors for custom columns (fixes [BUG]:[1.0.0-rc.1] customType auto-resolves "geometry" codec from dataType, breaks for non-Point PostGIS columns drizzle-team#5711)
- Сallback type overload to codec selector
- Extended list of postgis types for codecs (improvement for [BUG]:[1.0.0-rc.1] customType auto-resolves "geometry" codec from dataType, breaks for non-Point PostGIS columns drizzle-team#5711)
- Updated codecs: geometry -> geometry(point), geometry:tuple -> geometry(point):tuple
- Switched PG transactions from class properties back to class methods (fixes [BUG]: [1.0.0.rc1] 
- PgAsyncDatabase.transaction is defined as an instance field rather than an instance method drizzle-team#5709)
- Updated AWS Data Api codecs, removed query typings, improved input param mapping
- Removed prepared query typings field from all builders
- Added column argument to CastParam,CastArrayParam codecs

---------

Co-authored-by: AndriiSherman <andreysherman11@gmail.com>
Co-authored-by: RomanNabukhotnyi <nabukhotnyiroman@gmail.com>
Copy link
Copy Markdown
Author

joe-thom commented May 6, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@joe-thom joe-thom changed the title [MsSql] initial implementation Bring drizzle-kit fork to v1 RC May 6, 2026
@joe-thom joe-thom added zergling-authored Authored by a Zerg zergling and removed zergling-authored Authored by a Zerg zergling labels May 6, 2026
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.

9 participants