Skip to content

Commit 69b5e86

Browse files
Version Packages (#353)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 20222b5 commit 69b5e86

File tree

5 files changed

+28
-20
lines changed

5 files changed

+28
-20
lines changed

.changeset/blue-deers-study.md

-18
This file was deleted.

packages/groqd/CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# groqd
22

3+
## 1.1.0
4+
5+
### Minor Changes
6+
7+
- Feature: Simplified APIs ([#351](https://github.com/FormidableLabs/groqd/pull/351))
8+
9+
We removed irrelevant methods from the root `q` object, and from query chains.
10+
This improves auto-complete and API discoverability, and reduces confusion.
11+
12+
- The root `q` object no longer exposes irrelevant chaining methods.
13+
- E.g. we removed: `q.filter(...)`, `q.deref()`, `q.field(...)`, etc.
14+
- Query chains no longer expose irrelevant top-level utilities.
15+
- E.g. we removed `(chain).star`, `(chain).conditional(...)`, `(chain).select(...)`, `(chain).value(...)`, etc.
16+
- The subquery in a projection no longer exposes irrelevant chaining methods.
17+
- E.g. with `.project(sub => ({ ... }))` we removed: `sub.filter(...)`, `sub.order(...)`, etc.
18+
19+
> Backwards compatibility: we only removed methods that created invalid GROQ queries,
20+
> so this change should be backwards compatible.
21+
322
## 1.0.9
423

524
### Patch Changes

packages/groqd/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "groqd",
33
"description": "GroqD is a GROQ query builder, designed to give the best GROQ developer experience possible, with the flexibility of GROQ, the runtime safety of Zod, and provides schema-aware auto-completion and type-checking.",
4-
"version": "1.0.9",
4+
"version": "1.1.0",
55
"license": "MIT",
66
"author": {
77
"name": "Formidable",

website/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# website
22

3+
## 0.0.21
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`20222b5`](https://github.com/FormidableLabs/groqd/commit/20222b5ad3050e5b4f6dd825b1bdb8e1a9eb7403)]:
8+
- groqd@1.1.0
9+
310
## 0.0.20
411

512
### Patch Changes

website/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "website",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"private": true,
55
"scripts": {
66
"dev": "pnpm run gather-types && docusaurus start",

0 commit comments

Comments
 (0)