Skip to content

Releases: goaop/framework

Version 0.4.1 of Go! AOP Framework

27 Aug 18:57
Compare
Choose a tag to compare
  • Better parsing of complex "include" expressions for Yii (by @zVIRUSz)
  • Support for dynamic arguments count for methods by checking for func_get_args() inside method body
  • Fixed a bug with autoloaders reodering (by @zVIRUSz)

Version 0.4.0 of Go! AOP Framework

04 Aug 20:01
Compare
Choose a tag to compare

This release contains a lot of new features. Here are the short changelog for them:

  • Privileged advices for aspect: allows to access private and protected properties and methods of objects inside advice
  • Full integration with composer that allows for easy configuration and workflow with AOP
  • Fix some bugs with caching on Windows
  • "True" pointcut references that gives the ability to compose a complex pointcut from a simple pointcuts.
  • Pointcut now accept "$this" in references to point to the current aspect instance
    (Allows for abstract aspects and abstract pointcuts)
  • AspectContainer interface was extracted. This gives the way to integrate with another DIC. Look at Warlock framework.
  • Intercepting system functions such as fopen(), file_get_contents(), etc
  • Annotation property pointcut was added
  • Ability to declare multiple interfaces and/or traits with single DeclareParent introduction
  • DeclareError interceptor was added. This can be used for generating an runtime error for methods that should not be executed
    in such a way.