You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
@kubb/plugin-axios@5.2.0
Minor Changes
#82015b789f Thanks @stijnvanhulle! - Generated calls now return a promise with an extra unwrap() method. Calling it gives you the bare
success body, or rejects with error when the call was made with throwOnError: false.
Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query, plugin-vue-query, and plugin-swr now build their generated query and
mutation bodies on top of unwrap() too, instead of destructuring the result by hand.
@kubb/plugin-fetch@5.2.0
Minor Changes
#82015b789f Thanks @stijnvanhulle! - Generated calls now return a promise with an extra unwrap() method. Calling it gives you the bare
success body, or rejects with error when the call was made with throwOnError: false.
Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query, plugin-vue-query, and plugin-swr now build their generated query and
mutation bodies on top of unwrap() too, instead of destructuring the result by hand.
@kubb/plugin-react-query@5.0.2
Patch Changes
#82015b789f Thanks @stijnvanhulle! - Generated calls now return a promise with an extra unwrap() method. Calling it gives you the bare
success body, or rejects with error when the call was made with throwOnError: false.
Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query, plugin-vue-query, and plugin-swr now build their generated query and
mutation bodies on top of unwrap() too, instead of destructuring the result by hand.
@kubb/plugin-swr@5.0.1
Patch Changes
#82015b789f Thanks @stijnvanhulle! - Generated calls now return a promise with an extra unwrap() method. Calling it gives you the bare
success body, or rejects with error when the call was made with throwOnError: false.
Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query, plugin-vue-query, and plugin-swr now build their generated query and
mutation bodies on top of unwrap() too, instead of destructuring the result by hand.
@kubb/plugin-vue-query@5.0.1
Patch Changes
#82015b789f Thanks @stijnvanhulle! - Generated calls now return a promise with an extra unwrap() method. Calling it gives you the bare
success body, or rejects with error when the call was made with throwOnError: false.
Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query, plugin-vue-query, and plugin-swr now build their generated query and
mutation bodies on top of unwrap() too, instead of destructuring the result by hand.
PR Lens is free for open source. A star on the repository is what keeps it going.
🪧 More tips
Run PR Lens on your own machine: npx skills add coldteadotai/pr-lens installs the agent skill. Then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
Draw a diff before it is even a pull request: npx @coldtea/pr-lens-cli analyze --base origin/main reads the diff with your own model key, and npx @coldtea/pr-lens-cli render .pr-lens/graph.json draws the same lenses on your machine.
The boxes under View are live. Tick Architecture lens or Data flow lens to choose which diagrams appear, or Expand every detail to open every drill-down at once. The comment redraws in place a few seconds later.
Show unchanged neighbours lists the components this change did not touch alongside the ones it did, so the drill-down shows what the changed code sits next to.
GitHub will not let you zoom an image in a comment. The link under each diagram opens it full size on a page of its own, where you can.
The CLI's render picks up .github/pr-lens.yml automatically and applies your corrections (renames, exclusions, lane pins) at draw time.
Would you rather run it from CI on a key of your own? Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and a model key in your repository secrets, say GEMINI_API_KEY. The Action asks Gemini by default, or OpenAI and any endpoint speaking /chat/completions through its provider input.
Push a new commit and the whole comment re-renders for the new head. An older run never overwrites a newer one, so a slow render cannot put a stale diagram back.
The diagrams follow your GitHub theme, so dark mode gets the dark render and light mode the light one, and the moving dots show this pull request's data in motion.
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
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.
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
@kubb/plugin-axios@5.2.0
Minor Changes
#820
15b789fThanks @stijnvanhulle! - Generated calls now return a promise with an extraunwrap()method. Calling it gives you the baresuccess body, or rejects with
errorwhen the call was made withthrowOnError: false.Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query,plugin-vue-query, andplugin-swrnow build their generated query andmutation bodies on top of
unwrap()too, instead of destructuring the result by hand.@kubb/plugin-fetch@5.2.0
Minor Changes
#820
15b789fThanks @stijnvanhulle! - Generated calls now return a promise with an extraunwrap()method. Calling it gives you the baresuccess body, or rejects with
errorwhen the call was made withthrowOnError: false.Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query,plugin-vue-query, andplugin-swrnow build their generated query andmutation bodies on top of
unwrap()too, instead of destructuring the result by hand.@kubb/plugin-react-query@5.0.2
Patch Changes
#820
15b789fThanks @stijnvanhulle! - Generated calls now return a promise with an extraunwrap()method. Calling it gives you the baresuccess body, or rejects with
errorwhen the call was made withthrowOnError: false.Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query,plugin-vue-query, andplugin-swrnow build their generated query andmutation bodies on top of
unwrap()too, instead of destructuring the result by hand.@kubb/plugin-swr@5.0.1
Patch Changes
#820
15b789fThanks @stijnvanhulle! - Generated calls now return a promise with an extraunwrap()method. Calling it gives you the baresuccess body, or rejects with
errorwhen the call was made withthrowOnError: false.Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query,plugin-vue-query, andplugin-swrnow build their generated query andmutation bodies on top of
unwrap()too, instead of destructuring the result by hand.@kubb/plugin-vue-query@5.0.1
Patch Changes
#820
15b789fThanks @stijnvanhulle! - Generated calls now return a promise with an extraunwrap()method. Calling it gives you the baresuccess body, or rejects with
errorwhen the call was made withthrowOnError: false.Awaiting the call directly still gives the full result, so nothing existing changes.
plugin-react-query,plugin-vue-query, andplugin-swrnow build their generated query andmutation bodies on top of
unwrap()too, instead of destructuring the result by hand.