This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
6.0.0 - The release that wasn't but is
BC breaks
stubbles\ioc
does not support setter injection any more, deprecated since 5.1.0- removed
stubbles\ioc\Binder::setSessionScope()
, deprecated since 5.4.0 - removed old reflection, deprecated since 5.3.0:
stubbles\lang\reflect\BaseReflectionClass
stubbles\lang\reflect\MixedType
stubbles\lang\reflect\ReflectionClass
stubbles\lang\reflect\ReflectionExtension
stubbles\lang\reflect\ReflectionFunction
stubbles\lang\reflect\ReflectionMethod
stubbles\lang\reflect\ReflectionObject
stubbles\lang\reflect\ReflectionParameter
stubbles\lang\reflect\ReflectionPrimitive
stubbles\lang\reflect\ReflectionProperty
stubbles\lang\reflect\ReflectionRoutine
stubbles\lang\reflect\ReflectionType
stubbles\lang\reflect\matcher\MethodMatcher
stubbles\lang\reflect\matcher\PropertyMatcher
stubbles\lang\typeFor()
stubbles\lang\reflect\annotation\Annotatable
stubbles\lang\reflect\annotation\Annotations::of()
stubbles\lang\reflect()
now returns PHP's internal reflection classesParse::toClass()
now returns\ReflectionClass
- removed
stubbles\ioc\App::bindCurrentWorkingDirectory()
, usestubbles\ioc\App::currentWorkingDirectory()
instead, deprecated since 5.0.0 - removed
stubbles\ioc\App::bindHostname()
, usestubbles\ioc\App::hostname()
instead, deprecated since 5.0.0 - removed several exceptions where build-in exceptions in PHP exist, deprecated since 5.0.0:
stubbles\lang\exception\IllegalAccessException
, useLogicException
insteadstubbles\lang\exception\IllegalArgumentException
, useInvalidArgumentException
insteadstubbles\lang\exception\IllegalStateException
, useLogicException
insteadstubbles\lang\exception\MethodInvocationException
, useBadMethodCallException
insteadstubbles\lang\exception\MethodNotSupportedException
, useBadMethodCallException
insteadstubbles\lang\exception\RuntimeException
, use nativeRuntimeException
instead
- removed
stubbles\lang\exception\Throwable
, deprecated since 5.0.0 - split
stubbles\peer\Socket
into two classesstubbles\peer\Socket::connect()
now returns an instance ofstubbles\peer\Stream
- all functionallity to read and write on a socket is now in
stubbles\peer\Stream
- removed
stubbles\peer\BsdSocket
stubbles\peer\IpAddress::openSocket()
andstubbles\peer\IpAddress::openSecureSocket()
now returnstubbles\peer\Stream
Other changes
- added
stubbles\lang\Result
@ImplementedBy
can now be speficied per runtime mode- it is not required any more to mark constructors with
@Inject
when they should be subject to dependency injection - added
stubbles\peer\IpAddress::createSocket()
andstubbles\peer\IpAddress::createSecureSocket()
- improved speed for
stubbles\peer\http\HttpUri::hasDnsRecord()
by checking only relevant DNS records - sequences returned from the following methods now have the name of the method/property/parameter as key:
stubbles\lang\reflect\methodsOf()
stubbles\lang\reflect\propertiesOf()
stubbles\lang\reflect\parametersOf()
stubbles\lang\reflect\parametersOfConstructor()
stubbles\lang\reflect\parameter()
stubbles\lang\reflect\constructorParameter()