From 67ea89d62413bd089c23ceae695d96345aaa715b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 3 Dec 2026 20:31:45 +0000 Subject: [PATCH 1/2] Pin the example projects to SafeDI 2.4.6 The Bazel and Tuist example projects pin a released SafeDI rather than this checkout, and they were still on 2.4.1. This moves them to 2.4.6. - `Examples/ExampleTuistIntegration/Tuist/Package.swift`: `exact: "2.4.6"`, with `Package.resolved` re-resolved by Swift 6.2 (revision 785b6ef8, new `originHash`). The other resolved pins (swift-argument-parser 1.7.1, swift-syntax 604.0.0) don't move. The Tuist example runs the published prebuilt binary, so its CI checks the released artifact bundle. - `Examples/ExampleBazelIntegration/MODULE.bazel`: `bazel_dep(name = "safedi", version = "2.4.6")`. Inside this repository `local_path_override` replaces the pin, so no check here reads it; it resolves from the Bazel Central Registry once 2.4.6 is published there. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HLuVQJxZR42VrtN7c3zPbu --- Examples/ExampleBazelIntegration/MODULE.bazel | 2 +- Examples/ExampleTuistIntegration/Tuist/Package.resolved | 6 +++--- Examples/ExampleTuistIntegration/Tuist/Package.swift | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Examples/ExampleBazelIntegration/MODULE.bazel b/Examples/ExampleBazelIntegration/MODULE.bazel index ddf87493d5..d9a57cac8e 100644 --- a/Examples/ExampleBazelIntegration/MODULE.bazel +++ b/Examples/ExampleBazelIntegration/MODULE.bazel @@ -16,7 +16,7 @@ module( bazel_dep(name = "rules_swift", version = "3.6.1") bazel_dep(name = "rules_apple", version = "4.5.0") bazel_dep(name = "apple_support", version = "2.5.4") -bazel_dep(name = "safedi", version = "2.4.1") +bazel_dep(name = "safedi", version = "2.4.6") # local_path_override applies only when this module is root # (i.e. when you run `bazel build` from this directory). BCR diff --git a/Examples/ExampleTuistIntegration/Tuist/Package.resolved b/Examples/ExampleTuistIntegration/Tuist/Package.resolved index 1d920fb636..b0ae9c3e63 100644 --- a/Examples/ExampleTuistIntegration/Tuist/Package.resolved +++ b/Examples/ExampleTuistIntegration/Tuist/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "5de41e55c8f56f58d99bd8af662515f1b73d9cf6c37dae519a1bc74f4dea8836", + "originHash" : "62eddc0cb0277d02ac3e58829a5b1cbb811ba09d135ea003cd53e0c1e87529f7", "pins" : [ { "identity" : "safedi", "kind" : "remoteSourceControl", "location" : "https://github.com/dfed/SafeDI.git", "state" : { - "revision" : "d6ca583cc4862e5b9d4783ff685e79ee5b66053d", - "version" : "2.4.1" + "revision" : "785b6ef8846e8ba10e45d837a22495b5bbc9a7cb", + "version" : "2.4.6" } }, { diff --git a/Examples/ExampleTuistIntegration/Tuist/Package.swift b/Examples/ExampleTuistIntegration/Tuist/Package.swift index b8a3337769..cd45fe0998 100644 --- a/Examples/ExampleTuistIntegration/Tuist/Package.swift +++ b/Examples/ExampleTuistIntegration/Tuist/Package.swift @@ -29,6 +29,6 @@ import PackageDescription let package = Package( name: "ExampleTuistIntegration", dependencies: [ - .package(url: "https://github.com/dfed/SafeDI.git", exact: "2.4.1"), + .package(url: "https://github.com/dfed/SafeDI.git", exact: "2.4.6"), ], ) From bce34826ff7bdcd04a2775ef953314fd60f13dd6 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 3 Dec 2026 20:35:14 +0000 Subject: [PATCH 2/2] Keep the Bazel example on 2.4.1 until the registry publishes 2.4.6 The Bazel Central Registry serves SafeDI up to 2.4.3; its 2.4.5 and 2.4.6 entries await review. A copy of the example outside this repository resolves its bazel_dep from the registry, so its pin moves once 2.4.6 is there. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HLuVQJxZR42VrtN7c3zPbu --- Examples/ExampleBazelIntegration/MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleBazelIntegration/MODULE.bazel b/Examples/ExampleBazelIntegration/MODULE.bazel index d9a57cac8e..ddf87493d5 100644 --- a/Examples/ExampleBazelIntegration/MODULE.bazel +++ b/Examples/ExampleBazelIntegration/MODULE.bazel @@ -16,7 +16,7 @@ module( bazel_dep(name = "rules_swift", version = "3.6.1") bazel_dep(name = "rules_apple", version = "4.5.0") bazel_dep(name = "apple_support", version = "2.5.4") -bazel_dep(name = "safedi", version = "2.4.6") +bazel_dep(name = "safedi", version = "2.4.1") # local_path_override applies only when this module is root # (i.e. when you run `bazel build` from this directory). BCR