Repository navigation
Changed
-
The Vue stub moves to
@vueuse/core15,^12.8.2→^15.1.0(#69). This is one of the two majors.github/dependabot.ymlkeeps out of automated pull requests, so it is the install-and-build pass that comment asks for.Nothing in the stub had to change. The two helpers it uses came through three majors intact.
UseVModelOptionsis declared exactly as 12.8.2 declared it,useVModelkeeps both of its overloads and carries no deprecation marker, and the implementation still branches onpassivethe same way — soComponents/ui/input/Input.vueandComponents/ui/sidebar/SidebarProvider.vuekeep it rather than moving to Vue's owndefineModel.reactiveOmitis the one that was rewritten. The 18 reka-ui wrappers underComponents/ui/use it to forward props minusclass, and 15 serves it from a proxy view over the source object rather than thereactiveComputedsnapshot 12.8.2 built. The two forms those components rely on,v-bind="delegatedProps"andv-bind="{ ...delegatedProps, ...$attrs }", produce identical results on both versions — checked across key enumeration, object spread,in, a JSON round trip, multi-key and array-form omission, the predicate overload, and reactive propagation from the source.reka-uicarries a@vueuse/core^14.1.0dependency of its own, so a scaffolded application installs two copies: 15.1.0 at the top level and 14.4.0 nested underreka-ui. It installed two before this as well, 12.8.2 and 14.4.0, so the bump neither causes nor cures that. Pinning the stub to^14instead would collapse them into one tree, at the cost of sitting a major behind.The Node floor rises with it.
@vueuse/core15 declaresnode >= 22, where vite 8 and@vitejs/plugin-vue6 both accept^20.19.0 || >=22.12.0, so Node 20 no longer builds the Vue stack. -
Both Inertia stubs take their dependency bumps, no majors among them (#65, #66).
package from to vite ^8.3.4 ^8.4.0 axios ^1.6.4 ^1.21.1 lucide-react, @lucide/vue ^1.61.0 ^1.81.0 @types/node ^26.6.5 ^26.6.11 tailwind-merge ^3.7.0 ^3.7.1 @types/react ^19.3.0 ^19.3.3 vue ^3.5.44 ^3.5.46 Every one of these ranges already admitted the version it moves to, and the stubs ship no lockfile, so a fresh
npm installwas resolving to them before this. What moves is the floor each scaffolded application records.The two pull requests these replace would have taken Vite the other way,
^8.3.4down to^6.4.5. They were opened while npm'slatestfor Vite was still 6.x — Dependabot follows that tag, and the stubs had gone to 8 by hand in 1.3.0. The React stub's CI caught it, because@vitejs/plugin-react6 requires Vite 8 and npm refused to resolve the pair; the Vue stub's passed, because@vitejs/plugin-vue6 still accepts Vite 6, so merging it would have been a silent downgrade. Recreating both once Vite 8 held thelatesttag produced the bumps above instead.
Documentation
- The README names a Node prerequisite for the first time (#70). Both Inertia stacks have always needed Node —
kaze installruns a package install and a Vite build for them, with pnpm or yarn when the application already has that lockfile and npm otherwise — while the installation section spoke only of Ruby.@vueuse/core15 is what made the floor worth stating: vite 8 and both of its plugins ask for^20.19.0 || >=22.12.0, and vueuse narrows the Vue stack to>=22, so Vue needs Node 22.12 or newer while React is also happy on 20.19. The Hotwire stack needs no Node at all.
Internal
-
typescriptstays at^5.9.3in the Vue stub, and the gap to the React stub's^7.0.2is a standing constraint rather than drift. The second major Dependabot holds back was meant to close that gap in this pass. It cannot, and the reason is already in the repository's own history: the Vue stub was on^7.0.2, from #25 until #30 put it back to 5, with nothing recorded at the time to say why.TypeScript 7 is the native compiler and ships no JavaScript API —
node_modules/typescript/libholdstsc.jsand a path helper, and the package exports nolib/typescript.js.@vue/compiler-sfcneeds that API:vue/compiler-sfc/register-ts.jshands it() => require('typescript'), and it reaches forts.findConfigFileandts.syswheneverdefineProps<T>()names a type imported from another package. Under 7.0.2 that call throwsTypeError: ts2.findConfigFile is not a functionandvite buildstops with 32 errors acrossButton.vue,Checkbox.vue,Dialog.vue,DialogTrigger.vueandLabel.vue— every component whose props extend areka-uitype.tscitself exits 0, so a typecheck-only run sees nothing wrong; it is the build that fails.#28 met this head on and worked around it, spelling the props out inline under a note reading "the SFC compiler cannot resolve types imported across packages in this build". #30 then took the other side of the trade: it deleted those hand-maintained copies in favour of
defineProps<LabelProps & …>()and the rest of reka-ui's real prop types, and dropped TypeScript to 5.9.3 in the same commit to pay for them. Reinstating 7 now means undoing that — re-inlining and then maintaining the props of five primitives against upstream — which is a worse bargain than waiting. The React stub never meets any of this because.tsxcompiles with its types erased and nothing needs resolving at build time. Vue 3.6 is no escape either:@vue/compiler-sfc3.6.0-rc.17 still makes the samefindConfigFilecall, and 3.6 is not released.vue-tscis a second, independent blocker on the same move.@volar/typescriptand@volar/language-serviceboth declarepeerOptional typescript: "<7", andvue-tsc3.3.14 aborts before doing any work, withERR_PACKAGE_PATH_NOT_EXPORTEDfortypescript/lib/tsc. It is also the only thing that makesnpm installprintERESOLVE overriding peer dependencytwice against TypeScript 7 — dropping it leaves the install silent and 14 packages lighter, which is the shape the eventual change will take once the compiler can run. It stays because on 5.9.3 it works, and it is the only tool in the stack that typechecks a single-file component at all:tscreads the.tsmodules and the*.vueshim inapp/javascript/types/vue-shims.d.ts, never a component. Its^3.3.13range already resolves to 3.3.14, so nothing there needed moving.Checked by scaffolding a Rails 8.1 application per stack the way
tests.ymldoes. On 5.9.3 the Vue stack installs with noERESOLVEoutput,vue-tscandtscboth exit 0,vite buildsucceeds and the application's 60 tests pass. Swapping onlytypescriptto^7.0.2leavestscgreen and breaks the build. React on 7.0.2 and hotwire both stay green throughout. -
CI now tests an upgrade, not just an install. A
Test Upgradejob per stack creates a Rails application, installs the released gem into it, writes work of the application's own beside Kaze's, upgrades with the checkout under review, and then checks every one of those files is byte for byte what it was before running the application's test suite. No version is pinned, so it never goes stale; once a release matches the checkout the job becomes the re-run case, which is howconfig/environments/test.rbcame to be emptied.The fixture moved to
test/support/own_work.rband is now shared with the gem's unit tests, so the two cannot drift, andruby test/support/own_work.rb verify .is what the job runs. Every file in it is inert on purpose: the job boots, typechecks and tests a real application, so a fixture needing a column or a JSX runtime would fail the job for reasons that have nothing to do with upgrading.Checked against the code 2.2.1 fixed, which is the point of it. Upgrading with 2.2.0 leaves the verify step reporting
109 bytes became 0and exiting 1, while the upgrade command itself still exits 0 — and the test step fails separately, because an emptiedtest.rbstops the application booting at all. Against master both pass. -
The gem's tests now run install and upgrade over an application that has work of its own, rather than an empty directory. A shared
OWN_WORKfixture puts a couple of migrations, a model, a component, an initializer, a factory and two tests in the same directories Kaze writes to, andassert_own_work_untouchedchecks every one of them byte for byte afterwards.This is the gap behind 2.2.1. The migration rewrite emptied an application's own migrations for two years, and nothing caught it because every fixture and every upgrade test held nothing but Kaze's own files — there was no one else's work there to destroy. The same blind spot covered
install_testscopying over someone's tests andenable_test_cache_storetruncating a config file.Eight tests use it, across the three surfaces that touch files an application already had:
install_migrations,install_testsandenable_test_cache_store, plus the upgrade'sremovable_pathsandremove_paths. Each was checked by mutation: restoring both 2.2.1 defects fails four of them, wiping a test directory before copying into it fails another, and a pattern that silently matches nothing fails two more. -
Development dependencies: minitest
~> 5.0→~> 6.1in the gemspec and 5.27.0 → 6.1.0 inGemfile.lock, railties 8.1.4 → 8.1.4.1, prettier 3.9.10 → 3.10.1 (#62, #64).Gemfile.lockis not shipped and development dependencies are not installed bygem install kaze, so this reaches contributors and CI only. -
The root
pnpm-lock.yamlcatches up with the stub manifests, which clears a highfollow-redirectsadvisory (1.16.1, patched in 1.16.2; the refreshed lockfile resolves 1.16.3). Dependabot updates the two stubpackage.jsonfiles but not this lockfile, so it still described axios 1.20.0 — and through it the vulnerablefollow-redirects— after #65 and #66 had moved both stubs to axios^1.21.1. Nothing shipped was affected:spec.filesleaves the lockfile out, the stubs carry none of their own, and no workflow installs from it.pnpm-workspace.yamlis new, and is what makes the refresh possible. The lockfile has carried importers for.and both stub directories since #22, where Dependabot's own regeneration added them, but nothing in the repository ever declared that workspace — so a plainpnpm installwould prune both stub importers and shrink the lockfile to prettier alone. The file states what the lockfile already assumed, andpnpm install --frozen-lockfilenow passes across all three projects.