mirror of
https://github.com/run-llama/workflows-ts.git
synced 2026-07-20 21:59:32 -04:00
[PR #96] [MERGED] Version Packages #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/workflows-ts/pull/96
Author: @github-actions[bot]
Created: 4/30/2025
Status: ✅ Merged
Merged: 4/30/2025
Merged by: @himself65
Base:
main← Head:changeset-release/main📝 Commits (2)
267aa68Version Packages195332echore: update jsr.json📊 Changes
7 files changed (+135 additions, -69 deletions)
View changed files
➖
.changeset/hip-bags-walk.md(+0 -65)📝
docs/package.json(+1 -1)📝
packages/core/CHANGELOG.md(+64 -0)📝
packages/core/jsr.json(+1 -1)📝
packages/core/package.json(+1 -1)📝
packages/llamaindex/CHANGELOG.md(+67 -0)📝
packages/llamaindex/package.json(+1 -1)📄 Description
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
@llama-flow/core@0.4.0
Minor Changes
1fb2d98: feat: addcreateStatefulMiddlewareAPIRemove
withStateAPI, because its createContext API type is confusing people,causing people cannot figure out what does state belong to (whether context or workflow instance)
Breaking Changes
State Middleware API Changes (formerly Store Middleware)
The state middleware has been significantly improved with a new API and renamed from "store" to "state". Here are the key changes:
Before
After
Migration Guide
To migrate existing code:
withStateimport withcreateStatefulMiddlewareworkflow.getState()calls withgetContext().statestatetostatein your codeThe new API provides better type safety, more flexibility with input parameters, and a more consistent way to access the state through the workflow context.
@llama-flow/docs@0.0.7
Patch Changes
1fb2d98: feat: addcreateStatefulMiddlewareAPIRemove
withStateAPI, because its createContext API type is confusing people,causing people cannot figure out what does state belong to (whether context or workflow instance)
Breaking Changes
State Middleware API Changes (formerly Store Middleware)
The state middleware has been significantly improved with a new API and renamed from "store" to "state". Here are the key changes:
Before
After
Migration Guide
To migrate existing code:
withStateimport withcreateStatefulMiddlewareworkflow.getState()calls withgetContext().statestatetostatein your codeThe new API provides better type safety, more flexibility with input parameters, and a more consistent way to access the state through the workflow context.
@llama-flow/llamaindex@0.0.14
Patch Changes
1fb2d98: feat: addcreateStatefulMiddlewareAPIRemove
withStateAPI, because its createContext API type is confusing people,causing people cannot figure out what does state belong to (whether context or workflow instance)
Breaking Changes
State Middleware API Changes (formerly Store Middleware)
The state middleware has been significantly improved with a new API and renamed from "store" to "state". Here are the key changes:
Before
After
Migration Guide
To migrate existing code:
withStateimport withcreateStatefulMiddlewareworkflow.getState()calls withgetContext().statestatetostatein your codeThe new API provides better type safety, more flexibility with input parameters, and a more consistent way to access the state through the workflow context.
Updated dependencies [
1fb2d98]🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.