Releases: cashapp/knit
Releases · cashapp/knit
1.7.2
What's Changed
- Doc updates by @bradfol in #260
- Add support for
any Protocol
types to @resolvable macro by @bradfol in #261 - Remove SwinjectAutoregistration and autoregisterIntoCollection by @skorulis-ap in #259
- Add CI test for Swift 5 & 6 by @luispadron in #264
- Relax swift-syntax requirement by @luispadron in #263
Full Changelog: 1.7.1...1.7.2
1.7.1
What's Changed
- Allow arbitrary names for the Resolvable macro by @skorulis-ap in #258
Full Changelog: 1.7.0...1.7.1
1.7.0
What's Changed
- Add MainActor support for the Resolvable macro by @skorulis-ap in #248
- Always generate computed getter if alias is specified by @bradfol in #251
- Rename
getter-named
command toalias
by @bradfol in #252 - Add documentation for macros by @skorulis-ap in #253
- Apply custom tags at the assembly level to all registrations by @skorulis-ap in #249
- Add @UseDefault property wrapper for Resolvable macro by @skorulis-ap in #254
- Add support for generic types to the Resolvable macro by @skorulis-ap in #256
- Create KnitTesting module to prevent generating assertResolve functions by @skorulis-ap in #250
- Add support for optional parameters to the Resolvable macro by @skorulis-ap in #255
- Add TypeNamer handling for multiple generics by @skorulis-ap in #257
Full Changelog: 1.6.0...1.7.0
1.6.0
What's Changed
- Add Knit directive to disable code gen of performance functions by @skorulis-ap in #233
- Fix gencode script for erb files by @bradfol in #234
- Fix Resolver hierarchy + shadowed registration resolution by @bradfol in #235
- Only allow for synchronized containers when using Knit by @bradfol in #240
- Remove Swinject Assembly by @skorulis-ap in #239
- Expose AbstractRegistration publicly to allow external registrations to be created by @skorulis-ap in #236
- Break CommentCommands into a separate documentation file and update by @skorulis-ap in #237
- Throw an error when using redundant @knit access control by @skorulis-ap in #238
- Fix error messages for comment commands by @bradfol in #242
- Remove getter-callAsFunction directive by @skorulis-ap in #246
- Encode ifConfigCondition for Registration by @skorulis-ap in #243
- Add custom directive to be consumed by external scripts by @skorulis-ap in #244
- Create Resolvable macro by @skorulis-ap in #232
Full Changelog: 1.5.0...1.6.0
1.5.0
What's Changed
- Add Swinject as an internal dependency by @skorulis-ap in #224
- Improve performance of DependencyBuilder by @skorulis-ap in #226
- Handle type names prefixed with
any
by @skorulis-ap in #225 - Sanitize the Service name used for Argument unit tests by @bradfol in #227
- Implement DuplicateRegistrationDetector for whole graph Containers by @bradfol in #213
- Documentation improvements by @bradfol in #228
- Remove force resolve operator
~>
by @bradfol in #229 - Remove obsolete XCTestManifests files by @bradfol in #230
- Add handling for common cases inside TypeNamer by @skorulis-ap in #231
Full Changelog: 1.2.1...1.5.0
1.2.1
1.2.0
What's Changed
- Rename the KnitCommand target to knit-cli by @skorulis-ap in #217
- Create OptionalAbstractRegistration type by @skorulis-ap in #216
- Improve type name generation of prefixed names by @skorulis-ap in #218
- Automatically make autoregister closures @escaping by @skorulis-ap in #220
- Throw an error if getter-named is redundant by @skorulis-ap in #219
- Add concurrency support for abstract registrations by @bradfol in #221
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Remove defaultExtensionTargetResolver option by @bradfol in #208
- Couple documentation updates by @bradfol in #209
- Remove support for
Swinject.Assembly
as the base assembly type by @bradfol in #210 - Improve Swift 6 toolchain support by @bradfol in #211
- Fix AbstractRegistration placeholder bug by @bradfol in #215
Full Changelog: 1.0.9...1.1.0