Weaver Versions Save

Dependency Injection framework for Swift (iOS/macOS/Linux)

1.1.5

1 year ago

• Added a new .project parameter to specify dependencies by arbitrary project name.

1.1.4

1 year ago
  • Fixed a bug where the .platforms annotation was not always being respected. This would cause cross platform dependencies to show up in the testing container.
  • Fixed a bug with the command line parameter project-path not being applied to the output directories in the yaml file.

1.1.3

1 year ago

This fixes a few issues:

  • added a new configuration property product_name.
  • two (or more) dependencies that rely on the same concrete class that fulfills multiple abstractions.
  • a compile issue where dependency containers for a framework marked @objc would collide in the Xcode autogenerated bridging header.
  • fixed the ignored_paths configuration property.

1.1.2

1 year ago

Fixes a bug with nested declarations that include parameters and have an InternalDependencyResolver.

1.1.0

1 year ago

• Weaver 1.1.0 adopts a new memory pattern in the dependency container from the original 1.0.0 design. It now relies on a private copied class object instead of weak referencing up the tree.

1.0.8

2 years ago
  • Fixed transient dependencies. All inherited transient depenencies by child nodes will now always generate a unique instance of that object. Additionally, this fixes an over-retain issue inside of the dependency containers that was caused by transient dependencies. (4389561196f7246757315017b11bd5a943f9d186)

1.0.7

3 years ago

Bug fixes

  • Fixed root dependency container builder function not being accessible when one or more dependencies are resolved by type (6dc670)
  • Fixed runtime crash caused by dependency references declared with a different name than their resolved registration (f5f52d)

1.0.6

3 years ago

New features

  • Possibility to associate dependencies to one or more platforms in order to support multi platform compilation (#148).
  • Possibility to exclude or include modules to import in generated files (#148).

Bug fixes

  • Parameter --input_paths was wrongly requiring whitespaces and slashes to be escaped (#148).
  • Cache was unable to save if the containing directory wouldn't exist (#148).
  • Cache was not invalidated when removing paths from the input paths list (#148).

1.0.5

3 years ago

New features

  • New option to disable all SwiftLint warnings / errors (#144). Thanks @happynik!

Bug fix

  • Tests file is back to WeaverTests.swift rather than Weaver.swift

1.0.4

3 years ago

New features

  • Mint support (#143, #135). Thanks @jimmya!

Improvements

  • Renamed proxy resolvers to align their name with other resolvers (#133). Thanks @MontakOleg!

Bug fixes

  • Fixed parsing of generic types (#137).