annotate packages/Castle.Core.3.2.1/BreakingChanges.txt @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 === version 3.0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 ================================================================================================
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 change - Removed overloads of logging methods that were taking format string from ILogger and
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 ILogger and IExtendedLogger and didn't have word Format in their name.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 For example:
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 void Error(string format, params object[] args); // was removed
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 void ErrorFormat(string format, params object[] args); //use this one instead
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 impact - low
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 fixability - medium
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 revision -
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 description - To minimize confusion and duplication those methods were removed.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 fix - Use methods that have explicit "Format" word in their name and same signature.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 ================================================================================================
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 change - Removed WebLogger and WebLoggerFactory
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 impact - low
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
21 fixability - medium
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
22 revision -
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
23
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
24 description - To minimize management overhead the classes were removed so that only single
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
25 Client Profile version of Castle.Core can be distributed.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
26
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
27 fix - You can use NLog or Log4Net web logger integration, or reuse implementation of existing
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
28 web logger and use it as a custom logger.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
29
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
30 ================================================================================================
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
31 change - Removed obsolete overload of ProxyGenerator.CreateClassProxy
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
32
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
33 impact - low
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
34 fixability - trivial
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
35 revision -
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
36
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
37 description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
38 method consistent with other methods and to remove confusion
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
39
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
40 fix - whenever removed overload was used, use one of the other overloads.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
41
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
42 ================================================================================================
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
43 change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
44
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
45 impact - high
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
46 fixability - easy
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
47 revision -
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
48
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
49 description - to accommodate class proxies with target method NonVirtualMemberNotification on
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
50 IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
51 since for class proxies with target not just methods but also fields and other member that
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
52 break the abstraction will be passed to this method.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
53
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
54 fix - whenever NonVirtualMemberNotification is used/implemented change the method name to
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
55 NonProxyableMemberNotification. Implementors should also accommodate possibility that not
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
56 only MethodInfos will be passed as method's second parameter.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
57
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
58 ================================================================================================
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
59 change - DynamicProxy will now allow to intercept members of System.Object
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
60
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
61 impact - very low
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
62 fixability - easy
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
63 revision -
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
64
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
65 description - to allow scenarios like mocking of System.Object members, DynamicProxy will not
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
66 disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook)
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
67 will still filter them out though.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
68
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
69 fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
70 members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
71 and if neccessary update the code to handle them appropriately.