Componette

Componette

Kdyby

Kdyby / Autowired v3.0.2

Syntax sugar for working with services in Nette Framework

download-cloud-line composer require kdyby/autowired
  • v3.0.2 3.0.2

    • PHP 8.3 compatibility
  • v3.0.1 3.0.1

    • Add support for nette/utils 4
  • v3.0.0 3.0.0

    • Removed support for using stand-alone autowire traits without registering DI extension (BC break)
    • Removed support for autowiring properties without native PHP property types (BC break)
    • Removed support for phpdoc @autowire annotation in favor of native PHP attribute (BC break)
    • Store the autowired services in original properties and allow their overwriting
    • Explicitly restrict maximum supported PHP version
  • v2.3.0 2.3.0

    • Invalidate cache also on any change in any trait used by the component or presenter
    • Common caching logic used by both autowire traits extracted to shared service
    • Improved test coverage
    • Dropped support for PHP 7.x
    • PHP 8.2 compatibility

    Deprecations:

    • Deprecated usage of stand-alone autowire traits without registering DI extension
    • Deprecated phpdoc annotations in favor of native PHP attributes
    • Deprecated support for autowiring properties without native PHP property types
  • v2.2.1 2.2.1

    • Fixed DI extension compatibility with latest Nette.
  • v2.2.0 2.2.0

    Added

    • Added support for PHP 8 Autowire attribute as an alternative to @autowire property annotation
    • Added PHP 8.1 support

    Changes and fixes

    • Fixed compatibility with latest nette/di
    • Bumped minimum required versions of Nette dependencies
    • Fix edge case check for component creation in autowired component factories
    • Improved autowiring validation for both autowired component factories and properties

    Removed

    • Removed support for PHP <7.4

    Internal improvements

    • Migrated CI from Travis to Github Actions
    • Increased code coverage
    • Analyse tests by PHPStan
    • Check coding standard by PHP CodeSniffer
  • v2.1.1 2.1.1

    • PHP 8.0 compatibility.
  • v2.1.0 2.1.0

    • AutowireProperties: add support for native property typehints.
    • AutowireProperties: add support for native return typehint of factory service.
    • Dropped abandoned nette/reflection dependency.
  • v2.0.1 v2.0.1

    Updated for nette/di 3.0.2.

  • v2.0.0 v2.0.0

    Updated for Nette 3.0.

  • v1.5.0 v1.5.0

    • Fix compatibility with PHP 7.2 (by @xificurk).
    • Drop HHVM support.
  • v1.4.0 v1.4.0

    • #22 Fixed Nette/Reflection usage with Nette 2.4; thx @JanBukva

    This release is for Nette ~2.3 (and is compatible with ~2.4)

  • v1.3.1 v1.3.1

    • Fixed usage of autowire annotations in traits

    This release is for Nette 2.3

  • v1.3.0 v1.3.0

    • support for changing of storage

    This release is for Nette 2.3

  • v1.2.1 v1.2.1

    • support for changing of storage

    This release is for Nette 2.2

  • v1.2.0 v1.2.0

    • fixed compatibility with Nette
    • Minimum Nette version is 2.2
  • v1.1.1 v1.1.1

    Travis build tweaks

  • v1.1.0 v1.1.0

    • added better linting
    • forward compatibility with Nette and Tracy
    • support for imported classnames (reflects use declarations using build-in Nette mechanism)
  • v1.0.1 v1.0.1

    • Fixed compatibility with Nette
    • minor bugfixes
  • v1.0.0 v1.0.0

bar-chart-fill

Statistics

download-cloud-fill
710953
star-fill
29
bug-fill
0
flashlight-fill
176d
price-tag-2-line

Badges

guide-fill

Dependencies

nette/di (^2.4.7@dev)
nette/reflection (^2.4.2@dev)
tracy/tracy (^2.4@dev)
Componette Componette felix@nette.org