Skip to content

Tags: drizzle-team/drizzle-orm

Tags

v1.0.0-beta.12

Toggle v1.0.0-beta.12's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Beta.12 (#5277)

* Fixed lack of placeholders in update

* Fixed broken test cases

* Additional test case fixes

* Additional test case fixes

* Fixed lack of alias proxying for view's `selectedFields`, fixed lack of alias handling for views in `from` clause

* Fixed broken test concurrency

* Fixed broken ternary condition

* Post-cache mapping of query result in effect-pg

* Extended test case skip duration

* Fixed drizzle-constructor not passing cache to EffectPgSession constructor

* Extended tests postpone date

* Improved config types for `exactOptionalPropertyTypes`

* +

* added tests

* Fixed bun-sqlite db.get(...) returning data in array mode instead of object mode (@Sukairo-02 commit)

* [kit-fix]: schema errors - added all cases for all dialects

* added orm changelog for beta 12

* moved formatToMillis in migrator.ts to migrate.utils.ts to avoid unintentional imports

* [kit-update]: ts schema error handling for generate + push

* [kit-update]: export command now throws errors if smthing wrong with the schema

* added tests

* added orm changelog

* Fixed `formatToMillis` import in migrators
Removed not valid test

* merged beta-fixes and updated changelog for orm

* postponed some tests

* fixed #4950 issue

* [kit-update]: tests

* [kit-fix]: fixed upper for pg

* postponed tests

* [kit-fix]: fixed test

* up package.json versions

* added tests

* [update]:

- Handled .inlineParams() for sql``
- Removed T['data'] from generatedAlwaysAs. It is now only SQL and () => SQL types

* updated changelogs

* remove .only from tests

* added tests

* fixed tests + build selection for single table

* added to all .generatedAlwaysAs tests sql`` instead of literals

* updated kit changelogs

* postponed + fixed tests

* postponed + fixed tests

---------

Co-authored-by: Sukairo-02 <sreka9056@gmail.com>
Co-authored-by: OleksiiKH0240 <homenko0240@gmail.com>

v1.0.0-beta.11

Toggle v1.0.0-beta.11's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Beta.11 (#5262)

* updated tests

* +

* updated tests

* [drizzle-kit] updated tests

* [drizzle-kit] added tests

* [drizzle-kit] added tests

* [drizzle-kit] updated test

* added tests

* updated pull tests

* +

* [integration-tests] updated tests

* corrected issue links

* [drizzle kit] added test

* [drizzle-kit] added test

* [drizzle-kit] added tests

* [feat-orm]: index logic

Added ability to pass table column to index, uniqueIndex, using in outer const. Without using 3rd param in table

* added tests

* updated tests

* [drizzle-kit] added tests

* [fix+update]: mysql use/force/ignore index update + pg asc/nullsFirst index update

Mysql:
- Added ability to handle unique constraints in use/force/ignore indexes in select queries
- Added tests

Pg:
- in drizzle-kit/drizzle.ts file updated logic regarding nullsFirst and asc/desc creation
pg docs: https://www.postgresql.org/docs/current/sql-createindex.html

* [update]: changelog

* [drizzle-kit] added tests

* [psql]: fixed broken tests in kit

* [mysql]: fixed some an issue in kit

* [sqlite]: isssue + fk introspect bugs fixed

* [mssql]: index bug fix in kit

* [cockroach]: fixed tests in kit

* [sqlite]: fk introspect fix

* [psql]: kit pk tests

* [update]: changelog for drizzle-kit

* [mssql]: kit fix

* [drizzle-kit] added tests

* [mssql-kit]: up to v2

* [kit]: psql + cockroach enum tests

* [drizzle-kit] added tests

* updated comments in tests

* [update]: kit tests update

* [update]: ignored ts error for deploy

* [update-casing]: removed casing from Name class

* [update]: isNull wrapped in ()

* [updates]: tests + bug fixes

- Fixed "buildIndex" method in mysql for `use/force/ignore` indexes
- Updated some integration tests

* [update]: fixed int:sqlite tests

* [update]: singlestore int test

* [update]: singlestore test

* [update]: changelog for kit + up of package.json versions of orm and kit

* [update]: changelog + test

* [drizzle-kit] added tests

* [drizzle-kit] added test

* updated test

* [update-kit]: psql test

* [update-kit]: fixed tests

Added:
- handling on column alters to serial in pg
- suggestions for diff in mysql

