|
1 | 1 | { |
2 | | - "namespaceMappings": { |
3 | | - "TestAssembly.NamespaceToBeRenamed": ["TestAssembly.RenamedNamespace"] |
| 2 | + "filters": { |
| 3 | + "includeNamespaces": ["System.Text", "System.IO"], |
| 4 | + "excludeNamespaces": ["System.Diagnostics", "System.Internal"], |
| 5 | + "includeTypes": ["System.Text.*", "System.IO.*"], |
| 6 | + "excludeTypes": ["*.Internal*", "*.Helper*"], |
| 7 | + "includeInternals": false, |
| 8 | + "includeCompilerGenerated": false |
| 9 | + }, |
| 10 | + "mappings": { |
| 11 | + "namespaceMappings": { |
| 12 | + "OldNamespace": ["NewNamespace"], |
| 13 | + "AnotherOldNamespace": ["AnotherNewNamespace"] |
| 14 | + }, |
| 15 | + "typeMappings": { |
| 16 | + "OldType": "NewType", |
| 17 | + "AnotherOldType": "AnotherNewType" |
| 18 | + }, |
| 19 | + "autoMapSameNameTypes": true, |
| 20 | + "ignoreCase": true |
4 | 21 | }, |
5 | | - "typeMappings": { |
6 | | - "TestAssembly.OldTypeName": "TestAssembly.NewTypeName" |
| 22 | + "exclusions": { |
| 23 | + "excludedTypes": ["ExcludedType", "AnotherExcludedType"], |
| 24 | + "excludedMembers": ["SomeClass.RemovedMethod", "SomeClass.RemovedProperty"], |
| 25 | + "excludedTypePatterns": ["*.Internal*", "*.Helper*"], |
| 26 | + "excludedMemberPatterns": ["*.get_*", "*.set_*"] |
7 | 27 | }, |
8 | | - "excludedTypes": ["TestAssembly.ExcludedType"], |
9 | | - "excludedMembers": [ |
10 | | - "TestAssembly.PublicClass.RemovedMethod", |
11 | | - "TestAssembly.PublicClass.RemovedProperty", |
12 | | - "TestAssembly.IPublicInterface.RemovedMethod" |
13 | | - ], |
14 | 28 | "breakingChangeRules": { |
| 29 | + "treatTypeRemovalAsBreaking": true, |
15 | 30 | "treatMemberRemovalAsBreaking": true, |
16 | | - "treatSignatureChangeAsBreaking": true, |
17 | | - "treatVisibilityDecreaseAsBreaking": true, |
18 | | - "treatPropertyTypeChangeAsBreaking": true |
19 | | - }, |
20 | | - "filters": { |
21 | | - "includeNamespaces": ["TestAssembly"], |
22 | | - "excludeNamespaces": ["TestAssembly.Internal"], |
23 | | - "includeTypes": ["TestAssembly.*Class"], |
24 | | - "excludeTypes": ["TestAssembly.*Helper"] |
| 31 | + "treatAddedTypeAsBreaking": false, |
| 32 | + "treatAddedMemberAsBreaking": false, |
| 33 | + "treatSignatureChangeAsBreaking": true |
25 | 34 | } |
26 | 35 | } |
0 commit comments