Packages

@envelop/core

6.0.1 · 12 Nov 2026MIT12.6M / weekRepositoryHomepagenpmAtom feed

Your version

2.2.0

31 Mar 2022Where it was published

2.6.0 is the newest release of 2.x.

In short

2 new1 fixed1 internal

Release note

The section about @envelop/core of a note shared by several packages.

Minor Changes

  • Allow masking validation and parse errors with useMaskedErrors.

    useMaskedErrors({
      handleParseErrors: true,
      handleValidateErrors: true
    })

    This option is disabled by default as validation and parse errors are expected errors that help
    the API consumer instead of leaking secret information.

    If you want to avoid leaking schema suggestions, we recommend using persisted operations.

  • Add setResult to AfterValidateEventPayload for altering the validation errors.

Patch Changes

  • Correctly identify introspection only operations in useImmediateIntrospection

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.