Files
spring-net/BreakingChanges-1.2.txt
eeichinger 60ecf0e05d fixed SPRNET-1225
fixed SPRNET-1224
2009-06-27 03:09:55 +00:00

89 lines
3.1 KiB
Plaintext

Changes (1.2.0 to 1.2.1 or greater)
========================
Spring.Core
-----------
1. within an ValidationGroup element (<v:group>,<v:exclusive>,..), nested validator elements now must occur after any
<v:message>, <v:action> or <v:property> elements. The following was allowed previously, but now will raise a schema
validation error:
<v:group ..>
<v:validator ...>
<v:action ...>
change this to
<v:group ..>
<v:action ...>
<v:validator ...>
2. XmlReaderContext constructor now requires an IObjectDefinitionFactory to be specified. Thus XmlReaderContext.ObjectDefinitionFactory
is read only now.
3. Changes to the Apache NMS API, which was not yet a public release when included in Spring 1.2.0 made breaking API changes.
On NmsTemlate,
1) The property 'byte Priority' was changed to 'MsgPriority Priority'
2) The property 'bool Persistent' is no longer part of the NMS API but is still supported in a backward compatible
manner by Spring by translation to standard MsgDeliveryMode enumeration values of Persistent and NonPersistent.
A new property MsgDelivery has been added. The class, CachedMessageProducer, which is unlikely to be use by
end users, was directly upgraded to the latest API without any backwards compatibility support.
4. AbstractApplicationContext.CaseSensitive renamed to AbstractApplicationContext.IsCaseSensitive
Spring.Aop
----------
1. AbstractAutoProxyCreator.FindEligibleAdvisors(Type) changed to
AbstractAutoProxyCreator.FindEligibleAdvisors(Type, Name)
2. It is not possible to change a ProxyFactoryObject's product configuration at runtime
if IsSingleton==true since factory object singleton products get cached now.
Changes (1.2 RC1 to 1.2.0 or greater)
=====================================
none
Changes (1.1.2 to 1.2 RC1 or greater)
=====================================
Spring.Core
-----------
1. ContextRegistry.GetContext(string name) now throws an exception if no context has been registered under that name instead of returning null.
2. Removed getter property of IApplicationContext in IApplicationContextAware
3. Removed getter property of IResourceLoader in IResourceLoaderAware
4. AbstractBinding.IsValid property changed to method AbstractBinding.IsValid( IValidationErrors )
Spring.Data
-----------
1. The provider name System.Data.SqlServerCe is now aliased to SqlServerCe-3.5.1 (was SqlServerCe-3.1)
2. Removed setter property RollbackOnly on ITransactionStatus, now use the method SetRollbackOnly() to 'doom' a transaction to always rollback.
Spring.Services
---------------
1. Removed WebServiceProxyFactory.ClientProtocolType property (obsolete)
2. WebServiceExporter generates WebServiceBinding attribute with WSI basic profile 1.1 by default.
Spring.Web
----------
1. Moved Spring.Web.Support.ISharedStateAware to Spring.Objects.ISharedStateAware
2. Dropped IProcess support
3. IHttpHandler instance dependencies won't be injected until PreRequestHandlerExecute stage (to support "session"-scoped deps)