发布

  • Beta.14 (#5326)

    frostbyte_neo 发布于 2026-02-04 14:48:46 +00:00

    • 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-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

    • kit-update: Fix view ordering in schema serialization to respect dependencies in all dialects

    This commit contains update login in drizzle.ts file
    When using prepareFromSchemaFiles to read schema files, views were returned in an unpredictable order (not in order that is was declared in schema.ts). This caused dependent views to appear before their dependencies, which breaks migration

    The migrator now applies all changes that are missing in the database. Previously the migrator only looked for local migrations with a creation date later than the last migration applied in the database. It now detects and applies all missing migrations

    Added tests for all dialects

    • postponed tests

    • postponed tests + update test

    • postponed test

    • [update]: merged #5272 issue fix + postponed some tests

    • [update]: fixed kit + orm tests + updated changelogs

    • Restricted usage of async functions in sync drivers' transactions

    • added tests

    • fixed drizzle-seed bug

    • fix lockfile and package.json specifiers mismatch

    • added tests

    • [update-kit]: fixed issues + updated changelog

    • [update-kit]: postponed + fixed tests

    • [update]: kit + int postponed tests

    • [update]: upped all packages versions. fixed failed tests

    • fixed kit test

    • [update-kit]: updated comment

    • [update-kit]: fixed drop index

    • [fix-kit]: serial introspect

    • [update]: minor int tests updates

    • upped packages versions

    • [fix-kit]: missed from merging

    • added tests

    • [update-orm]: fixed mssql transactions

    • Update effect

    • tests on migrator effect + postponed tests

    • renamed test migration dir

    • update effect migrator test


    Co-authored-by: Sukairo-02 sreka9056@gmail.com
    Co-authored-by: OleksiiKH0240 homenko0240@gmail.com
    Co-authored-by: AndriiSherman andreysherman11@gmail.com

    下载附件