Releases: hmlongco/Factory
Releases · hmlongco/Factory
Release 2.1.3
- Fix singleton scope issue with SharedContainer across multiple container types. Issue - #92
- Fix unit test context to detect when run from command line. Issue - #94
- Fix where new registration on Factory also clears singleton cache. Issue - #96
- Minor update to trace logging for better presentation of nil optionals
Release 2.1.2
- Fixing POD issue
Release 2.1.1
- Fix SPM/POD build issue
Release 2.1.0
- Contexts allow quick and easy Factory customization when doing previews, debugging and testing.
- Provides once modifier which allows one-time initialization on a per-Factory basis.
- Let's you define the default scope used for a given container.
- Allows you to specify promised optionals that warn when registrations are not provided.
- Singletons now span containers and are cached separately.
- Factory library now implemented across multiple files.
Release 2.0.3
- AutoRegister should be retriggered after resetting registrations.
Release 2.0.2
- Registration on a new container could be overriden by auto registration on same Factory
- Some internal code reorginization for performance
Release 2.0.1
- Minor issue in that new scope registration function doesn't allow scope to be reset to unique
- Add watchos.deployment_target = "8.2" - Issue #54
Release 2.0
Factory 2.0 Release
- Adds true Factory containers for container-based dependency resolution
- Adds container-based scopes
- Adds decorators to containers and factories
- Adds debug trace support
- Adds ability to specify scope during dependency assembly and registration
- Adds keyPath-based property wrappers
- Adds a new InjectedObject property wrapper for SwiftUI Views
- Fixes circular dependency check when same class name used in separate modules.
Note that version 2.0 is a breaking change over 1.0. See the Migration documentation for more details.
Release 1.3.7
1.3.7
- Circular dependency check bugfix for passthrough types
Version 1.3.6
- Circular dependency check bugfix for duplicate class names in multiple modules