Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial implementation for optional column alias in PG * Move line and point types into `postgis_extensions` folder * Update PG column exports * Update PG column types that don't have config param * Update postgis column types * Update PG vector column types * Update the rest of PG columns * Improve types * Add type tests * Update MySQL columns * Update PG custom column * Fix issue with undefined config * Add MySQL type and integration tests * Update SQLite columns * Eliminate duplicate code * Add type and integration tests to SQLite * Slightly simplify column type definitions * Remove unnecessary `any` casts * Fix lint error * Format * Moved `line` and `point` back to `columns` folder in PG * Fix import * LibSQL improvements Added: - handling alteting columns in libsql - new json statement for recreation table for sqlite and libsql - push updated for sqlite and libsql - tests * - updated tests - added handling create reference and create column for sqlite and libsql * - handled foreign keys for recreate table - handled alter column with unique keys - made more tests - updated recreate sql statements order * changed package json to prev state * updated tests * Test implementation * Type-level implementation * Added functional runtimes for node-pg, aws-data-api-pg [custom drizzle config WIP] * Resolved bun type related build issues * Implemented extra drivers * Setup common casing config * Implement casing cache in PG * Update PG driver configs and inits * Update AWS Data API driver * Add additional PG tests * Remove raw SQL test cases from PG * Add set operator tests to PG * Rename PG test files * Implement MySQL casing cache * Update MySQL drivers config and init * Expose casing transformation functions * Complete runtime implementations [TO BE TESTED] * Prototype implementation * switched bun to dynamic imports * Removed static imports, removed promise wrapper * Returned async imports due to conflicts * More comnprehensive import errors * Add additional MySQL and PG tests * Update SQLite drivers * Remove manual casing caching * Update test names * Implement SQLite casing cache * Add ability to define column types without imports (callback fn) * Format * Changed error messge * Improved params destructurization * Functional prototype of SQLite $count * Added pg, mysql; Added tests, type tests for $count * Added alternate config for better-sqlite3, bun:sqlite; Renamed bun-sqlite to bun:sqlite; Fixed schema inferrence issue (no schema would resrresult in `unknown`, expected: `Record<string, never>`) * - moved 'turso' driver to dialect - rewrote tests * fixed dialects in introspect musql, psql, sqlite updated packages * updated tests and removed pragma from push in libsql * removed console.log * Added monomigrator * Changed style of monodriver, monomigrator function args * Fixed overload order for better autocomplete * Removed garbage * updated pull config update migrate function in drizzle-orm * removed driver * Added missing postgres.js to monomigrator * Fixed missing defaults in templates * updated sqlite connection to libsql * Improved types, matched supported instances of monodriver and monomigrator, fixed pg withReplicas type's schema inferrence, fixed lack of [entityKind] on some instances, fixed migrators not accepting string as a config * Fixed invalid [entityKind] call * Added `:memory:` autocomplete * Removed leftover code from overloads, added `assertUnreachable` * Added missing runtime tests * Exposed db drivers from monodriver * Fixed test tables using already existing names * Fixed faulty test cases; Fixed lack of count type conversion in mysql; added all method functionality to pg proxy driver; added websocket instance to monodriver neon serverless config * Switched mysql count to execute * Added cast to embedded * Switched to `.execute` for mysql, pg; reverted pg proxy session changes; fixed misplaced mysql tests; removed unused args * Moved type conversion drom db to ORM; improved types * Moved pg, mysql counts to sessions to resolve return shape conflicts * Fixed neon-http, planetscale; removed leftover lines; switched sqlite to session-based count * changed console.log outputs for connection to Sqlite returned removed console.log in mysql push * Add draft for beta release * Improved types optional params arg where connection isn ot required; fixed vercel instance asking for client * Improved types, added `Turso` alias for `libsql` * Fixed incorrect order of ws assignment on neon-serverless, added ability to specify connection as string to multiple drivers that didn't support it by assigning passed string as connectionString or url inside the driver * Removed monodriver node-pg due to incompatibility with import() * Add release notes for orm and kit * Returned node-postgres * Removed outdated migration config string type * Update release notes * Monodriver improvements, added $client to all compatible drizzle instances, fixed Drizzle D1 not accepting miniflare D1 on type level * Add kit casing for pg * Export `int.common.ts` in `columns/index.ts` * String as execute input * Remove cirucular deps * Format * Fixed version * Update introspect pg * Update roadmap * Add introspect for cases to mysql and sqlite * Add pglite to monodriver * Add pglite to monomigrator * Fix language * Serialize with casing * Add PG casing tests * Update schemaDiffer.ts file * Add casing tests to MySQL * Add SQLite casing serialization tests * Format * Fix api.ts file errors * Update tests * Update tests * Update tests * Change literals for CasingType type * Update tests * Fixed count builders imports importing modules from index instead of dedicated locations * Additional import fixes * Fixed type imports being imported as entities * Removed monodriver, monomigrator to `\/connect` * Fixed lack of file extensions in imports * Fix types for index.ts * Update release notes * Add Xata workaround for identity columns * fix: add import extensions to async imports * fix fix-imports.ts * bump to 0.34.1 --------- Co-authored-by: Mario564 <[email protected]> Co-authored-by: Aleksandr Sherman <[email protected]> Co-authored-by: Sukairo-02 <[email protected]> Co-authored-by: Andrii Sherman <[email protected]> Co-authored-by: w3cj <[email protected]> Co-authored-by: Alex Blokh <[email protected]>
- Loading branch information