What's Changed
- Added:
DependencyKey
andTestDependencyKey
now have aValue
primary associated type (#173). - Added:
@Dependency(MyDependency.self)
, for specifying a dependency by a type name instead of a key path (#172). - Fixed: Test values are now cached when accessed in a live context (thanks @oronbz, #78). This ensures a dependency isn't recreated every single time it is accessed in an application.
- Fixed:
XCTest
is now dynamically linked on non-Apple platforms, like Linux and Windows (thanks @compnerd, #169). - Infrastructure: Improved macro warning message (thanks @ZevEisenberg, #167).
- Infrastructure: Updated installation snippet (thanks @x-0o0, #168).
- Infrastructure: Simplify WASI handling in tests (thanks @compnerd, #170).
New Contributors
- @ZevEisenberg made their first contribution in #167
- @compnerd made their first contribution in #170
Full Changelog: 1.1.5...1.2.0