Skip to content

Releases: dfed/SafeDI

2.0.0-alpha-9

07 Apr 17:11
1ef8be8

Choose a tag to compare

2.0.0-alpha-9 Pre-release
Pre-release

What's Changed

  • Validate forwarded-property constraint in mock scope mapping by @dfed in #224
  • Move @SafeDIConfiguration docs to its own section under Macros by @dfed in #225
  • Move lint.sh under CLI directory by @dfed in #226
  • Change @SafeDIConfiguration to #SafeDIConfiguration freestanding macro by @dfed in #227

Full Changelog: 2.0.0-alpha-8...2.0.0-alpha-9

2.0.0-alpha-8

06 Apr 22:01
4a4249e

Choose a tag to compare

2.0.0-alpha-8 Pre-release
Pre-release

What's Changed

  • Bump Prebuilt example by @dfed in #221
  • Split SafeDIToolMockGenerationTests into focused test files by @dfed in #223
  • Symlink SafeDICore into SafeDIMacros to eliminate x86_64 host builds by @dfed in #222

Full Changelog: 2.0.0-alpha-7...2.0.0-alpha-8

2.0.0-alpha-7

06 Apr 18:02
8a186b4

Choose a tag to compare

2.0.0-alpha-7 Pre-release
Pre-release

What's Changed

  • Fix mock code gen for dependency cycles through Instantiator boundaries by @dfed in #219
  • Detect and error on partially-lazy dependency cycles by @dfed in #220
  • Remove swift-collections dependency by @dfed in #218

Full Changelog: 2.0.0-alpha-6...2.0.0-alpha-7

2.0.0-alpha-6

06 Apr 06:11
ab4d828

Choose a tag to compare

2.0.0-alpha-6 Pre-release
Pre-release

What's Changed

  • Add customMockName parameter for generateMock + hand-written mock coexistence by @dfed in #216
  • Get code coverage to 100% by @dfed in #217

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

2.0.0-alpha-5

05 Apr 14:46
1114b38

Choose a tag to compare

2.0.0-alpha-5 Pre-release
Pre-release

What's Changed

  • Accept fulfillingAdditionalTypes as valid mock return types in macro by @dfed in #215

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

2.0.0-alpha-4

05 Apr 04:28
a1c24df

Choose a tag to compare

2.0.0-alpha-4 Pre-release
Pre-release

What's Changed

  • Get ExamplePrebuiltPackageIntegration using v2 by @dfed in #211
  • Allow mock() to return fulfillingAdditionalTypes with return-type-aware dispatch by @dfed in #213
  • Error when generateMock: true conflicts with user-defined mock method by @dfed in #214

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

2.0.0-alpha-3

04 Apr 23:41
54179d4

Choose a tag to compare

2.0.0-alpha-3 Pre-release
Pre-release

What's Changed

  • Validate handwritten mock() method return type, visibility, and uniqueness by @dfed in #210

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

2.0.0-alpha-2

04 Apr 22:49
8ba585b

Choose a tag to compare

2.0.0-alpha-2 Pre-release
Pre-release

What's Changed

  • Pre-release polish for 2.0.0 by @dfed in #206
  • Fix mock generation for default-valued parameters with underscore labels by @dfed in #209
  • Control mock generation per type via @INSTANTIABLE(generateMock: true) by @dfed in #208

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

2.0.0-alpha-1

04 Apr 06:36
202389f

Choose a tag to compare

2.0.0-alpha-1 Pre-release
Pre-release

What's Changed

  • Add @SafeDIConfiguration macro to replace CSV config by @dfed in #199
  • Bump to v2.0.0, require Swift 6.3, remove CocoaPods support by @dfed in #201
  • Generate one output file per root @INSTANTIABLE by @dfed in #202
  • Replace plugin root regex with SafeDIRootScanner by @dfed in #203
  • Fix additionalDirectoriesToInclude on the Xcode/plugin path by @dfed in #205
  • Add mock generation for @INSTANTIABLE types by @dfed in #204

Full Changelog: 1.5.4...2.0.0-alpha-1

1.5.4

25 Mar 20:46
b81984c

Choose a tag to compare

What's Changed

  • Bump activesupport from 7.2.2.1 to 7.2.3.1 in the bundler group across 1 directory by @dependabot[bot] in #197
  • Drop swift-macro-testing to unblock SwiftSyntax updates by @dfed in #198

Full Changelog: 1.5.3...1.5.4