Skip to content

Release 0.1.0-rc.4 - #20

Merged
monarcode merged 1 commit into
mainfrom
release/0.1.0-rc.4
Nov 20, 2026
Merged

monarcode merged 1 commit into
mainfrom
release/0.1.0-rc.4

Conversation

@monarcode

Copy link
Copy Markdown
Owner

Released alongside @monarcode/effetch 0.1.0-rc.4, which it needs: upgrade
both together. Effetch Query's own API is unchanged.

Changed

  • Breaking for Effetch's import: the @monarcode/effetch peer range is
    now >=0.1.0-rc.4 <0.2.0. Effetch rc.4's main entry exports only the
    Fetch namespace, and Effetch Query imports it that way, so it doesn't
    work with Effetch rc.3. The other way round fails too: Effetch Query
    rc.3 and earlier, whose range allows Effetch rc.4, throw from
    fromClient with it. Upgrade both together. In your own code, change
    each import:

    // Before
    import * as Fetch from "@monarcode/effetch";
    // After
    import { Fetch } from "@monarcode/effetch";

    pnpm exec effetch-migrate (or npx -p @monarcode/effetch effetch-migrate) rewrites them for you; run it with --dry-run first.
    Imports from @monarcode/effetch-query and 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 file
    with Effetch's new Fetch.multipart and Fetch.UploadFile:
    api.mutation sends such an endpoint's body as multipart/form-data,
    with body typed by the schema, and needed no change for it.

@monarcode
monarcode merged commit 2c4e113 into main Nov 20, 2026
3 checks passed
@monarcode
monarcode deleted the release/0.1.0-rc.4 branch November 21, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant