Bring drizzle-kit fork to v1 RC - #26
Draft
joe-thom wants to merge 1555 commits into
Draft
Conversation
- 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>
…to alternation-engine
…tabase' as an option
…ompressionStream)
… in cockroach, mssql sessions, fixed broken test cases
…drizzle-orm into alternation-engine
…drizzle-orm into alternation-engine
…drizzle-orm into alternation-engine
…orm into alternation-engine
…orm into alternation-engine
…orm into alternation-engine
* 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>
Reimplementation of mappers
- 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>
…v1-compat # Conflicts: # drizzle-kit/src/api.ts # drizzle-kit/src/cli/commands/migrate.ts # drizzle-kit/src/cli/commands/pgPushUtils.ts # drizzle-kit/src/serializer/pgSerializer.ts # drizzle-kit/tests/pg-tables.test.ts
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Wiz Scan Summary
|
| Scanner | Findings |
|---|---|
| 1 |
|
| - | |
| 20 |
|
| 14 |
|
| 139 |
|
| - | |
| Total | 1 |
To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why
drizzle-kitpackage to the upstream v1 RC.References CLO2-222
Project: DB Sprint
What changed
@drizzle-team/drizzle-kitpackage name and publish command../apicompatibility export for pid2.api.js,api.mjs, and type declarations with the v1 dialect API files.Test plan
nix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm --dir drizzle-kit exec vitest run tests/api.test.tsnix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm --filter @drizzle-team/drizzle-kit test:typesnix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm lintnix shell nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#bun -c pnpm --filter @drizzle-team/drizzle-kit buildRevertibility
A revert is safe. This PR contains no migration or persistent data change.
Stack
~ written by Zerg 👾 (wp-cc5da088)
Linear project: DB Sprint