Skip to content

Latest commit

 

History

History
88 lines (47 loc) · 2.44 KB

CHANGELOG.md

File metadata and controls

88 lines (47 loc) · 2.44 KB

Changelog

0.10.0

Minor Changes

    • q.select schema helper for stronger union types and default conditions (#82) (#82)
    • ArrayQuery.select & EntityQuery.select helpers to spread select functions in a block scope (#82)

0.9.2

Patch Changes

  • Make sanityImage imageDimensions._type an optional field (#86)

  • Specify custom markdef types in q.contentBlock[s], addresses #61. (#87)

0.9.1

Patch Changes

  • Add hasAlpha, isOpaque, and blurHash options to q.sanityImage's withAsset options. (#84)

0.9.0

Minor Changes

  • nullToUndefined, grab$, and grabOne$ helpers to make dealing with null return values much more friendly. (#72)

0.8.0

Minor Changes

  • added slug utility for easier slug access (#67)

Patch Changes

  • added new contentBlocks helper for contentBlock as list (#66)

  • fixed illustrative example in readme docs (#65)

0.7.0

Minor Changes

  • Add TypeFromSelection utility type to extract TS type from a selection object (#63)

0.6.3

Patch Changes

  • Allow InferType to accept zod schema type (#54)

0.6.2

Patch Changes

  • Remove changesets from prod dependencies (#51)

0.6.1

Patch Changes

  • Fix q.sanityImage asList -> isList in docs (#48)

0.4.0 – 0.6.0

  • q.sanityImage helper.
  • q.object schema for Zod objects.
  • q.contentBlock schema helper for block content.
  • q.score function.
  • Make makeQueryRunner more flexible.

0.3.2

  • Introduce q.array for Zod array support.

0.3.0

  • Refactor to builder pattern.

0.0.1 – 0.0.5

  • Initial setup of groqd, including the q pipeline and initial helpers.

0.1.0

  • InferType type utility to better infer type from query result, via #7.