Skip to content

Releases: xp-forge/inject

6.0.0: XP 12 compatibility, PHP 7.4+

Choose a tag to compare

@thekid thekid released this 24 Mar 11:33

5.5.0: Eager singletons

Choose a tag to compare

@thekid thekid released this 30 Jul 08:09
  • Merged PR #31: Make it possible to pass instances to singleton()
    (@thekid)
  • Merged PR #29: Migrate to new testing library - @thekid

5.4.0: Simplified primitives

Choose a tag to compare

@thekid thekid released this 04 Sep 15:22
  • Prefer float over double for floating point numbers. Consistent
    with PHP's type system, see xp-framework/core#213
    (@thekid)
  • Merged PR #28: Fix type errors with primitive bindings - @thekid
  • Merged PR #27: Simplify string bindings (in ConfiguredBindings). Now,
    string bindings can be intuitively written as key=value.
    (@thekid)

5.3.0: Exception consistency

Choose a tag to compare

@thekid thekid released this 10 Mar 21:16
  • Merged PR #26: Wrap instance creation errors in instanceOf() - @thekid

5.2.0: Type union injection

Choose a tag to compare

@thekid thekid released this 06 Mar 10:15
  • Merged PR #25: Try injecting all members in a type union, don't stop
    at the first error. This is the correct fix for #24
    (@thekid)

5.1.2: Injection lookup loop fix

Choose a tag to compare

@thekid thekid released this 03 Mar 20:43
  • Quickfixed #24: Endless loop when injecting webservices.rest.Endpoint
    by raising an exception. This is not perfect yet but definitively an
    improvement over a crashing program!
    (@thekid)

5.1.1: XP 11, PHP 8.1 compatibility

Choose a tag to compare

@thekid thekid released this 21 Oct 16:21

5.1.0: Named binding precedence

Choose a tag to compare

@thekid thekid released this 17 Jul 15:06
  • Changed implementation to check named bindings before resorting to
    parameters' default values
    (@thekid)

5.0.2: Nullable fix

Choose a tag to compare

@thekid thekid released this 17 Jul 14:50
  • Fixed compatibility with XP 10.6.0's nullable types - @thekid

5.0.1: PHP8 compatibility fix

Choose a tag to compare

@thekid thekid released this 29 Nov 00:37
  • Fixed ParseError (syntax error, unexpected token "@") in PHP 8.0
    (@thekid)