Changelog

Release 0.4.0

Released on 2008/01/02.

  • Build System
    • fixed ticket #85 (mikey)
  • Examples
    • Fixed JSON-RPC example by adding the stubIOCPreInterceptor to the example config (schst)
    • Added JSON-RPC example using Dojo as client (schst)
  • Inversion of Control Container
    • Added type safety check to instance bindings (schst)
    • Added abstract base class for interceptors that configure the binder (schst)
    • Added IoC documentation (schst)
    • Fixed notice in stubInjector, when requesting an instance for an undefined binding (schst)
    • Removed dependency on concrete reflection class, use interface instead to allow usage of stubReflectionObject as well (mikey)
    • Fixed bug #102: Implicit binding does not work if requested via Inject() (mikey)
  • JSON-RPC
    • Bugfixed SMD generation and JSON-RPC processor to be compatible with Dojo (schst)
    • BC-BREAK: removed use-firebug configuration switch, decision on whether to output error messages via Firebug is now based on the mode, see enhancement #113 (mikey)
    • removed service-url from json-rpc config file. The service-url has to be set manually now or via a template variable, see enhancement #115 (rist)
  • Core/general
    • added net::stubbles::php::string string en-/decoder classes (mikey)
    • added net::stubbles::lang::exceptions::stubMethodNotSupportedException (mikey)
    • made net::stubbles::ipo::request::filters::stubPasswordFilter configurable with a different encoder, password filter annotation of request broker supports this as well (mikey)
    • added net::stubbles::lang::exceptions::stubConfigurationException (schst)
    • implemented enhancement #113: Unified mode handling (mikey)
  • Session
    • Fixed several small bugs in stubSessionResourceManager (schst)
    • Added several sanity checks stubSessionResourceManager (schst)
    • Added unit tests for stubSessionResourceManager (schst)
  • Request
    • implemented enhancement #95: added stubRequest::hasValueErrorWithId() method (mikey)
    • added stubRequest::getValueErrorWithId() method (rist)
    • implemented enhancement #96: added net::stubbles::ipo::request::stubRequestValueErrorFactoryMappingDecorator (mikey)
    • request value error messages are now encoded in UTF-8, see enhancement #87 (mikey)
    • added net::stubbles::ipo.request::stubRequest::acceptsCookies() (mikey) Warning! Default implementation of detection is based on the amount of cookie values returned by the user agent. If the user agent did not send any cookies this does not necessarily mean that the user agent will not accept cookies.
  • Util
    • BC-BREAK: fixed ticket #86: net::stubbles::util::validators::stubRegexValidator now works with delimiters as well (mikey)
    • BC-BREAK: replaced net::stubbles::util::encoding::stubEncodingHelper by a combination of net::stubbles::php::string::stubRecursiveStringEncoder and net::stubbles::php::string.stubUTF8Encoder (mikey)
    • net::stubbles::util::net::http::stubHTTPURL now supports URL params without value (e.g. http://example.org?wsdl) (rist)
    • BC-BREAK: implemented enhancement #112 stubLogDataFactory::create() should not require session instance (mikey)
    • added net::stubbles::util::validators::stubContainsValidator (mikey)
    • added net::stubbles::util::cache::stubCacheContainer::getStoreTime() (mikey)
    • BC-Break: renamed net::stubbles::util::cache::stubCacheContainer::getCacheTime() to net::stubbles::util::cache::stubCacheContainer::getLifeTime() (mikey)
    • replaced rarely used specific stubValidatorException by stubIllegalArgumentException and stubRuntimeException, both fit better (mikey)
  • MVC
    • added support for mode handling in front controller (mikey)
    • XML/XSL view engine
      • fixed bug #75: XML/XSL view engine now produces valid XHTML output (mikey)
      • fixed bug #105: Form action attribute value not correct (mikey)
      • fixed bug #106: Id of stub:itemframe was not populated if stub:item nested in other tags (nsteiner)
      • fixed bug #104: Can not set predefined value in form fields (nsteiner, mikey)
    • Memphis view engine
      • fixed ticket #94: Prefix for Memphis Extension doesn't work (mikey)
    • implemented enhancement #116: create a cache layer usable by all view engines (mikey)
  • Reflection
    • added new interface net::stubbles::reflection::annotations::stubAnnotatable, implements ticket #92 (mikey)
    • allowed annotations for method and function parameters, implements enhancement #110 (mikey)
    • added net::stubbles::reflection::stubReflectionRoutine as new common base interface for net::stubbles::reflection::stubReflectionMethod and net::stubbles::reflection::stubReflectionFunction (mikey)
    • implemented refactoring #111: reflection classes now allow other reflection instances as parameters in their constructors (mikey)
    • fixed bug: annotation cache did not store information that an annotation is not present which lead to parsing a doc block again and again for an annotation that is not present. Not loading the annotation parser classes and not doing any parsing for annotations saves about 30% of the runtime. (mikey)
  • XML
    • BC-BREAK: implemented enhancement #87: changed default encoding used by the XML stream writers from ISO-8859-1 to UTF-8. To retain the old behaviour you now have to explicitly state on construction of the XML stream writer that you want to use ISO-8859-1. If you are using the stubXMLStreamWriterFactory to create the instances just do stubXMLStreamWriterFactory::setEncoding('ISO-8859-1') and all further created instances will have this as default encoding. (mikey)
    • BC-BREAK: Fixed bug #108: stubXMLSerializer does not serialize static properties and methods unless they are annotated. The old behaviour can be achieved by setting the stubXMLSerializer::OPT_STATIC option to true (schst)
    • fixed bug in XMLXIncludeStreamWrapper: handleErrors() needs to work without DOMDocument instance, too (mikey)
    • added net::stubbles::xml::unserializer::stubXMLUnserializer (mikey)
  • Other stuff
    • added XJConf definitions for validators in net::stubbles::util::validators (mikey)
    • added XJConf definitions for en-/decoders in net::stubbles::php::string (mikey)
    • implemented enhancement #37: enable event configuration via XML (mikey)
    • fixed bug #98 (mikey)

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

Other releases

See Changelog.