Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

5.4.0 - April fools

Compare
Choose a tag to compare
@mikey179 mikey179 released this 31 Dec 17:30
· 141 commits to master since this release

BC breaks

  • Enabled session scoped bindings even when no session exists. However, retrieving a session scoped instance without setting a session will throw a \RuntimeException
  • deprecated stubbles\ioc\Binder::setSessionScope(), use built-in session scope with session interface instead, will be removed with 6.0.0
  • added stubbles\ioc\binding\Session as simple session interface for the built-in session scope
  • added stubbles\ioc\Injector::setSession() to provide session instance for session binding scope, will also bind session interface to this instance so it is available for injection

Other changes

  • added stubbles\streams\StandardInputStream
  • added stubbles\streams\StandardOutputStream
  • annotated stubbles\lang\errorhandler\ExceptionLogger with @Singleton
  • added stubbles\lang\castToArray()
  • stubbles\lang\Sequence::append() now accepts anything