You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BREAKING_CHANGES.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,26 @@
1
+
## Unreleased
2
+
3
+
### Logging System Replacement
4
+
5
+
* The custom `ILog` logging abstraction has been replaced with the industry-standard `Microsoft.Extensions.Logging` (M.E.L.) infrastructure using Serilog as the underlying provider.
6
+
7
+
***Removed public types** from `GitVersion.Logging` namespace:
8
+
*`ILog` interface
9
+
*`ILogAppender` interface
10
+
*`LogLevel` enum
11
+
*`LogAction` delegate
12
+
*`LogActionEntry` delegate
13
+
*`LogExtensions` class
14
+
15
+
***Migration for custom integrations**:
16
+
* If you were injecting `ILog`, inject `ILogger<T>` instead
17
+
* If you implemented `ILogAppender`, implement `ILoggerProvider` instead
18
+
* The `Verbosity` enum is preserved for CLI usage and maps to Serilog log levels internally
19
+
20
+
***Preserved types**:
21
+
*`Verbosity` enum (Quiet/Minimal/Normal/Verbose/Diagnostic) - still used for CLI verbosity control
22
+
*`IConsole` interface - moved from `GitVersion.Logging` to `GitVersion` namespace
23
+
1
24
## v6.2.0
2
25
3
26
* The configuration property `label-number-pattern` was removed. The functionality can be still used by changing the label and the branch name regular expression for pull-request branches.
thrownewWarningException("Cannot specify both updateprojectfiles and updateassemblyinfo in the same run. Please rerun GitVersion with only one parameter");
thrownewWarningException("Can't specify multiple assembly info files when using -ensureassemblyinfo switch, either use a single assembly info file or do not specify -ensureassemblyinfo and create assembly info files manually");
thrownewWarningException("Cannot specify both updateassemblyinfo and updateprojectfiles in the same run. Please rerun GitVersion with only one parameter");
549
558
}
559
+
550
560
if(arguments.EnsureAssemblyInfo)
551
561
{
552
562
thrownewWarningException("Cannot specify -ensureassemblyinfo with updateprojectfiles: please ensure your project file exists before attempting to update it");
0 commit comments