* [update-kit]: deprecated 'strict' flag

* [update-kit]: test

* [update-kit]: test

* [update-kit]: mssql test

* [update-kit]: fix

* [update-kit]: added explain to every dialect

* added tests

* fixed prompt for column conflicts; added tests

* [update-kit]: sqlite up fixes

- Added tests on up (like pg and mysql had)
- fixed some minor fixes

* [fix-kit]: errors in mocks

* [fix-kit]: mssql fixes

* [fix-kit]: tests fix to deploy

* [fix-kit]

* [fix-kit]

* [fix-kit]

* [update]: versions + changelog for sqlite

* [update]: comment

* [update-kit]: fixed mssql + new tests

* [fix-kit]: --explain handling

* Update release notes

* [sqlite-kit-fix]: introspect + explain

* [update-kit]: fixed two issues

* [fix-kit]: deepStrictEqual + fixed broken tests

* [update-kit]: fixed issues

* [update-kit]: added custom type for sqlite introspect + up all packages

* [fix-kit]: defaults for text

* added tests

* [fix-kit]: fixed + postponed tests

* [fix-kit]: sqlite def test

* added tests

* added tests

* removed migration prefix from drizzle-kit

* [update-kit]: handle custom migration schema and table in push + tests

* [kit-fix]: tables tests

* [kit-fix]: cli tests

* [fix-kit]

* [update-kit]

* [update]: int tests removed skipIf in some tests

* [update-kit]: changelog

* [update-kit]: pg index issue fixed

* [kit-fix]: pg + cockroach issue

* [kit]: mssql issue

