chore: Update version for release #2693
Merged
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@trigger.dev/build@4.1.1
Patch Changes
The
prismaExtensionhas been completely redesigned to support multiple Prisma versions and deployment strategies. This update introduces three distinct modes to handle the evolving Prisma ecosystem, from legacy setups to the upcoming Prisma 7. (#2689)Highlights:
prisma.config.tsfiles (Legacy Mode)Breaking Changes
prismaExtensionnow requires an explicitmodeparameter. Existing configurations without amodewill need to be updated.Note: All other existing options remain backward compatible. The new
configFileoption is optional and doesn't affect existing setups using theschemaoption.Before (Old API)
After (New API)
New Features
1. Legacy Mode
Use when: You're using Prisma 6.x or earlier with the
prisma-client-jsprovider.Features:
prisma generateduring deploymentprisma/schema.prisma)prisma.config.ts) via@prisma/configpackagemigrate: truetypedSql: trueSchema Configuration:
Extension Configuration:
Tested Versions:
2. Engine-Only Mode
Use when: You have a custom Prisma client output path and want to manage
prisma generateyourself.Features:
@prisma/clientprisma generaterunsSchema Configuration:
Extension Configuration:
Important Notes:
prisma generateyourself (typically in a prebuild script)binaryTargetsfor deployment to the trigger.dev cloud. The binary target isdebian-openssl-3.0.x.PRISMA_QUERY_ENGINE_LIBRARYandPRISMA_QUERY_ENGINE_SCHEMA_ENGINEenvironment variables to the correct paths for the binary targets.package.json Example:
{ "scripts": { "prebuild": "prisma generate", "dev": "trigger dev", "deploy": "trigger deploy" } }Tested Versions:
3. Modern Mode
Use when: You're using Prisma 6.16+ with the new
prisma-clientprovider (withengineType = "client") or preparing for Prisma 7.Features:
@prisma/clientas externalSchema Configuration (Prisma 6.16+ with engineType):
Schema Configuration (Prisma 7):
Extension Configuration:
Prisma Config (Prisma 7):
Important Notes:
prisma generateyourselfprisma-clientprovider generates plain TypeScript (no Rust binaries)@prisma/adapter-pgfor PostgreSQL)Tested Versions:
engineType = "client"✅Migration Guide
From Old prismaExtension to Legacy Mode
If you were using the previous
prismaExtension, migrate to Legacy Mode:From Managing Your Own Prisma Setup
If you previously handled Prisma generation yourself and just needed engine binaries, use Engine-Only Mode:
Preparing for Prisma 7
If you want to adopt the new Prisma architecture, use Modern Mode:
prisma-clientproviderVersion Compatibility Matrix
engineType = "client"Prisma Config File Support (Prisma 6+)
NEW: Legacy Mode now supports loading configuration from a
prisma.config.tsfile using the official@prisma/configpackage.Use when: You want to use Prisma's new config file format (Prisma 6+) to centralize your Prisma configuration.
Benefits:
prisma.config.ts:
trigger.config.ts:
What gets extracted:
schema- The schema file or directory pathmigrations.path- The migrations directory path (if specified)Note: Either
schemaorconfigFilemust be specified, but not both.When to use which:
schemaoptionconfigFileoptionprisma.config.tsfileUpdated dependencies:
@trigger.dev/core@4.1.1trigger.dev@4.1.1
Patch Changes
@trigger.dev/build@4.1.1@trigger.dev/core@4.1.1@trigger.dev/schema-to-json@4.1.1@trigger.dev/python@4.1.1
Patch Changes
@trigger.dev/build@4.1.1@trigger.dev/core@4.1.1@trigger.dev/sdk@4.1.1@trigger.dev/react-hooks@4.1.1
Patch Changes
@trigger.dev/core@4.1.1@trigger.dev/redis-worker@4.1.1
Patch Changes
@trigger.dev/core@4.1.1@trigger.dev/rsc@4.1.1
Patch Changes
@trigger.dev/core@4.1.1@trigger.dev/schema-to-json@4.1.1
Patch Changes
@trigger.dev/core@4.1.1@trigger.dev/sdk@4.1.1
Patch Changes
@trigger.dev/core@4.1.1@trigger.dev/core@4.1.1