# Nx 22.7 Is Here: Task Sandboxing, 7x Less Memory, and Worktree-Aware Caching

DevFeed: [Nx 22.7 Is Here: Task Sandboxing, 7x Less Memory, and Worktree-Aware Caching](<https://devfeed.tech/articles/nx-22-7-is-here-task-sandboxing-7x-less-memory-and-worktree-aware-caching-21425.md>)

Original publisher: [Read original article](<https://nx.dev/blog/nx-22-7-release>)

Author: Juri Strumpflohner

Published: 2026-04-28T00:00:00Z

Content type: release

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [nx-cloud](<https://devfeed.tech/topics/nx-cloud.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-development](<https://devfeed.tech/tags/agentic-development.md>), [caching](<https://devfeed.tech/tags/caching.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [draft](<https://devfeed.tech/tags/draft.md>), [fields](<https://devfeed.tech/tags/fields.md>), [file](<https://devfeed.tech/tags/file.md>), [git-worktrees](<https://devfeed.tech/tags/git-worktrees.md>), [i-o](<https://devfeed.tech/tags/i-o.md>), [input](<https://devfeed.tech/tags/input.md>), [json](<https://devfeed.tech/tags/json.md>), [memory](<https://devfeed.tech/tags/memory.md>), [nx](<https://devfeed.tech/tags/nx.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [production](<https://devfeed.tech/tags/production.md>), [release](<https://devfeed.tech/tags/release.md>), [resolved](<https://devfeed.tech/tags/resolved.md>), [restore](<https://devfeed.tech/tags/restore.md>), [sandboxing](<https://devfeed.tech/tags/sandboxing.md>)

## AI overview

Nx 22.6-22.7 improves cache reuse and precision. Cache artifacts are shared across Git worktrees, so a build in one can be reused in another, also avoiding duplicate artifact storage. Dependency filesets let targets include dependency source in their inputs, reducing unnecessary invalidation when dependency configuration changes. A new input type hashes selected fields of a JSON file instead of the whole file. A target configuration command displays resolved inputs, outputs, and options, can check whether a file matches an input pattern, and can annotate configuration values with their source locations. The excerpt also identifies task sandboxing via real I/O tracing and a reported 7x reduction in daemon memory, but does not provide their implementation details.

## Source excerpt

Everything that landed in Nx across 22.4 through 22.7: task sandboxing, a 7x reduction in daemon memory, worktree-aware caching, agentic mode improvements, and more.