fix(deps): update dependency politty to v0.12.1 - #2295
Conversation
🦋 Changeset detectedLatest commit: e9ca76d The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@tailor-platform/create-sdk
@tailor-platform/eslint-plugin-sdk
@tailor-platform/sdk
@tailor-platform/sdk-plugin-seed
@tailor-platform/sdk-plugin-setup
@tailor-platform/sdk-plugin-tailordb-erd
commit: |
🤖 Claude Dependency Review❌ Recommended ActionsBreaking change requires code update: One test file imports Required change: - import { generateCompletion } from "politty";
+ import { generateCompletion } from "politty/completion";File to update: 📦 Update Summary
📝 Release Noteshttps://github.com/toiroakr/politty/blob/HEAD/packages/politty/CHANGELOG.md v0.12.1 (Patch)
v0.12.0 (Minor - Breaking)
🔐 Security Assessment
🚨 Breaking ChangesImport Path Change for Completion GeneratorsWhat changed: Migration required: - import { generateCompletion } from "politty";
+ import { generateCompletion } from "politty/completion";This also applies to Why: To reduce bundle size by lazy-loading shell-completion generators. The completion subcommands ( Not affected: ✨ Main Changesv0.12.0
v0.12.1
🔍 Impact Analysis📁 Usage Locations
✅ Already CorrectThe following file already imports from the correct path and requires no changes:
✅ Unaffected UsageThe SDK extensively uses politty's main exports (in 98+ files) which are not affected by the breaking change: Root package imports (still exported from
Other subpath imports (unchanged):
Packages using politty (all confirmed unaffected):
|
This PR contains the following updates:
0.11.9→0.12.1Release Notes
toiroakr/politty (politty)
v0.12.1Compare Source
Patch Changes
f01148c: FixcreateLogCollector(used byexecuteExamples/assertDocMatch) to also capture output written directly viaprocess.stdout.write/process.stderr.write, not justconsole.*calls. Previously, a command that printed its primary output withprocess.stdout.writeinstead ofconsole.logwas invisible toexamplesverification — that output passed straight through to the real stdout and never showed up in the captured logs.f01148c]v0.12.0Compare Source
Minor Changes
53fdf95: Shrink the package entry point by no longer statically bundling the shell-completion generators (bash/zsh/fish, the dynamic__completeengine, and the on-disk install/refresh logic) into it.withCompletionCommandstill works exactly as before, but itscompletion/__complete/__refresh-completion/__completion-worker-pathsubcommands now load lazily, only when one of them actually runs.Breaking:
generateCompletionandgenerateBundledCompletionWorkerare no longer exported from the package root. Both were already documented as importing from the/completionsubpath — update any code that imported them from the root instead:(same for
@politty/zod/@politty/valibot, and forgenerateBundledCompletionWorker).withCompletionCommanditself is unaffected — keep importing it from the package root.Builds are also minified now, cutting total published package size by more than half on top of the entry-point reduction above (
@politty/zod's dist JS: 620KB → 269KB).Patch Changes
2bd32e7: chore(deps): lock file maintenance53fdf95]2bd32e7]791cfb8]Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 9-18 * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.