Skip to content

Releases: FormidableLabs/groqd

groq-builder@0.4.0

06 Feb 14:12
d273147

Choose a tag to compare

Minor Changes

  • Added createGroqBuilderWithZod() and removed the .include(zod) method (#257)

    Removed internal validation methods; use Zod methods instead

    Added validationRequired option to require runtime validation

    Removed $ from q.conditional$ and q.select$ methods; these are now just q.conditional and q.select

    Added optional validation parameter to q.field(field, parser?)

    Cleaned up some internal types, added better type documentation

groq-builder@0.3.0

25 Jan 21:32
22e5dd3

Choose a tag to compare

Minor Changes

  • Added conditional and select features (#256)

  • Improved the way we handle validation. (#255)
    Enable "tree shaking" to remove validation, if unused.
    Improve type-checking of validation methods, for better error detection.

Patch Changes

  • Added support for Fragments via q.fragment (#250)

groq-builder@0.2.0

22 Dec 08:17
175913b

Choose a tag to compare

Minor Changes

  • Added backwards compatibility with GroqD v0.x (#248)
  • Implemented validation methods like q.string()
  • Renamed grab -> project, grabOne -> field
  • Fixed build issues and deployment files

groq-builder@0.1.3

29 Nov 05:19
f35225e

Choose a tag to compare

Patch Changes

  • Improved build output
  • Improved nullable type safety
  • Added makeSafeQueryRunner utility

groqd@0.15.10

08 Nov 18:05
598de58

Choose a tag to compare

Patch Changes

  • Update zod to resolve security vulnerablity (#233)

  • Use same zod version across all packages (#237)

groqd-playground@0.0.18

08 Nov 18:05
598de58

Choose a tag to compare

Patch Changes

  • Use same zod version across all packages (#237)

  • Updated dependencies [86b8719, f3c6c41]:

    • groqd@0.15.10

groqd-playground-editor@0.0.6

08 Nov 18:05
598de58

Choose a tag to compare

Patch Changes

  • Use same zod version across all packages (#237)

  • Updated dependencies [86b8719, f3c6c41]:

    • groqd@0.15.10

groqd@0.15.9

11 Aug 18:27
6b3e900

Choose a tag to compare

Patch Changes

  • Addresses #213, allows the .order method to take an array of strings – since order argument can be more complex than just FIELD desc (#214)

groqd-playground@0.0.17

11 Aug 18:27
6b3e900

Choose a tag to compare

Patch Changes

  • Updated dependencies [600a5e4]:
    • groqd@0.15.9

groqd@0.15.8

08 Aug 17:54
ac52632

Choose a tag to compare

Patch Changes

  • Always return a new Class from builder methods, addresses #204. (#211)