Pranay Prakash
80ccca023d
fix(ai): recover @workflow/ai onto the 4.x stable line ( #2440 )
...
@workflow/ai was accidentally published to `latest` as 5.0.0, 6.0.0,
and 7.0.0. Root cause: it peer-depends on `workflow`, and changesets'
`onlyUpdatePeerDependentsWhenOutOfRange` defaults to false, so every
`workflow` minor on `stable` force-bumped ai a full major despite no
breaking changes.
- Add `onlyUpdatePeerDependentsWhenOutOfRange: true` so ai only majors
when a new `workflow` version actually leaves its `^4` peer range.
- Reset packages/ai/package.json from 7.0.0 back to 4.1.2; a patch
changeset re-releases it as 4.1.3 on the 4.x line (carries the
inline-sourcemaps packaging change that was trapped in 6.0.0).
Verified via `changeset status`: with pending `workflow` minors,
@workflow/ai now bumps patch, not major.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-15 22:56:52 +00:00
github-actions[bot]
05c7d07e41
[ci] Attribute backport changelog entries to original PR author ( #2091 ) ( #2092 )
...
* [ci] Attribute backport changelog entries to original PR author
`@changesets/changelog-github` resolves a changeset commit to its
associated PR via the GitHub GraphQL `associatedPullRequests` field. For
commits landed on `stable` via our backport workflow, that resolves to
the backport PR authored by `github-actions[bot]` (since the backport
workflow uses `createCommitOnBranch` to produce signed commits), so the
generated changelog ends up with "Thanks @github-actions!" instead of
the original contributor.
This adds a small `.changeset/changelog.mjs` wrapper around
`@changesets/changelog-github` that detects backport PRs by matching the
title (`Backport #N: ...`) or body (`Automated backport of #N to
` + '`stable`' + `...`) produced by `.github/workflows/backport.yml`, resolves the
original PR number, and injects `pr:`/`commit:` directives into the
changeset summary before delegating to the upstream generator. The
result is that the rendered changelog entry attributes the change to the
original PR and author, while the commit link still points at the
backport commit on the release branch.
* Address review feedback
- Use `Bearer` instead of `Token` for the GitHub GraphQL auth header
for consistency with the rest of the repo (Copilot review on PR #2091 ).
- Add a defensive `formatError` helper so `console.warn` in the catch
blocks doesn't itself throw when a non-Error value is thrown (Copilot
review on PR #2091 ).
Signed-off-by: Nathan Rajlich <n@n8.io >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-22 11:04:28 -07:00
github-actions[bot]
39368e96e9
Ignore the "tarballs" app in changesets config ( #2024 ) ( #2025 )
...
No need to version this app, it doesn't get published to npm.
Signed-off-by: Nathan Rajlich <n@n8.io >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-19 14:28:25 -07:00
Peter Wielander
47aa68534f
[docs] Restore minimal Next.js placeholder on stable ( #1786 )
2026-04-16 16:45:24 -07:00
Nathan Rajlich
543216060b
Remove docs app from stable branch, keep docs/content/ for npm releases ( #1771 )
...
The docs Next.js app is deployed only from main. Remove the app code
(components, layouts, configs, styles) from stable to eliminate
cherry-pick conflicts during backports. Keep docs/content/ which
contains the markdown files that are bundled into npm packages via
prepack scripts for AI agent consumption.
2026-04-16 13:13:09 -07:00
Nathan Rajlich
c47caa26f3
Fix web/web-shared version drift by marking them as fixed in changesets ( #1729 )
...
@workflow/web-shared is a devDependency of @workflow/web because it is
bundled into web's build output. This means changesets does not bump
web's version when only web-shared has changes, causing version drift.
Adding both packages to a fixed group ensures they always receive the
same version bump. See https://github.com/changesets/changesets/issues/944
2026-04-14 18:50:35 +00:00
Peter Wielander
d631152a65
Support dual-branch releases (stable + main) ( #1620 )
...
- Add `stable` to release workflow trigger branches
- Make npm dist-tag conditional: `stable` gets `latest`, `main` keeps `beta` (from changeset publish)
- Make GitHub release flags branch-aware: stable = latest + non-prerelease, main = prerelease + not latest
- Change changeset baseBranch to `stable` for this branch
2026-04-06 13:51:53 -07:00
Nathan Rajlich
7e33c62736
Rename 'Workflow Development Kit' / 'DevKit' to 'Workflow SDK' ( #1595 )
...
* Rename 'Workflow Development Kit' / 'DevKit' to 'Workflow SDK' across docs, code, and config
Follow-up to cdf90d5a38 (#1541 )
* Fix missing </h1> closing tag and add article 'the' before 'Workflow SDK' in docs
2026-04-02 19:39:02 +00:00
Peter Wielander
456c1aa455
Add vitest plugin for testing full workflows without setting up a server ( #1237 )
2026-03-05 16:08:48 -08:00
Nathan Rajlich
a733449e48
Fix release PR bad lockfile ( #968 )
2026-02-06 14:08:43 -08:00
Nathan Rajlich
54432085e1
Ignore "swc-playground" app in changesets ( #967 )
2026-02-06 13:51:30 -08:00
Nathan Rajlich
2d4f52b9e0
Ignore all @workflow/example-* apps from changesets publish ( #914 )
2026-02-02 10:23:09 -08:00
Nathan Rajlich
da8df6b26f
Publish "workflow" and "@workflow/core" package versions in sync ( #870 )
2026-01-27 13:19:12 -08:00
Peter Wielander
cbb03bcb08
Direct changeset to write github changelogs ( #558 )
2025-12-05 18:19:10 -08:00
Adrian
1ac5592452
feat: add astro support ( #347 )
2025-12-02 09:11:46 -08:00
Adrian
00066be07b
feat: add express support ( #138 )
...
* refactor: migrate to latest nitro v3
Signed-off-by: Pooya Parsa <pooya@pi0.io >
* update workaround
* fix(nitro): nitro builder using deprecated srcDir
* fix: testing matrix dirs
* fix(hono): externalize nitro workflow output dir
* chore: format
* fix(nitro): externalize .nitro/workflow folder
* docs(hono): update getting started
* update docs and workbench
* improve plugin patch
* docs: preserve code style
* update `getWorkflowDirs`
* test: fix hono dev config
* fix: wrong api file path in hono dev config
* fix(nitro): check all dirs for builder
* chore: add comments
* add express workbench testing app
* docs: add express wip page
* add workflows symlink for express workbench
* add hook and trigger routes for express workbench
* update server entrypoint to use hook and trigger router
* remove h3 and add express types
* docs: add express getting started guide
* test: wire up express workbench
* Update workbench/express/routes/hook.routes.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update workbench/express/routes/trigger.routes.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* build: missing deps in workbench express
* build: remove express as dev dep
* lockfile
* build: remove test command from express workbench
* fix: url query parsing
* chore: add README
* remove app hook and trigger routers
* .
* fix: json body not getting parsed in workbench express
* fix: writing streams in workbench
* fix: wrong stream piping express workbench
* update
* fix: json parsing body workbench express
* update
* fix: add js file extension for relative import on workflow express workbench
* test
* refactor: route naming conventions for nitro
* refactore: convert to catch all api on express
* Update workbench/express/package.json
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* refactor: api file convention
* testing presets
* refactor: use simple `index.ts`
* update
* switch entry format to node
* add generate workflow script to express
* fix: express nitro config
* docs(express): update express getting started
* test: add express
* fix(express): workbench api routes
* fix(express): add workflowsDir to testing matrix
* format
* update gitignore
* fix
* .
* trigger ci
* update workflows dir
* fix: streaming in express
* fix: not json parsing body express
* fix: missing dev test in express
* fix: test matrix for express
* docs(express): update getting started and add rollup dep
* .
* docs: add express card to home page and getting started
* Update docs/content/docs/getting-started/express.mdx
Co-authored-by: Pooya Parsa <pooya@pi0.io >
* docs: fix express
* remove h1 on express
---------
Signed-off-by: Pooya Parsa <pooya@pi0.io >
Co-authored-by: Pooya Parsa <pooya@pi0.io >
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-11-19 17:12:53 -08:00
Adrian
05714f7924
feat: add sveltekit support ( #131 )
...
* add workbench sveltekit
* add sveltekit package
* fix: use js for generated server routes in svelte
* add test routes for sveltekit workbench
* updates from debugging
* feat: add sveltekit build target
* update user sign up workflow workbench sveltekit
* fix: base builder missing GET route handler for sveltekit
* feat: add vercel builder and check for vercel env
* refactor: workflowPlugin for sveltekit
* ci: add tests to workbench sveltekit
* fix: no start command and vercel builder outputs
* fix: base builder conditions
* .
* add auto adapter sveltekit
* fix: disable checking origin for cross site ci stuff
* allow all trusted origins in svelte config
* fix: add catch for error thrown when waiting for ops
* fix: sveltekit workbench adapter
* test
* test
* refactor: move vercel builder on config resolved
* update package json
* add demo workflow trigger
* test letting sveltekit handle route generation
* fix: exclude git ignore for local builder outputs
* update config
* add debug logs
* update debug
* update turbo.json
* fix env check
* another output
* use top-level await
* ensure vercel functions are patched
* change hook
* update
* fix spread
* debug
* update
* chore: remove vercel builder
* chore: update comments in sveltekit workflow package
* chore: remove console comment
* refactor: workflow svelte plugin
* refactor: simplify local builder config
* chore: remove unused deps
* chore: add comment for workbench svelte app
* chore: add sveltekit export to workflow
* export sveltekit from workflow
* lockfile
* chore: remove unused deps svelte workbench
* update styling
* add sveltekit getting started docs
* update sveltekit docs getting started
* changeset
* Apply suggestion from @vercel[bot]
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* use proper env var
* Update packages/sveltekit/src/index.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update docs/content/docs/getting-started/sveltekit.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Document CSRF protection bypass in SvelteKit workbench config (#157 )
* Initial plan
* docs: add CSRF security warning to svelte.config.js
Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com >
* refactor: deduplicate SvelteKit request conversion logic (#156 )
* Initial plan
* refactor: extract duplicated SvelteKit request conversion to helper
Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: adriandlam <93681064+adriandlam@users.noreply.github.com >
* docs: fix getting staretd sveltekit missing folder
* chore: cleanup sveltekit builder after rebase
* lockfile
* fix: sveltekit building logic in base builder
* refactor: move sveltekit builder logic to its own package
* fix: console log base builder
* changeset
* test
* feat: create hmr plugin
* fix: add initial build on load
* fix: check all files for workflows and steps
* add comments for plugin todo
* remove catching error
* fix: missing context for nodejs envs causing waitUntil to fail
* fix: setting global request conext in vercel environments
---------
Co-authored-by: JJ Kasper <jj@jjsweb.site >
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-03 21:15:33 -08:00
Pooya Parsa
e814dba6f2
feat: workflow/vite plugin ( #172 )
...
* feat: nitro+vite support and workbench
* update package.json files
* test: add local-build test for vite
* update to vite plugin
* fix imports
* dedup nitro
* update
* update nitro
* allow passing options via plugin
* Update packages/nitro/src/vite.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* test: add vite tests
* trigger ci
* fix: missing js extension from builder and rollup
* refactor: move debug => unenv under vite plugin
* alternative workaround
* Update packages/nitro/src/vite.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* rename plugin
* Update packages/cli/package.json
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* lockfile
---------
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Adrian Lam <me@adriandlam.com >
2025-11-03 13:24:03 -08:00
Gal Schlezinger
4ca9a3edbd
Introducing Workflow DevKit
...
build durable, resilient, and observable workflows.
Co-authored-by: Nathan Rajlich <n@n8.io >
Co-authored-by: Pranay Prakash <pranay.gp@gmail.com >
Co-authored-by: Adrian <me@adriandlam.com >
Co-authored-by: JJ Kasper <jj@jjsweb.site >
Co-authored-by: Vercel Release Bot <88769842+vercel-release-bot@users.noreply.github.com >
Co-authored-by: Peter Wielander <mittgfu@gmail.com >
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com >
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il >
Co-authored-by: Manuel Muñoz Solera <mamuso@mamuso.net >
Co-authored-by: Garrett <garrett.tolbert@vercel.com >
Co-authored-by: Lars Grammel <lars.grammel@gmail.com >
Co-authored-by: Pooya Parsa <pyapar@gmail.com >
Co-authored-by: Tom Dale <tom@tomdale.net >
Co-authored-by: Vishal Yathish <135551666+visyat@users.noreply.github.com >
Co-authored-by: josh <144584931+dancer@users.noreply.github.com >
2025-10-23 12:07:52 +03:00