You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will also need to update your usage of the `trigger.dev` CLI to use the preview release. If you run the CLI via `npx` you can update to the preview release like so:
@@ -28,13 +28,13 @@ You will also need to update your usage of the `trigger.dev` CLI to use the prev
Now you can import the `syncEnvVars` build extension and use it in your `trigger.config.ts` file:
@@ -183,7 +183,7 @@ export default defineConfig({
183
183
We've created a build extension to support using Prisma in your Trigger.dev tasks. To use this extension, you'll need to add the `@trigger.dev/build` package to your `devDependencies`:
Then you can import the `prismaExtension` build extension and use it in your `trigger.config.ts` file, passing in the path to your Prisma schema file:
@@ -324,7 +324,7 @@ export default defineConfig({
324
324
We no longer run typechecking during the deploy command. This was causing issues with some projects, and we found that it wasn't necessary to run typechecking during the deploy command. If you want to run typechecking before deploying to Trigger.dev, you can run the `tsc` command before running the `deploy` command.
This will save the build output and print the path to the build output directory. If you face any issues with deploying, please include the build output in your issue report.
@@ -358,8 +358,8 @@ This will save the build output and print the path to the build output directory
358
358
You can now pass the path to your local `.env` file using the `--env-file` flag during `dev` and `deploy` commands:
@@ -396,15 +396,15 @@ Then you can start debugging your tasks code by selecting the `Trigger.dev: Dev`
396
396
You can now authenticate the `dev` command using the `TRIGGER_ACCESS_TOKEN` environment variable. Previously this was only supported in the `deploy` command.
397
397
398
398
```sh
399
-
TRIGGER_ACCESS_TOKEN=<your access token> npx [email protected]20240905123715 dev
399
+
TRIGGER_ACCESS_TOKEN=<your access token> npx [email protected]20240911144933 dev
400
400
```
401
401
402
402
### Better deploy support for self-hosters
403
403
404
404
You can now specify a custom registry and namespace when deploying via a self-hosted instance of Trigger.dev:
All you have to do is create a repository in dockerhub that matches the project ref of your Trigger.dev project (e.g. `proj_rrkpdguyagvsoktglnod`)
@@ -418,5 +418,21 @@ All you have to do is create a repository in dockerhub that matches the project
418
418
## Known issues
419
419
420
420
- Path aliases are not yet support in your `trigger.config.ts` file. To workaround this issue you'll need to rewrite path aliases to their relative paths. (See [this](https://github.com/unjs/jiti/issues/166) and [this](https://knip.dev/reference/known-issues#path-aliases-in-config-files)) for more info.
421
-
- Some events in the run trace view may get permanently stuck in a loading state. This is a known issue and we're working on a fix.
422
421
- `*.test.ts`and `.spec.ts` files inside the trigger dirs will be bundled and could cause issues. You'll need to move these files outside of the trigger dirs to avoid this issue.
422
+
423
+
## Changelog
424
+
425
+
### Changes and fixes in `0.0.0-prerelease-20240911144933`
426
+
427
+
- Fixed an issue where empty env vars in dev runs were overriding local `.env` file values.
428
+
- Fixed an issue when importing v2 `@trigger.dev/sdk` would throw an error because of a missing package.json
429
+
- Fixed node10 moduleResolution with some types
430
+
- Added the ability to push to a custom registry when deploying to a self-hosted instance of Trigger.dev
431
+
- Fix stuck dev runs when a child run fails with a process.exit
432
+
- No longer ignoring `--project-ref` in the `deploy` command
433
+
- No longer ignoring the `--config` option in the `deploy` command
434
+
- Fixed the flushing of logs to the server when deployed.
435
+
- `emitDecoratorMetadata`build extension now works when tsconfig.json file extends another tsconfig.json file
436
+
- We now have the ability to force certain packages to be external (i.e. not be bundled), starting with `headers-generator`
437
+
- You can now call `init` with the `--javascript` flag to initialize a project with JavaScript instead of TypeScript
438
+
- Add support for Prisma TypedSQL in the prisma extension
0 commit comments