-
Make
sanityImage
imageDimensions._type
an optional field (#86) -
Specify custom markdef types in q.contentBlock[s], addresses #61. (#87)
- Add hasAlpha, isOpaque, and blurHash options to q.sanityImage's withAsset options. (#84)
- nullToUndefined, grab$, and grabOne$ helpers to make dealing with null return values much more friendly. (#72)
- added
slug
utility for easier slug access (#67)
-
added new
contentBlocks
helper forcontentBlock
as list (#66) -
fixed illustrative example in readme docs (#65)
- Add TypeFromSelection utility type to extract TS type from a selection object (#63)
- Allow InferType to accept zod schema type (#54)
- Remove changesets from prod dependencies (#51)
- Fix q.sanityImage asList -> isList in docs (#48)
q.sanityImage
helper.q.object
schema for Zod objects.q.contentBlock
schema helper for block content.q.score
function.- Make
makeQueryRunner
more flexible.
- Introduce
q.array
for Zod array support.
- Refactor to builder pattern.
- Initial setup of
groqd
, including theq
pipeline and initial helpers.
InferType
type utility to better infer type from query result, via #7.