Repository navigation
Prepare release 0.2.0 - #10
Merged
Merged
Conversation
Bump mutaflow, @mutaflow/devtools and @mutaflow/testkit to 0.2.0 and move the devtools and testkit peer dependency to mutaflow ^0.2.0. The changelog gets a 0.2.0 section with an "Upgrading from 0.1" list of breaking changes. examples/published-next-app now uses the 0.2 APIs: a flow contract applied with withFlowContract, actionFailure for expected failures, useFlowForm over Server Component data instead of the client resource store and StoreHydrator. Its lockfile still points at 0.1.1 and is to be refreshed after publishing, as RELEASING.md now says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Prepares the 0.2.0 release. Nothing is published yet: publishing to npm and tagging
v0.2.0happen after merge.mutaflow,@mutaflow/devtoolsand@mutaflow/testkitgo to 0.2.0. The devtools and testkit peer dependency becomesmutaflow ^0.2.0.## 0.2.0, with a summary and an Upgrading from 0.1 list of breaking changes, followed by Added / Fixed / Examples and tooling.examples/published-next-appmoves to the 0.2 APIs. It followsexamples/next-appand keeps its fast / slow / error scenarios:lib/todo-contract.ts;withFlowContract;actionFailure, so the message is shown in production too;useFlowFormover Server Component data replaces the client resource store andStoreHydrator;globalThisbehindunstable_cachewith thetodos.listtag;^0.2.0, and the README is updated.RELEASING.md. It gets a 0.2.0 scope, a step that builds the demo from packed tarballs before publishing, and thev0.2.0tag.Known gap:
examples/published-next-app/package-lock.jsonstill points at 0.1.1. It can only be regenerated once 0.2.0 is on npm, sonpm ciin that example fails until then.RELEASING.mdlists this as an after-publish step. For the same reason, this example is not built in CI yet.Test plan
dist:npm run typecheck,npm test(62 tests) andnode --test(5 tests).npm packof the three packages: everyexportspath exists in the tarballs, includingdist/otelanddist/sentry.published-next-appbuilt from the tarballs:tsc --noEmitandnext buildpass.next start(production build), with no console errors:🤖 Generated with Claude Code