Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency groqd to v1 (main) #2079

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
groqd (source) ^0.15.12 -> ^1.0.0 age adoption passing confidence

Release Notes

FormidableLabs/groqd (groqd)

v1.3.0

Compare Source

Minor Changes
  • Feature: added .asCombined() utility, which allows projections from multiple types at once (#​366)
Patch Changes
  • Feature: added "passthrough" parameter for raw (#​362)

  • Improvement: updated all examples to prefer using zod directly, like z.string() (#​366)
    Improvement: export zod as z

  • Improvement: improved fragment types seen in IDEs (#​365)

    Chore: ensure we explicitly export types, rather than export *, to limit "noise"

v1.2.0

Compare Source

Minor Changes
  • Feature: added count method (#​354)

    Feature: added coalesce method

Patch Changes
  • Fix: always require [] when projecting arrays. (#​358)

    • Prevents issues with chaining .deref() and .field()
    • Makes code clearer
    • Reduces noise in auto-complete suggestions

v1.1.0

Compare Source

Minor Changes
  • Feature: Simplified APIs (#​351)

    We removed irrelevant methods from the root q object, and from query chains.
    This improves auto-complete and API discoverability, and reduces confusion.

    • The root q object no longer exposes irrelevant chaining methods.
      • E.g. we removed: q.filter(...), q.deref(), q.field(...), etc.
    • Query chains no longer expose irrelevant top-level utilities.
      • E.g. we removed (chain).star, (chain).conditional(...), (chain).select(...), (chain).value(...), etc.
    • The subquery in a projection no longer exposes irrelevant chaining methods.
      • E.g. with .project(sub => ({ ... })) we removed: sub.filter(...), sub.order(...), etc.

    Backwards compatibility: we only removed methods that created invalid GROQ queries,
    so this change should be backwards compatible.

v1.0.9

Compare Source

Patch Changes
  • Improves several pipe-able methods, like .order, .score, and .filter (#​347)

    • These methods can now come after a projection with validation (eg. .project(...).score(...).order(...).filter(...)
    • The .order now supports deep selectors. E.g. .order("slug.current asc")

v1.0.8

Compare Source

Patch Changes
  • Improved Projection Paths (#​344)
    • This is used by .filterBy(...), .field(...), and .project(...)
    • Projection paths now supports deeper selectors, like "images[].hotspot.x"
    • Projection paths now supports optional fields, like "image.asset"
    • Projection paths has proper return types for these types, eg. "images[].hotspot.x": null | Array<null | number>

v1.0.7

Compare Source

Patch Changes
  • Added: score and scoreRaw functions (#​340)
    Added: filterRaw function
    Deprecated: filter function; renamed to filterRaw to indicate that it's not type-checked

v1.0.6

Compare Source

Patch Changes
  • Improves types for deref for certain queries (#​335)

v1.0.5

Compare Source

Patch Changes
  • Fixed: .slice(number) returns a nullable result (#​331)
    Added: .notNull() utility
    Updated: .nullable() utility to not be chainable
    Updated: require a redundant: true parameter for nullable and notNull
    Added: InvalidQueryError is thrown for all invalid queries detected

    Fixes #​268

v1.0.4

Compare Source

Patch Changes
  • Fix: ensure filter can be chained after a deref (#​329)
    Fixes #​323

v1.0.3

Compare Source

Patch Changes
  • Chore: improved error messages for project to make them more helpful (#​326)

v1.0.2

Compare Source

Patch Changes
  • Fixed: improve support for ellipsis operator (...) when using overrides (#​324)
    Fixes #​317

v1.0.1

Compare Source

Patch Changes
  • Added: export createGroqBuilder as shortcut for createGroqBuilderWithZod (#​314)
    Docs: updated sample code

v1.0.0

Compare Source

Major Changes
  • It's official! GroqD 1.0 is here! (#​310)

    This brand-new version of GroqD adds schema-awareness, which brings massive improvements to the developer experience!

    This includes:

    • Auto-completion - write queries quickly and confidently
    • Runtime validation - ensure data integrity, catch errors early
    • Transformation - map values at runtime, like parsing dates
    • Fragments - create reusable query fragments, and compose queries from other fragments

    This release does include breaking API changes. Please see the migration docs for more information.


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner January 6, 2025 11:46
@renovate renovate bot added the 🤖 bot label Jan 6, 2025
Copy link

vercel bot commented Jan 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-sanity-static ❌ Failed (Inspect) Mar 26, 2025 0:15am

Copy link

socket-security bot commented Jan 6, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected]1.3.0 None +2 1.31 MB formidablelabs

View full report↗︎

Copy link

socket-security bot commented Jan 6, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from b1f7561 to 9b18cd4 Compare January 6, 2025 12:01
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 9b18cd4 to c3728dd Compare January 6, 2025 13:11
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from c3728dd to b44fac8 Compare January 7, 2025 22:20
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from b44fac8 to 87a556a Compare January 8, 2025 08:49
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 87a556a to 2be4f79 Compare January 8, 2025 23:17
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 2be4f79 to bcca584 Compare January 8, 2025 23:35
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch 2 times, most recently from 3eb37b2 to 194436b Compare January 9, 2025 07:49
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 194436b to 25d02c1 Compare January 9, 2025 13:00
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 826ac68 to 77ba95f Compare March 5, 2025 09:30
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 77ba95f to 6a1c1d9 Compare March 12, 2025 17:08
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 6a1c1d9 to 2157741 Compare March 12, 2025 20:15
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 2157741 to c14f07f Compare March 12, 2025 20:31
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from c14f07f to 40d5283 Compare March 12, 2025 20:46
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 40d5283 to 0dd6974 Compare March 14, 2025 11:51
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 0dd6974 to 96250c6 Compare March 18, 2025 18:19
@renovate renovate bot force-pushed the renovate/main-major-1-app-dependencies branch from 96250c6 to cb3efff Compare March 24, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants