root / trunk / packages / Castle.Core.2.5.2 / lib / BreakingChanges.txt @ eeee29e3
History | View | Annotate | Download (2.4 kB)
1 |
================================================================================================ |
---|---|
2 |
change - Removed WebLogger and WebLoggerFactory |
3 |
|
4 |
impact - low |
5 |
fixability - medium |
6 |
revision - |
7 |
|
8 |
description - To minimize management overhead the classes were removed so that only single |
9 |
Client Profile version of Castle.Core can be distributed. |
10 |
|
11 |
fix - You can use NLog or Log4Net web logger integration, or reuse implementation of existing |
12 |
web logger and use it as a custom logger. |
13 |
|
14 |
================================================================================================ |
15 |
change - Removed obsolete overload of ProxyGenerator.CreateClassProxy |
16 |
|
17 |
impact - low |
18 |
fixability - trivial |
19 |
revision - |
20 |
|
21 |
description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the |
22 |
method consistent with other methods and to remove confusion |
23 |
|
24 |
fix - whenever removed overload was used, use one of the other overloads. |
25 |
|
26 |
================================================================================================ |
27 |
change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed |
28 |
|
29 |
impact - high |
30 |
fixability - easy |
31 |
revision - |
32 |
|
33 |
description - to accommodate class proxies with target method NonVirtualMemberNotification on |
34 |
IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification |
35 |
since for class proxies with target not just methods but also fields and other member that |
36 |
break the abstraction will be passed to this method. |
37 |
|
38 |
fix - whenever NonVirtualMemberNotification is used/implemented change the method name to |
39 |
NonProxyableMemberNotification. Implementors should also accommodate possibility that not |
40 |
only MethodInfos will be passed as method's second parameter. |
41 |
|
42 |
================================================================================================ |
43 |
change - DynamicProxy will now allow to intercept members of System.Object |
44 |
|
45 |
impact - very low |
46 |
fixability - easy |
47 |
revision - |
48 |
|
49 |
description - to allow scenarios like mocking of System.Object members, DynamicProxy will not |
50 |
disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook) |
51 |
will still filter them out though. |
52 |
|
53 |
fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's |
54 |
members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods |
55 |
and if neccessary update the code to handle them appropriately. |