Skip to content

Releases: hmlongco/Factory

Release 2.1.3

09 Apr 16:09
Compare
Choose a tag to compare
  • 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

29 Mar 03:52
Compare
Choose a tag to compare
  • Fixing POD issue

Release 2.1.1

29 Mar 03:44
Compare
Choose a tag to compare
  • Fix SPM/POD build issue

Release 2.1.0

28 Mar 23:54
Compare
Choose a tag to compare
  • 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

10 Mar 21:36
Compare
Choose a tag to compare
  • AutoRegister should be retriggered after resetting registrations.

Release 2.0.2

06 Mar 15:55
Compare
Choose a tag to compare
  • Registration on a new container could be overriden by auto registration on same Factory
  • Some internal code reorginization for performance

Release 2.0.1

04 Mar 21:42
Compare
Choose a tag to compare
  • 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

02 Mar 02:52
Compare
Choose a tag to compare

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

18 Feb 18:25
Compare
Choose a tag to compare

1.3.7

  • Circular dependency check bugfix for passthrough types

Version 1.3.6

29 Jan 02:09
Compare
Choose a tag to compare
  • Circular dependency check bugfix for duplicate class names in multiple modules