* Fixed bun-sqlite rqbv2 mapper error on empty get response (fixes #5189)

* Up all versions to 7 + orm changelog

* changelog update

* [update-kit]: tests on ignore migrations config schema/table + minor updates

* [fix-kit]: fixed all fromDatabaseForDrizzle params

* [fix-kit]: fixed broken tests

* [kit-fix]: broken tests

* added tests

* added tests

* [kit-fix]: mysql fixes

* added tests

* [kit-fix]: fixed issues 5224 and 5212

* [kit-fix]: fixed psql issue

* [kit-fix]: entity filter update for pg

* [kit]: removed .only

* [kit-fix]: introspect fix for pk

* [kit-fix]: returned entity filter logic back as it was

* [kit-fix]: added some tests + tests on tsc relations

* fixed test

* orm timestamp batch + noop cache ignored from cache + mysql cyclic introspect

* Separated date and int-exclusive column methods from common pg builder

* added tests

* upped versions + upped skipped tests dates + changelogs + extra tests

* skipped tests

* extra fix + test

---------

Co-authored-by: OleksiiKH0240 <homenko0240@gmail.com>
Co-authored-by: Alex Blokh <aleksandrblokh@gmail.com>
Co-authored-by: AndriiSherman <andreysherman11@gmail.com>
Co-authored-by: Sukairo-02 <sreka9056@gmail.com>

v1.0.0-beta.9

Toggle v1.0.0-beta.9's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Beta.11 (#5262)

* updated tests

* +

* updated tests

* [drizzle-kit] updated tests

* [drizzle-kit] added tests

* [drizzle-kit] added tests

* [drizzle-kit] updated test

* added tests

* updated pull tests

* +

* [integration-tests] updated tests

* corrected issue links

* [drizzle kit] added test

* [drizzle-kit] added test

* [drizzle-kit] added tests

* [feat-orm]: index logic

Added ability to pass table column to index, uniqueIndex, using in outer const. Without using 3rd param in table

* added tests

* updated tests

* [drizzle-kit] added tests

* [fix+update]: mysql use/force/ignore index update + pg asc/nullsFirst index update

Mysql:
- Added ability to handle unique constraints in use/force/ignore indexes in select queries
- Added tests

Pg:
- in drizzle-kit/drizzle.ts file updated logic regarding nullsFirst and asc/desc creation
pg docs: https://www.postgresql.org/docs/current/sql-createindex.html

* [update]: changelog

* [drizzle-kit] added tests

* [psql]: fixed broken tests in kit

* [mysql]: fixed some an issue in kit

* [sqlite]: isssue + fk introspect bugs fixed

* [mssql]: index bug fix in kit

* [cockroach]: fixed tests in kit

* [sqlite]: fk introspect fix

* [psql]: kit pk tests

* [update]: changelog for drizzle-kit

* [mssql]: kit fix

* [drizzle-kit] added tests

* [mssql-kit]: up to v2

* [kit]: psql + cockroach enum tests

* [drizzle-kit] added tests

* updated comments in tests

* [update]: kit tests update

* [update]: ignored ts error for deploy

* [update-casing]: removed casing from Name class

* [update]: isNull wrapped in ()

* [updates]: tests + bug fixes

- Fixed "buildIndex" method in mysql for `use/force/ignore` indexes
- Updated some integration tests

* [update]: fixed int:sqlite tests

* [update]: singlestore int test

* [update]: singlestore test

* [update]: changelog for kit + up of package.json versions of orm and kit

* [update]: changelog + test

* [drizzle-kit] added tests

* [drizzle-kit] added test

* updated test

* [update-kit]: psql test

* [update-kit]: fixed tests

Added:
- handling on column alters to serial in pg
- suggestions for diff in mysql

* [update-kit]: deprecated 'strict' flag

* [update-kit]: test

* [update-kit]: test

* [update-kit]: mssql test

* [update-kit]: fix

* [update-kit]: added explain to every dialect

* added tests

* fixed prompt for column conflicts; added tests

* [update-kit]: sqlite up fixes

- Added tests on up (like pg and mysql had)
- fixed some minor fixes

* [fix-kit]: errors in mocks

* [fix-kit]: mssql fixes

* [fix-kit]: tests fix to deploy

* [fix-kit]

* [fix-kit]

* [fix-kit]

* [update]: versions + changelog for sqlite

* [update]: comment

* [update-kit]: fixed mssql + new tests

* [fix-kit]: --explain handling

* Update release notes

* [sqlite-kit-fix]: introspect + explain

* [update-kit]: fixed two issues

* [fix-kit]: deepStrictEqual + fixed broken tests

* [update-kit]: fixed issues

* [update-kit]: added custom type for sqlite introspect + up all packages

* [fix-kit]: defaults for text

* added tests

* [fix-kit]: fixed + postponed tests

* [fix-kit]: sqlite def test

* added tests

* added tests

* removed migration prefix from drizzle-kit

* [update-kit]: handle custom migration schema and table in push + tests

* [kit-fix]: tables tests

* [kit-fix]: cli tests

* [fix-kit]

* [update-kit]

* [update]: int tests removed skipIf in some tests

* [update-kit]: changelog

* [update-kit]: pg index issue fixed

* [kit-fix]: pg + cockroach issue

* [kit]: mssql issue

* Fixed bun-sqlite rqbv2 mapper error on empty get response (fixes #5189)

* Up all versions to 7 + orm changelog

* changelog update

* [update-kit]: tests on ignore migrations config schema/table + minor updates

* [fix-kit]: fixed all fromDatabaseForDrizzle params

* [fix-kit]: fixed broken tests

* [kit-fix]: broken tests

* added tests

* added tests

* [kit-fix]: mysql fixes

* added tests

* [kit-fix]: fixed issues 5224 and 5212

* [kit-fix]: fixed psql issue

* [kit-fix]: entity filter update for pg

* [kit]: removed .only

* [kit-fix]: introspect fix for pk

* [kit-fix]: returned entity filter logic back as it was

* [kit-fix]: added some tests + tests on tsc relations

* fixed test

* orm timestamp batch + noop cache ignored from cache + mysql cyclic introspect

* Separated date and int-exclusive column methods from common pg builder

* added tests

* upped versions + upped skipped tests dates + changelogs + extra tests

* skipped tests

* extra fix + test

---------

Co-authored-by: OleksiiKH0240 <homenko0240@gmail.com>
Co-authored-by: Alex Blokh <aleksandrblokh@gmail.com>
Co-authored-by: AndriiSherman <andreysherman11@gmail.com>
Co-authored-by: Sukairo-02 <sreka9056@gmail.com>

0.45.1

Toggle 0.45.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)

v1.0.0-beta.8

Toggle v1.0.0-beta.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)

v.1.0.0-beta.7

Toggle v.1.0.0-beta.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)

v1.0.0-beta.6

Toggle v1.0.0-beta.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)

v1.0.0-beta.5

Toggle v1.0.0-beta.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)

v1.0.0-beta.4

Toggle v1.0.0-beta.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)

v1.0.0-beta.3

Toggle v1.0.0-beta.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed pg-native Pool detection in node-postgres transactions breaking…

… in environments with forbidden `require()` (fixes #5107) (#5118)