Skip to content

Releases: sanity-io/groq-js

v1.6.0

02 Apr 10:07
Compare
Choose a tag to compare

1.6.0 (2024-04-02)

Features

  • type-evaluation: add support for Pos and Neg nodes (bef4ad5)

Bug Fixes

  • Exports should be exports (5cea533)
  • deps: bump @sanity/pkg-utils to v5.1.5 (d2e8f6c)
  • remove legacy typings field, as types is already used (7c05d5e)
  • test ecospark push override (1e4b895)

This release is also available on:

v1.5.0

19 Mar 14:23
Compare
Choose a tag to compare

1.5.0 (2024-03-19)

Features

  • access optinal attributes should return null (8e3f7e4)
  • add support for slice in type evaluator (7877990)
  • add tsdoc to describe the type nodes (65cbc41)
  • add type evaluator (637603b)
  • evaluateQueryType: add more tests (#180) (5d2528e)
  • export type evaluation with version 1 (62c6b7f)
  • only export typeEvaluate function (e3e3875)
  • replace esbuild with tsx. fixes linenumber (8a60c87)
  • typeEvaluator: rename main function to typeEvaluate (9c2f345)

Bug Fixes

  • dont access attributes inside arrays (0e267bc)
  • dont stringify objects, let debug/util handle it (bb7d646)
  • forward type on map unexpected (8131a71)
  • handle flatmap over unions correctly (70dc0c3)
  • order unions (5a940e0)
  • query node type eval tests (522bd9b)
  • recursively lookup attributes in object rest (fecc1a1)
  • refactor and reuse scope handling from evaluator (7bed827)
  • remove un-evaluated Slice-case (349645b)
  • typeEvaluate: resolve inline when mapping type (7a3742c)
  • update snapshots (0860eaf)
  • various type evaluation bugs (3da42d7)

This release is also available on:

v1.5.0-canary.3

18 Mar 21:36
Compare
Choose a tag to compare
v1.5.0-canary.3 Pre-release
Pre-release

1.5.0-canary.3 (2024-03-18)

Bug Fixes

  • handle flatmap over unions correctly (70dc0c3)
  • remove un-evaluated Slice-case (349645b)
  • various type evaluation bugs (3da42d7)

This release is also available on:

v1.5.0-canary.2

13 Mar 14:27
Compare
Choose a tag to compare
v1.5.0-canary.2 Pre-release
Pre-release

1.5.0-canary.2 (2024-03-13)

Features

  • access optinal attributes should return null (8e3f7e4)
  • add support for slice in type evaluator (7877990)
  • add tsdoc to describe the type nodes (65cbc41)

Bug Fixes

  • typeEvaluate: resolve inline when mapping type (7a3742c)

This release is also available on:

v1.5.0-canary.1

05 Mar 10:28
Compare
Choose a tag to compare
v1.5.0-canary.1 Pre-release
Pre-release

1.5.0-canary.1 (2024-03-05)

Features

  • add type evaluator (637603b)
  • evaluateQueryType: add more tests (#180) (5d2528e)
  • export type evaluation with version 1 (62c6b7f)
  • only export typeEvaluate function (e3e3875)
  • replace esbuild with tsx. fixes linenumber (8a60c87)
  • typeEvaluator: rename main function to typeEvaluate (9c2f345)

Bug Fixes

  • dont access attributes inside arrays (0e267bc)
  • dont stringify objects, let debug/util handle it (bb7d646)
  • forward type on map unexpected (8131a71)
  • order unions (5a940e0)
  • query node type eval tests (522bd9b)
  • refactor and reuse scope handling from evaluator (7bed827)
  • update snapshots (0860eaf)

This release is also available on:

v1.4.4-canary.1

04 Mar 15:07
Compare
Choose a tag to compare
v1.4.4-canary.1 Pre-release
Pre-release

1.4.4-canary.1 (2024-03-04)

Bug Fixes

  • test canary release channel (bd3e753)

This release is also available on:

v1.4.3

21 Feb 13:24
Compare
Choose a tag to compare

1.4.3 (2024-02-21)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^4.2.8 (#174) (5d353eb)

This release is also available on:

v1.4.2

21 Feb 11:08
Compare
Choose a tag to compare

1.4.2 (2024-02-21)

Bug Fixes


This release is also available on:

v1.4.1

25 Jan 18:38
Compare
Choose a tag to compare

1.4.1 (2024-01-25)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to v4 (#163) (065f28f)

This release is also available on:

v1.4.0

18 Jan 09:38
Compare
Choose a tag to compare

1.4.0 (2024-01-18)

Features


This release is also available on: