Skip to content

build(deps): bump typeorm-extension from 3.9.0 to 4.0.0 - #102

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/typeorm-extension-4.0.0
Open

build(deps): bump typeorm-extension from 3.9.0 to 4.0.0#102
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/typeorm-extension-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown

Bumps typeorm-extension from 3.9.0 to 4.0.0.

Release notes

Sourced from typeorm-extension's releases.

v4.0.0

4.0.0 is the first stable release of the v4 line. It contains everything from the four 4.0.0-beta.* tags, so this note covers the whole cycle since v3.

📣 Some News

What v4 is about

Two things at once. The first is a platform reset: ESM-only output, Node >= 22, TypeORM 1.x, and a CLI rebuilt on citty. The second is a smaller, sharper package. Two runtime dependencies are gone (rapiq and, for consumers, @faker-js/faker), the database layer was rebuilt around pure dialects with pluggable connections, and two new capabilities landed: a schema drift assertion and a set of guarded helpers for repair migrations.

The full upgrade path lives in the v4 migration guide. Everything below is grouped by what it means for your project.

TypeORM 1.0 is the new baseline

typeorm-extension v4 requires typeorm ^1.1.0. TypeORM 0.3.x is no longer supported, so if the rest of your app is still on it, stay on typeorm-extension v3 until you can move. The upstream changes you feel through this package: the legacy sqlite driver is gone (only better-sqlite3 remains), MySQL runs on mysql2 only, and MongoDB needs mongodb ^7.

The query submodule moved out

applyQuery and its helpers were removed in favour of rapiq v2, which is now a monorepo of focused packages rather than a single library. Details in the highlights below.

👀 Highlights

📦 ESM-only, Node >= 22, one CLI binary

The package no longer publishes a CommonJS build. CJS consumers on Node 22+ can still require('typeorm-extension') thanks to Node's require(esm) support, so in practice this is a Node version bump for most projects.

The dual binary scheme is gone with it. typeorm-extension-esm is removed and typeorm-extension now points at bin/cli.mjs:

- "db:create": "ts-node ./node_modules/typeorm-extension/bin/cli.cjs db:create"
+ "db:create": "tsx ./node_modules/typeorm-extension/bin/cli.mjs db create"

Any TypeScript-aware loader works (tsx, Node's --experimental-strip-types, bun). ts-node and tsx are detected automatically, so file paths are kept as they are instead of being rewritten from src to dist. For other loaders, pass --preserveFilePaths.

📖 Installation

🧭 The CLI runs on citty

Commands are nested now, which is the citty idiom and reads better in npm scripts:

typeorm-extension db create
typeorm-extension db drift
typeorm-extension db drop
typeorm-extension seed run
typeorm-extension seed create -n my-seeder

Every command also gained a --log-level silent|info|debug flag and deterministic exit codes (0 success, 1 user error, 2 unexpected error), which makes them usable in a CI pipeline without parsing output.

... (truncated)

Changelog

Sourced from typeorm-extension's changelog.

4.0.0 (2026-08-11)

⚠ BREAKING CHANGES

  • seeder: the factory callback receives the setMeta() payload as its first argument instead of a Faker instance, and SeederFactory.setLocale() is removed. Import a generator in the factory file and select the locale through its own API, for example "import { fakerDE as faker } from '@​faker-js/faker'".
  • The query submodule (applyQuery, applyQueryFields, applyQueryFilters, applyQueryRelations, applyQueryPagination, applyQuerySort and their option/output types) is no longer exported. Use @​rapiq/typeorm instead.

Features

  • remove query submodule in favor of @​rapiq/adapter-typeorm (#1413) (bd364fa)

Bug Fixes

  • correct and consolidate the entity helpers (#1430) (b7ebcc9)

Miscellaneous Chores

  • graduate the release line to stable 4.0.0 (3e8deb2)

Code Refactoring

  • seeder: decouple the factory callback from faker (#1431) (94dd012)

4.0.0-beta.3 (2026-07-29)

Bug Fixes

  • alter the column in place in changeColumnType (#1425) (108f360)

4.0.0-beta.2 (2026-07-29)

Features

  • schema drift assertion + guarded repair migration helpers (#1422) (ed938e1)

Bug Fixes

  • deps: bump the minorandpatch group across 1 directory with 6 updates (#1419) (85325c5)

4.0.0-beta.1 (2026-07-21)

⚠ BREAKING CHANGES

... (truncated)

Commits
  • 8a755d3 chore(master): release 4.0.0 (#1429)
  • 3e8deb2 chore: graduate the release line to stable 4.0.0
  • 94dd012 refactor(seeder)!: decouple the factory callback from faker (#1431)
  • b7ebcc9 fix: correct and consolidate the entity helpers (#1430)
  • f26d521 docs: add logo to documentation site
  • 0456353 docs: add logo to readme header
  • bd364fa feat!: remove query submodule in favor of @​rapiq/adapter-typeorm (#1413)
  • 4750e21 chore(master): release 4.0.0-beta.3 (#1426)
  • 108f360 fix: alter the column in place in changeColumnType (#1425)
  • ba9a5c7 chore(master): release 4.0.0-beta.2 (#1421)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for typeorm-extension since your current version.

Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typeorm-extension](https://github.com/tada5hi/typeorm-extension) from 3.9.0 to 4.0.0.
- [Release notes](https://github.com/tada5hi/typeorm-extension/releases)
- [Changelog](https://github.com/tada5hi/typeorm-extension/blob/master/CHANGELOG.md)
- [Commits](tada5hi/typeorm-extension@v3.9.0...v4.0.0)

---
updated-dependencies:
- dependency-name: typeorm-extension
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants