Skip to content

fix: constrain Nx to supported 0.12 releases - #210

Merged
ausimian merged 1 commit into
mainfrom
fix/nx-constraint
Aug 8, 2026
Merged

fix: constrain Nx to supported 0.12 releases#210
ausimian merged 1 commit into
mainfrom
fix/nx-constraint

Conversation

@ausimian

@ausimian ausimian commented Aug 8, 2026

Copy link
Copy Markdown
Owner

What changed

  • tighten Emily's Nx dependency from ~> 0.12 to ~> 0.12.0
  • document the compatibility fix in RELEASE.md

Why

Elixir's two-segment pessimistic requirement accepted Nx 0.13. Fresh consumers therefore resolved a release that removed Nx.Defn.Tree.has_hooks?/2, producing a compile warning and a latent failure on the hook-token path.

The three-segment requirement keeps consumers on the Nx 0.12 release line that Emily currently targets.

Validation

  • mix precommit
  • fresh package consumer resolved Nx 0.12.1
  • precompiled NIF consumer build completed without the has_hooks?/2 warning

mix precommit: 40 doctests, 79 properties, 737 tests, 0 failures.

Prevent fresh dependency resolution from selecting Nx 0.13, which removed an internal compiler API used by Emily.

Co-Authored-By: Codex GPT-5.6 Sol <noreply@openai.com>
@ausimian
ausimian merged commit 990ad50 into main Aug 8, 2026
5 checks passed
@ausimian
ausimian deleted the fix/nx-constraint branch August 8, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant