Repository navigation
Release 0.1.0-rc.4 - #20
Merged
Merged
Conversation
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.
Released alongside
@monarcode/effetch0.1.0-rc.4, which it needs: upgradeboth together. Effetch Query's own API is unchanged.
Changed
Breaking for Effetch's import: the
@monarcode/effetchpeer range isnow
>=0.1.0-rc.4 <0.2.0. Effetch rc.4's main entry exports only theFetchnamespace, and Effetch Query imports it that way, so it doesn'twork with Effetch rc.3. The other way round fails too: Effetch Query
rc.3 and earlier, whose range allows Effetch rc.4, throw from
fromClientwith it. Upgrade both together. In your own code, changeeach import:
pnpm exec effetch-migrate(ornpx -p @monarcode/effetch effetch-migrate) rewrites them for you; run it with--dry-runfirst.Imports from
@monarcode/effetch-queryand its subpaths stay the same.The README, the JSDoc examples and every example app import
{ Fetch }. The README's "Define a mutation" shows uploading a filewith Effetch's new
Fetch.multipartandFetch.UploadFile:api.mutationsends such an endpoint's body asmultipart/form-data,with
bodytyped by the schema, and needed no change for it.