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

Changelog

mikey179 edited this page Apr 7, 2012 · 2 revisions

Table of Contents

Changelog

Release 1.7.1

  • fixed bug where body of response was not serialized correctly

Release 1.7.0

Released on 2011/12/29.

Heads up!

  • removed net::stubbles::lang::stubFactory
  • removed net::stubbles::util::xjconf, whole package is now a separate stubForge project
  • XJConf is not bundled anymore
  • removed all special annotation classes
  • deprecated stubDate::changeTo() in favor of new stubDate::change()->***() operations (see #268), will be removed with next minor or major version
  • deprecated net::stubbles::ipo::interceptors::stubRequestPreInterceptor, will be removed with next minor or major version
  • deprecated net::stubbles::lang::stubPathRegistry, will be removed with next minor or major version
  • Route configurations for the XML/XSL routes are not cached any more. Performance is not any different without caching.
  • implented enhancement #270: enable creation of persistence utility classes via IoC - please be aware that this changes how to create instance of net::stubbles::rdbms::persistence::creator::stubDatabaseCreator, net::stubbles::rdbms::persistence::eraser::stubDatabaseEraser, net::stubbles::rdbms::persistence::finder::stubDatabaseFinder and net::stubbles::rdbms::persistence::serializer::stubDatabaseSerializer Please note that net::stubbles::rdbms::querybuilder::stubDatabaseQueryBuilderFactory has been removed, see Upgrade guide for more details
Other changes
  • fixed issue #262: website cache should respect response status code
  • implemented enhancement #263: possibility to merge two response instances into one
  • implemented refactoring #264: use correct domain language for response body
  • implemented refactoring #265: rework website cache
  • implemented enhancement #266: stubFilteringRequestValue should provide asBool() method
  • implemented enhancement #267: stubDate::now() should accept a time zone instance
  • implemented enhancement #268: provide better date and time modification methods
  • implemented enhancement #258: support for IPv6 IP addresses
    • net::stubbles::peer::stubURL and net::stubbles::peer::http::stubHTTPURL now support IPv6 addresses as host names
    • net::stubbles::ipo::request::validator::stubIpValidator now validates both IPv4 and IPv6 addresses
    • added $request->validateParam($name)->isIpV4Address() and $request->validateParam($name)->isIpV6Address()
    • $request->validateParam($name)->isIpAddress() now allows both IPv4 and IPv6 addresses
    • added net::stubbles::ipo::request::validator::stubIpV4Validator and net::stubbles::ipo::request::validator::stubIpV6Validator
  • implemented enhancement #272: more options for reading route properties
  • added new target phing create-processable to build-stubbles.xml which creates a new processable class when executed
  • fixed delete behaviour for docs/reports/coverage folder in build-stubbles.xml on target phing test
  • added net::stubbles::lang::stubModifiableProperties
  • fixed defect #269: isNullable does not work

Release 1.6.0

Released on 2011/03/14.

Heads up!

  • changed variant manager configuration to work without XJConf, configuration the old way is deprecated and will not be supported with 1.7.0 anymore; see variant manager documentation for differences between 1.6.0 and older versions
  • removed classes net::stubbles::xml::xsl::stubXSLProcessorFactory, net::stubbles::ioc::stubBinderRegistry
  • removed package net::stubbles::util::ext
  • removed net::stubbles::ioc::stubBindingScopes::$SINGLETON and net::stubbles::ioc::stubBindingScopes::$SESSION
  • implemented refactoring #260: split net::stubbles::websites::variantmanager::types::stubVariant interface
    • all methods which are used during instantiating the variant map while reading the variant configuration have been moved to the new net::stubbles::websites::variantmanager::types::stubConfigurableVariant interface
    • the method removeChild() was removed from the interface as it was never required or used
  • Deprecated net::stubbles::util::xjconf - the whole package will be moved into a separate stubForge project, as the core framework does not depend on XJConf anymore. This also means that starting with 1.7.0 XJConf will not be bundled with Stubbles anymore.
  • deprecated net::stubbles::lang::stubFactory, will be removed with 1.7.0, use net::stubbles::lang::stubResourceLoader instead
Other changes
  • implemented enhancement #252: provide generic annotation class
  • added possibility to provide constant values via injection provider

Release 1.5.1

Released on 2011/02/23.

  • Fixed XML/XSL view engine not receiving path common page directory correctly

Release 1.5.0

Released on 2011/01/20.

Heads up!

  • Releases contain only the stubbles.php in the lib directory. Other star library files except xjconf.star are not included any more.
  • net::stubbles::xml::xsl::stubXSLProcessor should now be retrieved through injection. The net::stubbles::xml::xsl::stubXSLProcessorFactory is deprecated and will be removed with 1.6.0.
  • deprecated net::stubbles::ioc::stubBinderRegistry, will be removed with 1.6.0
  • deprecated the net::stubbles::util::ext package, will be removed with 1.6.0
  • Added net::stubbles::ipo::response::stubResponse::addCookie(), deprecated net::stubbles::ipo::response::stubResponse::setCookie(). However, the deprecated method is not scheduled for removal any time soon.
  • Changed how scoped bindings are configured: instead of
$binder->bind('MyInterface')->to('MyImplementation')->in(stubBindingScopes::$SINGLETON);
$binder->bind('OtherInterface')->to('OtherImplementation')->in(stubBindingScopes::$SESSION);
   use
$binder->bind('MyInterface')->to('MyImplementation')->asSingleton();
$binder->bind('OtherInterface')->to('OtherImplementation')->inSession();


Other changes

  • Changed image xsl callback so that an image can be retrieved either from the project's own document root or from the common docroot. Image lookup is done for the project's own docroot first, and if the requested image can not be found there it tries to find it in the common docroot. If it is not present there an exception is thrown.
  • Changed scope handling so that ioc users do not have to care about scope implementations but simply use method calls to bind into scopes (see above in heads up section). This also means that in automated tests where you create several instances of the application you can be sure that each instance has its own singletons now, meaning that the singleton scope only applies to the application instance currently created.
  • implemented enhancement #251: provide default HTTP status code texts in response
  • implemented enhancement #253: additional query methods for response headers and cookies
  • implemented enhancement #254: net::stubbles::ipo::session::stubSession::getValueKeys() should not return keys of internal values
  • implemented enhancement #255: add new net::stubbles::ipo::response::stubCookie::expiringIn($seconds) method
  • API tweaks for net::stubbles::ipo::response::stubResponse: methods without return values now return the response instance

Release 1.4.4

Released on 2010/12/31.

Changes are identical to 1.3.4.

Release 1.4.3

Released on 2010/12/17.

Changes are identical to 1.3.3.

Release 1.4.2

Released on 2010/12/06.

Changes are identical to 1.3.2.

Release 1.4.1

Released on 2010/10/15.

Changes are identical to 1.3.1.

Release 1.4.0

Released on 2010/09/29.

Heads up!

  • Removed all code deprecated with 1.3.0 (mikey)

Release 1.3.4

Released on 2010/12/31.

  • fixed variant selection based on cookies (mikey)
    • use full qualified variant name for comparison
    • use correct variant validation for variants selected from cookie
    • change name of variant configuration cookie to not contain a dot

Release 1.3.3

Released on 2010/12/17.

  • changed xsl imports so that there is no need to have a configuration if only default imports are used (mikey)
  • store name of variant map in cookie to be sure that reading the variant from cookie applies to correct variant configuration (mikey)
  • added net::stubbles::websites::variantmanager::stubVariantSwitchPreInterceptor (mikey)
  • added variant selector to stage assistant (mikey)

Release 1.3.2

Released on 2010/12/06.

  • Fixed bug #248: database PDO implementation throws error when using FETCH_COLUMN (mikey)
  • Fixed bug #249: iterating over stubProperties instance broken (mikey)

Release 1.3.1

Released on 2010/10/15.

  • Ensured forward compatibility to PHP 5.3. This mostly boils down to the XML/XSL view engine which was not compatible with libxml 2.7 which is used in PHP 5.3 instead of the previous 2.6 version. See our blog article Libxml, XInclude and XPointer for more information. (mikey)
  • fixed imports when using net::stubbles::xml:rss::stubAbstractRSSFeed (mikey)

Release 1.3.0

Released on 2010/09/29.

Heads up!

  • Rewrote the request API, including changes to the net::stubbles::ipo::request::stubRequest interface. It is advised to switch to the new methods introduced with 1.3.0 as most of the previous methods are now deprecated and will be removed with 1.4.0. See Working with request data for more details about the new API.(mikey)
  • Request value errors are now configured via property files (.ini). If you have self configured request value errors you either need to redefine them in the new format, or need to add a specific binding of stubRequestValueErrorFactory to net::stubbles::ipo::request::stubRequestValueErrorXJConfFactory. We recommend moving to the new format as the XML format is deprecated and will be removed with 1.4.0. (mikey)
  • Switched route configuration from xml files to property files. If you want to keep the old xml based configuration you need to change the stubWebsiteBindingModule::createWithXmlProcessorAsDefault() method call and set the router class back to net::stubbles::websites::processors::routing::stubXjConfRouter with the second parameter. We recommend moving to the new format as the XML format is deprecated and will be removed with 1.4.0. See page configuration for more details. (mikey)
  • Removed minified JavaScript files from build. Stubbles does not deliver minified versions of its JavaScript files any more. Instead we recommend the usage of Minify. (mikey)
Other changes
  • implemented enhancement #234: enable @Filter annotations on rest method parameters (mikey)
  • added net::stubbles::ipo::response::stubResponse::redirect($url, $statusCode, $reasonPhrase) to allow easier creation of redirects (mikey)
  • added net::stubbles::ipo::request::stubRequest::getCompleteUri() (mikey)
  • added net::stubbles::ipo::ioc::stubIpoBindingModule::create($sessionName = 'PHPSESSID') (mikey)
  • added net::stubbles::ipo::ioc::stubIpoBindingModule::addFilterForType($filterClassName, $type) (mikey)
  • added net::stubbles::lang::stubProperties::merge(stubProperties $otherProperties) (mikey)
  • added net::stubbles::util::log::ioc::stubLogBindingModule::setLoggerProviderClass($loggerProviderClass) (mikey)
  • added Polish translations for error messages (rist)
  • fixed import in net::stubbles::ioc::module::stubModeBindingModule (mikey)
  • fixed E_STRICT error in net::stubbles::peer::http::stubAcceptHeader (mikey)
  • made sure date filter annotation is loaded for request broker (mikey)

Older releases

For older releases, select the release of interest to you:

Release 0.1.0

Released on 2007/04/27.

Initial release.

Clone this wiki locally