Changelog

Release 0.3.0

Released on 2007/10/02.

  • Core/general
    • added stubObject::getPackageName() as shortcut for retrieving the name of the package where the class is located in (mikey)
    • BC-BREAK: made stubSerializableObject::__sleep() and stubSerializableObject::__wakeup() final, added template methods to hook into serializing/unserializing (mikey)
    • enhancement #70: added stubRequest::addValueError(stubRequestValueError $valueError, $valueName, $source = self::SOURCE_PARAM) (mikey)
    • fixed bug in stubAnnotationFactory::create(): use target and target name for calculating the hash to prevent that textually equal docblocks on different targets will return the annotation from the first parsed docblock (mikey)
    • BC-BREAK: major rework of class locations (mikey)
      • moved net.stubbles.stubObject, stubBaseObject and stubClonable from net.stubbles to net.stubbles.lang
      • moved net.stubbles.stubSerializable, stubSerializableObject and stubSerializedObject to net.stubbles.lang.serialize
      • moved net.stubbles.util.exceptions to net.stubbles.lang.exceptions
      • moved all exception classes from net.stubbles to net.stubbles.lang.exceptions
    • added stubIOException and stubFileNotFound exceptions (schst)
    • added net.stubbles.lang.exceptions.stubIllegalAccessException (mikey)
    • added net.stubbles.lang.exceptions.stubThrowable and net.stubbles.lang.exceptions.stubRuntimeException, net.stubbles.lang.exceptions.stubException now implements stubThrowable, changed some thrown stubExceptions into stubRuntimeExceptions (mikey)
    • added net.stubbles.lang.stubEnum (mikey)
  • Events
  • Inversion of Control
    • Implemented a new Inversion of Control system based on Google Guice (schst)
    • BC-BREAK: removed old IoC code from net.stubbles.ioc, as this is obsolete (schst)
    • Moved Inversion of Control code from net.stubbles.ioc.injection to net.stubbles.ioc (schst)
  • JSON-RPC
    • Enhancement #51: Added the possibility to define the filename for the JSON-RPC service configuration via the registry (schst)
    • Improved error handling in case the service file does not exist (schst)
    • Added the ability to inject the session via the @Inject annotation into a service (schst)
    • Examples now use YUI 2.3.0 if online version is used (schst)
    • moved net.stubbles.websites.processors.stubJsonRpcProcessor to net.stubbles.service.jsonrpc.stubJsonRpcProcessor (mikey)
    • Service classes are now instantiated by the stubInjector to be able to configure them properly (schst)
    • Fixed ticket #53 (schst)
    • Implemented enhancement #59: The JSON-RPC-processor now creates SMD according to the DOJO specifications (schst)
  • Util
    • net.stubbles.util.datespan.stubDateSpan* now implements net.stubbles.stubSerializable (mikey)
    • enhanced net.stubbles.util.net.stubURL: added getUser(), getPassword(), getParam(), setPort() (mikey)
    • added net.stubbles.util.validators.stubExtFilterValidator as a wrapper for validators provided by ext/filter (schst)
    • net.stubbles.util.xjconf.stubConfigXJConfExtension: added support for append attribute that allows to append something to the returned path (mikey)
    • net.stubbles.util.cache.stubFileCacheContainer: use DIRECTORY_SEPERATOR instead of hardcoded slash, escape key to prevent that DIRECTORY_SEPERATOR is contained in key and therefore in filename (mikey)
    • added net.stubbles.util.cache.stubXJConfCacheStrategy (mikey)
  • XML
    • Fixed bug #71: stubXMLStreamWriter should extend stubObject (schst)
    • Fixed bug #72: Improved error handling in stubXMLMatcherAnnotation (schst)
    • Fixed bug #73: Improved error handling in stubDOMXMLStreamWriter (schst)
    • Added testcase for stubXMLMatcherAnnotation (schst)
  • Build System
    • added new Phing task for minifying javascript files (mikey)
    • use only minified javascript files in release (mikey)
    • Added the ability to build a release containing only Inversion of Control functionality (schst)
  • MVC
    • XML/XSL component
      • allow usage of cfg namespace and stubConfigXJConfExtension in page definitions (mikey)
      • added net.stubbles.websites.xml.stubXMLPassThruPageElement (mikey)
      • fixed ticket #76 (nsteiner & mikey)
      • fixed ticket #58 (mikey)
      • fixed ticket #68 (nsteiner & mikey)
      • implemented enhancement #62 (mikey)
  • Reflection
    • bugfix: PHP reflection classes return false if no parent class exists: change checking of return values in own reflection classes (mikey)
    • fixed ticket #77 (mikey)
    • added getReturnType() for net.stubbles.reflection.stubReflectionFunction and net.stubbles.reflection.stubReflectionMethod (mikey)
  • Session
  • RDBMS
    • got rid of the stubPersistable interface, persistence api now works completely annotation-based (mikey)

For a list of closed tickets in this release take a look at the roadmap.

Other releases

See Changelog.