Repository navigation
Prepare release 0.2.1 - #13
Open
javaquasar wants to merge 1 commit into
Open
javaquasar wants to merge 1 commit into
javaquasar wants to merge 1 commit into
Conversation
Release only mutaflow 0.2.1, with Next.js 16 support in mutaflow/next/server. @mutaflow/devtools and @mutaflow/testkit stay at 0.2.0: only their build scripts changed, and their mutaflow ^0.2.0 peer dependency accepts 0.2.1. examples/published-next-app sets outputFileTracingRoot with path.join(import.meta.dirname, ...). new URL(...).pathname gave /C:/... on Windows, which Turbopack in Next.js 16 rejects. 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.1 release. It ships the Next.js 16 fix from #12 to npm: with
mutaflow@0.2.0, passing Next.js 16'srevalidateTagtowithFlowContractis a type error, and every call logs a deprecation warning.mutaflowgoes to 0.2.1, along with the rootpackage.jsonand the lockfile.@mutaflow/devtoolsand@mutaflow/testkitstay at 0.2.0. Since 0.2.0 only their build scripts changed (Build the published example in CI and clean dist before builds #11), and theirmutaflow ^0.2.0peer dependency accepts 0.2.1.mutaflow.CHANGELOG.md:Unreleasedbecomes## 0.2.1.distcleanup and thenpm auditfixes.examples/published-next-app/next.config.mjssetsoutputFileTracingRootwithpath.join(import.meta.dirname, "../.."), asexamples/next-appdoes.new URL("../../", import.meta.url).pathnamegives/C:/...on Windows.next buildfails.The example stays on Next.js 15 and
mutaflow@0.2.0from npm until 0.2.1 is published. Moving it to Next.js 16 is the follow-up.Test plan
npm pack --workspace mutaflow: version 0.2.1, 119 files, no stale files.published-next-appon Next.js 16.5, with the 0.2.1 tarball andupdateTagadded to the action. This is exactly the setup that fails with 0.2.0.tsc --noEmitandnext buildpass.next start: creating a todo works, and the error scenario rolls back and shows the server message.revalidateTagdeprecation warning, and there are no console errors.examples/published-next-appstill builds on Next.js 15 with the newnext.config.mjs.npm run typecheckandnpm testpass (63 tests, plus 5node:testtests).After merge: publish
mutaflow0.2.1, tagv0.2.1, then moveexamples/published-next-appto Next.js 16.🤖 Generated with Claude Code