chore: Update version for release (#1269)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-09-16 15:37:20 +01:00
committed by GitHub
parent cf13fbdf32
commit 45287cd655
189 changed files with 965 additions and 1335 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fixes an issue with scoped packages in additionalPackages option
-9
View File
@@ -1,9 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
- Fix additionalFiles that aren't decendants
- Stop swallowing uncaught exceptions in prod
- Improve warnings and errors, fail early on critical warnings
- New arg to --save-logs even for successful builds
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Increase span attribute value length limit to 2048
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Add an e2e suite to test compiling with v3 CLI.
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
v3 CLI update command and package manager detection fix
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Hoist uncaughtException handler to the top of workers to better report error messages
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
better handle task metadata parse errors, and display nicely formatted errors
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Pre-pull deployment images for faster startups
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
cli v3: increase otel force flush timeout to 30s from 500ms
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Vastly improved dev command output
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
add machine config and secure zod connection
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Fix error stack traces
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
Implement task.onSuccess/onFailure and config.onSuccess/onFailure
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Remove "log" Log Level, unify log and info messages under the "info" log level
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fixing missing logs when importing client @opentelemetry/api
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
Configurable log levels in the config file and via env var
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Dont swallow some error messages when deploying
-8
View File
@@ -1,8 +0,0 @@
---
"@trigger.dev/sdk": major
"trigger.dev": major
"@trigger.dev/build": major
"@trigger.dev/core": major
---
Release 3.0.0
-7
View File
@@ -1,7 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
- Prevent uncaught exceptions when handling WebSocket messages
- Improve CLI dev command WebSocket debug and error logging
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fixed empty env vars overriding in dev runs
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Add option to print console logs in the dev CLI locally (issue #1014)
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Strip out server-only package from worker builds
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Fixes for continuing after waits
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Fixed batch otel flushing
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Remove the env var check during deploy (too many false negatives)
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
New Build System
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Better handle issues with resolving dependency versions during deploy
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Increase dev worker timeout
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Removed the folder/filepath from Attempt spans
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Added version to ctx.run
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Fix trigger functions for custom queues
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fix permissions inside node_modules
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Improve prisma errors for missing postinstall
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
v3: Environment variable management API and SDK, along with resolveEnvVars CLI hook
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Fix return type of runs.retrieve, and allow passing the type of the task to runs.retrieve
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Add sox and audiowaveform binaries to worker images
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/build": patch
---
Make sure BuildManifest is exported from @trigger.dev/build
-9
View File
@@ -1,9 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Make msw a normal dependency (for now) to fix Module Not Found error in Next.js.
It turns out that webpack will "hoist" dynamically imported modules and attempt to resolve them at build time, even though it's an optional peer dep:
https://x.com/maverickdotdev/status/1782465214308319404
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/build": patch
---
Fix issue with emitDecoratorMetadata and tsconfigs with extends
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
try/catch opening the login URL
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
Add runs.retrieve management API method to get info about a run by run ID
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fix automatic opening of login URL on linux-server systems with missing xdg-open
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Support triggering tasks with non-URL friendly characters in the ID
-5
View File
@@ -1,5 +0,0 @@
---
trigger.dev: patch
---
Fix TypeScript inclusion in tsconfig.json for `cli-v3 init`
-7
View File
@@ -1,7 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
"@trigger.dev/sdk": patch
---
v3: Usage tracking
-11
View File
@@ -1,11 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Fix issues that could result in unreezable state run crashes. Details:
- Never checkpoint between attempts
- Some messages and socket data now include attempt numbers
- Remove attempt completion replays
- Additional prod entry point logging
- Fail runs that receive deprecated (pre-lazy attempt) execute messages
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Fix for calling trigger and passing a custom queue
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/build": patch
---
Add ffmpeg build extension
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Retry 429, 500, and connection error API requests to the trigger.dev server
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Export queue from the SDK
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Extract common trigger code into internal functions and add a tasks.batchTriggerAndWait function
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Display errors for runs and deployments
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
v3: fix digest extraction
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Increased the timeout when canceling a checkpoint to 31s (to match the timeout on the server)
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
v3: recover from server rate limiting errors in a more reliable way
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Changed "Worker" to "Version" in the dev command key
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Correctly handle self-hosted deploy command errors
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Fix issues with consecutive waits
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Rollback to try and fix some dependent attempt issues
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Adding some additional telemetry during deploy to help debug issues
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
v3: update @depot/cli to latest 0.0.1-cli.2.71.0
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Default to retrying enabled in dev when running init
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Add the "log" level back in as an alias to "info"
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Automatically bundle internal packages that use file, link or workspace protocl
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Handle string and non-stringifiable outputs like functions
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fix entry point paths on windows
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Improve error messages during dev/deploy and handle deploy image build issues
-29
View File
@@ -1,29 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Tasks should now be much more robust and resilient to reconnects during crucial operations and other failure scenarios.
Task runs now have to signal checkpointable state prior to ALL checkpoints. This ensures flushing always happens.
All important socket.io RPCs will now be retried with backoff. Actions relying on checkpoints will be replayed if we haven't been checkpointed and restored as expected, e.g. after reconnect.
Other changes:
- Fix retry check in shared queue
- Fix env var sync spinner
- Heartbeat between retries
- Fix retry prep
- Fix prod worker no tasks detection
- Fail runs above `MAX_TASK_RUN_ATTEMPTS`
- Additional debug logs in all places
- Prevent crashes due to failed socket schema parsing
- Remove core-apps barrel
- Upgrade socket.io-client to fix an ACK memleak
- Additional index failure logs
- Prevent message loss during reconnect
- Prevent burst of heartbeats on reconnect
- Prevent crash on failed cleanup
- Handle at-least-once lazy execute message delivery
- Handle uncaught entry point exceptions
-83
View File
@@ -1,83 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Adds support for `emitDecoratorMetadata: true` and `experimentalDecorators: true` in your tsconfig using the [`@anatine/esbuild-decorators`](https://github.com/anatine/esbuildnx/tree/main/packages/esbuild-decorators) package. This allows you to use libraries like TypeORM:
```ts orm/index.ts
import "reflect-metadata";
import { DataSource } from "typeorm";
import { Entity, Column, PrimaryColumn } from "typeorm";
@Entity()
export class Photo {
@PrimaryColumn()
id!: number;
@Column()
name!: string;
@Column()
description!: string;
@Column()
filename!: string;
@Column()
views!: number;
@Column()
isPublished!: boolean;
}
export const AppDataSource = new DataSource({
type: "postgres",
host: "localhost",
port: 5432,
username: "postgres",
password: "postgres",
database: "v3-catalog",
entities: [Photo],
synchronize: true,
logging: false,
});
```
And then in your trigger.config.ts file you can initialize the datasource using the new `init` option:
```ts trigger.config.ts
import type { TriggerConfig } from "@trigger.dev/sdk/v3";
import { AppDataSource } from "@/trigger/orm";
export const config: TriggerConfig = {
// ... other options here
init: async (payload, { ctx }) => {
await AppDataSource.initialize();
},
};
```
Now you are ready to use this in your tasks:
```ts
import { task } from "@trigger.dev/sdk/v3";
import { AppDataSource, Photo } from "./orm";
export const taskThatUsesDecorators = task({
id: "taskThatUsesDecorators",
run: async (payload: { message: string }) => {
console.log("Creating a photo...");
const photo = new Photo();
photo.id = 2;
photo.name = "Me and Bears";
photo.description = "I am near polar bears";
photo.filename = "photo-with-bears.jpg";
photo.views = 1;
photo.isPublished = true;
await AppDataSource.manager.save(photo);
},
});
```
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
v3: Remove aggressive otel flush timeouts in dev/prod
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
Support self-hosters pushing to a custom registry when running deploy
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
v3: Trigger delayed runs and reschedule them
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fixes an issue that was treating v2 trigger directories as v3
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Added config option extraCACerts to ProjectConfig type. This copies the ca file along with additionalFiles and sets NODE_EXTRA_CA_CERTS environment variable in built image as well as running the task.
-9
View File
@@ -1,9 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
- Improve non-zero exit code error messages
- Detect OOM conditions within worker child processes
- Internal errors can have optional stack traces
- Docker provider can be set to enforce machine presets
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
v3: Export AbortTaskRunError from @trigger.dev/sdk/v3
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
OTEL attributes can include Dates that will be formatted as ISO strings
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/core": patch
---
Fix issue when using SDK in non-node environments by scoping the stream import with node:
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
Added replayRun function to the SDK
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Better handle uncaught exceptions
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Add --runtime option to the init CLI command
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
Improve the SDK function types and expose a new APIError instead of the APIResult type
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
You can now add tags to runs and list runs using them
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Added a Node.js runtime check for the CLI
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
trigger.dev init now adds @trigger.dev/build to devDependencies
-6
View File
@@ -1,6 +0,0 @@
---
"@trigger.dev/sdk": patch
"@trigger.dev/core": patch
---
Add configure function to be able to configure the SDK manually
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Output stderr logs on dev worker failure
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fix post start hooks
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/sdk": patch
---
Use global setTimeout to ensure cross-runtime support
-7
View File
@@ -1,7 +0,0 @@
---
"trigger.dev": patch
---
Add e2e fixtures corresponding to past issues
Implement e2e suite parallelism
Enhance log level for specific e2e suite messages
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fix dev CLI output when not printing update messages
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Use the dashboard url instead of the API url for the View logs link
-169
View File
@@ -1,169 +0,0 @@
{
"mode": "exit",
"tag": "beta",
"initialVersions": {
"coordinator": "0.0.1",
"docker-provider": "0.0.1",
"kubernetes-provider": "0.0.1",
"proxy": "0.0.11",
"webapp": "1.0.0",
"yalt": "0.0.1",
"trigger.dev": "2.3.18",
"@trigger.dev/core": "2.3.18",
"@trigger.dev/database": "0.0.1",
"emails": "1.0.0",
"@trigger.dev/otlp-importer": "2.3.11",
"@trigger.dev/sdk": "2.3.18"
},
"changesets": [
"afraid-sheep-joke",
"angry-eagles-trade",
"angry-trees-drop",
"beige-pears-explode",
"beige-pens-dance",
"big-tomatoes-deliver",
"breezy-gorillas-mate",
"brown-boats-bathe",
"brown-spies-burn",
"chilled-hornets-move",
"clean-pianos-listen",
"clever-apes-collect",
"clever-carrots-travel",
"clever-donkeys-hunt",
"cool-comics-burn",
"cool-glasses-bake",
"cuddly-feet-approve",
"curly-monkeys-tell",
"dry-walls-check",
"dull-mangos-press",
"early-impalas-itch",
"eight-pumas-float",
"eleven-paws-join",
"famous-boats-tease",
"fast-colts-relax",
"fast-melons-listen",
"few-poems-vanish",
"few-students-share",
"fifty-lions-think",
"five-toes-destroy",
"flat-onions-punch",
"friendly-walls-repair",
"funny-swans-destroy",
"gorgeous-cycles-guess",
"gorgeous-gorillas-compete",
"green-pens-battle",
"hot-buckets-behave",
"hot-fishes-retire",
"hot-wasps-sin",
"hungry-sloths-promise",
"itchy-chairs-itch",
"khaki-apricots-design",
"khaki-poems-lay",
"large-seahorses-cheat",
"late-icons-lie",
"late-steaks-behave",
"lazy-files-lay",
"lemon-sloths-hide",
"light-bulldogs-press",
"light-dragons-complain",
"little-crabs-cross",
"long-feet-invent",
"long-fireants-search",
"long-hounds-wave",
"loud-actors-remember",
"lovely-drinks-flash",
"lucky-items-film",
"many-ligers-pump",
"mighty-camels-joke",
"mighty-eggs-grab",
"mighty-flowers-train",
"mighty-parrots-sin",
"modern-stingrays-end",
"nasty-jars-pump",
"nervous-baboons-sin",
"nervous-planets-sparkle",
"nervous-seas-shave",
"new-pants-beg",
"new-rivers-tell",
"nice-bulldogs-turn",
"ninety-pets-travel",
"odd-beds-wonder",
"odd-poets-own",
"pink-pumas-rhyme",
"plenty-ducks-beam",
"polite-ducks-switch",
"polite-pears-grow",
"polite-pots-walk",
"polite-rockets-matter",
"poor-flowers-cross",
"purple-garlics-shop",
"purple-spiders-care",
"rare-lamps-promise",
"rare-roses-float",
"real-planets-stare",
"rich-kangaroos-unite",
"rotten-beers-refuse",
"rotten-dryers-exercise",
"rude-toys-compare",
"selfish-ducks-sort",
"serious-hats-rest",
"shaggy-spoons-taste",
"shaggy-weeks-live",
"sharp-emus-compare",
"sharp-zebras-serve",
"shiny-coats-cry",
"silly-buses-obey",
"silly-forks-kiss",
"silly-suits-switch",
"silver-doors-juggle",
"six-ligers-exist",
"six-rats-hunt",
"sixty-insects-watch",
"slow-buses-own",
"slow-kiwis-hide",
"slow-sloths-retire",
"smart-needles-move",
"smart-olives-eat",
"sour-pugs-teach",
"spicy-frogs-remain",
"spicy-lamps-smoke",
"spicy-terms-bow",
"strange-ghosts-matter",
"strange-sheep-pull",
"strong-lemons-add",
"strong-owls-know",
"strong-phones-smoke",
"stupid-adults-sniff",
"stupid-bulldogs-applaud",
"sweet-ducks-remember",
"sweet-lizards-press",
"swift-dragons-peel",
"tall-bees-wave",
"tall-masks-repeat",
"tame-apricots-clap",
"tame-guests-know",
"tender-moose-tell",
"tender-oranges-rhyme",
"tender-turkeys-compete",
"thick-carrots-sneeze",
"thin-parents-heal",
"thirty-hotels-raise",
"thirty-islands-kiss",
"tidy-balloons-suffer",
"tidy-dryers-sleep",
"tidy-tomatoes-explain",
"tiny-doors-type",
"tiny-elephants-scream",
"tricky-bulldogs-heal",
"tricky-keys-attack",
"tricky-ladybugs-unite",
"twelve-knives-notice",
"two-pumas-wait",
"violet-clocks-notice",
"warm-olives-provide",
"warm-planes-taste",
"yellow-roses-arrive",
"young-jars-wait",
"young-snails-sell"
]
}
-5
View File
@@ -1,5 +0,0 @@
---
"@trigger.dev/build": patch
---
Add support for prisma typed sql
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Add typescript as a dependency so the esbuild-decorator will work even when running in npx
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Await file watcher cleanup in dev
-6
View File
@@ -1,6 +0,0 @@
---
"trigger.dev": patch
"@trigger.dev/core": patch
---
Add a postInstall option to allow running scripts after dependencies have been installed in deployed images
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Add openssl to prod worker image and allow passing auth token via env var for deploy
-7
View File
@@ -1,7 +0,0 @@
---
"@trigger.dev/sdk": patch
"trigger.dev": patch
"@trigger.dev/core": patch
---
Fixed incorrect span timings around checkpoints by implementing a precise wall clock that resets after restores
-5
View File
@@ -1,5 +0,0 @@
---
"trigger.dev": patch
---
Fix a bug where revoking the CLI token would prevent you from ever logging in again with the CLI.

Some files were not shown because too many files have changed in this diff Show More