Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: feathersjs/feathers-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.1.0
Choose a base ref
...
head repository: feathersjs/feathers-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.2.0
Choose a head ref
  • 2 commits
  • 20 files changed
  • 1 contributor

Commits on Jun 24, 2026

  1. feat!: new query helpers and muteEvent hook (#38)

    - muteEvent(options?): hook that suppresses the service event by setting
      context.event to null, optionally gated by a when boolean/predicate
      (before/after/around).
    - queryHasProperty(query, name | names): util to detect a property anywhere in
      a query, including nested in $and/$or/$nor.
    - walkQuery: walker options gain stop() to end traversal early.
    - queryDefaults(query, defaults): util that adds default query fields only for
      fields the query does not already constrain (nested-aware) — the query
      counterpart of the defaults data transformer.
    - setQueryDefaults(defaults): before/around hook applying queryDefaults to
      context.params.query (e.g. filter out template rows by default).
    - softDelete: new allowQueryOverride option; its query filter now goes through
      queryDefaults.
    
    BREAKING CHANGE: by default softDelete no longer always appends deletedQuery.
    When the incoming query already references a deletedQuery field (e.g. deletedAt,
    including nested in $and/$or/$nor), that filter is now skipped so callers can
    read soft-deleted rows; remove still soft-deletes. Set allowQueryOverride: false
    to restore the previous always-enforce behavior.
    fratzinger authored Jun 24, 2026
    Configuration menu
    Copy the full SHA
    68808c1 View commit details
    Browse the repository at this point in the history
  2. 10.2.0

    fratzinger committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    d03fc1e View commit details
    Browse the repository at this point in the history
Loading