Skip to content

Releases: dfed/SafeDI

2.0.0-rc-3

06 May 05:51

Choose a tag to compare

2.0.0-rc-3 Pre-release
Pre-release

What's Changed

  • Tuist example: bump SafeDI to 2.0.0-rc-2 + move CI to Xcode 26.0 by @dfed in #293
  • ci: retry bazel build on transient CDN flakes by @dfed in #294
  • Fix BCR presubmit: declare apple_support and pin host deployment target by @dfed in #295

Full Changelog: 2.0.0-rc-2...2.0.0-rc-3

2.0.0-rc-2

04 May 18:24

Choose a tag to compare

2.0.0-rc-2 Pre-release
Pre-release

What's Changed

  • .bcr/presubmit.yml: target macos_arm64 by @dfed in #291
  • Lower swift-tools-version to 6.2 for BCR compatibility by @dfed in #292

Full Changelog: 2.0.0-rc-1...2.0.0-rc-2

2.0.0-rc-1

02 May 19:19

Choose a tag to compare

2.0.0-rc-1 Pre-release
Pre-release

What's Changed

  • Examples: add Tuist multi-target integration example by @dfed in #281
  • Docs: flag additionalDirectoriesToInclude as SPM-Xcode only by @dfed in #289
  • Bazel: native build of SafeDI + safedi_compile rule + restored example by @dfed in #282
  • Tuist: rename preCompileScript dependents: to dependencies: by @dfed in #290
  • BCR: automate publishing SafeDI to the Bazel Central Registry by @dfed in #287

Full Changelog: 2.0.0-beta-6...2.0.0-rc-1

2.0.0-beta-6

02 May 04:02

Choose a tag to compare

2.0.0-beta-6 Pre-release
Pre-release

What's Changed

  • Install: rename verb back to safedi-release-install (matches 1.x) by @dfed in #278
  • Docs: consolidate closure override examples by @dfed in #280
  • Clarify mock API buckets in manual by @dfed in #284
  • Add required initializers to README and DocC examples by @dfed in #285
  • SafeDITool: add --combined-output flag to generate by @dfed in #283
  • Polish 2.0 beta documentation feedback by @dfed in #286

Full Changelog: 2.0.0-beta-5...2.0.0-beta-6

2.0.0-beta-5

21 Apr 01:48

Choose a tag to compare

2.0.0-beta-5 Pre-release
Pre-release

What's Changed

  • Docs: document SafeDI cycle mechanics, erasure matrix, and selected init by @dfed in #270
  • README: remove phantom Features-table header + drop 'Or skip ahead' by @dfed in #274
  • Plugin: strip comments and strings before PluginScanner regex match by @dfed in #271
  • Tests: enable compile verification on five previously-skipped mock tests by @dfed in #276
  • Docs: enable SPI-hosted DocC + landing page + CI guard by @dfed in #275
  • Plugins: restore InstallSafeDITool download command for Xcodeproj users by @dfed in #273
  • Install: follow-up style cleanup for InstallSafeDITool + Xcode build plugin by @dfed in #277
  • SafeDITool: cache parsed ModuleInfo from scan → generate by @dfed in #272

Full Changelog: 2.0.0-beta-4...2.0.0-beta-5

2.0.0-beta-4

20 Apr 06:25

Choose a tag to compare

2.0.0-beta-4 Pre-release
Pre-release

What's Changed

  • Polish beta docs and generator cleanup by @dfed in #253
  • Docs: rewrite README and refactor notes Example around User forwarding by @dfed in #254
  • Docs polish, test renames, codegen cleanup by @dfed in #255
  • Fix mock generation using init signature instead of hand-written mock by @dfed in #257
  • Tests: declare Instantiable conformance directly in fixtures by @dfed in #260
  • Tests: give User/ViewModel stand-ins explicit init signatures by @dfed in #262
  • Tests: make code generation fixtures cross-platform by @dfed in #263
  • CI: back off retry attempts with exponential delay to ride out 504s by @dfed in #258
  • Sources: route mock aliases through production topological sort by @dfed in #261
  • Update fixtures to be closer to what is required to compile by @dfed in #264
  • Generator fixes: per-type Sendable, unlabeled-default thunking, erased init wrap by @dfed in #265
  • Generator: emit @escaping for @received closure parameters on mock() by @dfed in #267
  • Tests: typecheck SafeDITool-generated code against its inputs by @dfed in #256
  • Generator: mock() returns customMock's return type when it differs from Self by @dfed in #266
  • Tests: skip preemptive inputs-only typecheck in compile verifier by @dfed in #269
  • Macro: diagnose Self.* refs in default expressions by @dfed in #268
  • Generator: break multi-hop mock-config cycles with a global feedback arc set by @dfed in #259

Full Changelog: 2.0.0-beta-3...2.0.0-beta-4

2.0.0-alpha-18-xcode-plugin-test

20 Apr 20:38

Choose a tag to compare

Pre-release

What's Changed

  • Docs: document SafeDI cycle mechanics, erasure matrix, and selected init by @dfed in #270
  • README: remove phantom Features-table header + drop 'Or skip ahead' by @dfed in #274
  • Plugin: strip comments and strings before PluginScanner regex match by @dfed in #271
  • Tests: enable compile verification on five previously-skipped mock tests by @dfed in #276
  • Docs: enable SPI-hosted DocC + landing page + CI guard by @dfed in #275

Full Changelog: 2.0.0-beta-4...2.0.0-alpha-18-xcode-plugin-test

2.0.0-beta-3

15 Apr 04:42

Choose a tag to compare

2.0.0-beta-3 Pre-release
Pre-release

What's Changed

  • Add package resolution retry to all CI jobs by @dfed in #252
  • Improve mock generation for fulfilledByType and mockOnly coexistence by @dfed in #250
  • Fix mock closure types to use property type and handle erased existentials by @dfed in #251

Full Changelog: 2.0.0-beta-2...2.0.0-beta-3

2.0.0-beta-2

12 Apr 17:42

Choose a tag to compare

2.0.0-beta-2 Pre-release
Pre-release

What's Changed

  • Fix forwarded mock default when mock has required parameters by @dfed in #249

Full Changelog: 2.0.0-beta-1...2.0.0-beta-2

2.0.0-beta-1

12 Apr 16:24

Choose a tag to compare

2.0.0-beta-1 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0.0-alpha-17...2.0.0-beta-1