Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark Wilson APIs as Shipped #2903

Merged
merged 3 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions Tools/mark-shipped.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ param ()
Set-StrictMode -version 2.0
$ErrorActionPreference = "Stop"

function MarkShipped([string]$dir) {
$shippedFilePath = Join-Path $dir "PublicAPI.Shipped.txt"
function MarkShipped([string]$dir, [string]$access) {
westin-m marked this conversation as resolved.
Show resolved Hide resolved
$shippedFileName = $access + "API.Shipped.txt"
$shippedFilePath = Join-Path $dir $shippedFileName
$shipped = @()
$shipped += Get-Content $shippedFilePath

$unshippedFilePath = Join-Path $dir "PublicAPI.Unshipped.txt"
$unshippedFileName = $access + "API.Unshipped.txt"
$unshippedFilePath = Join-Path $dir $unshippedFileName
$unshipped = Get-Content $unshippedFilePath
$removed = @()
$removedPrefix = "*REMOVED*";
Write-Host "Processing $dir"
Write-Host "Processing $dir : $access"

foreach ($item in $unshipped) {
if ($item.Length -gt 0) {
Expand All @@ -34,7 +36,12 @@ function MarkShipped([string]$dir) {
try {
foreach ($file in Get-ChildItem -re -in "PublicApi.Shipped.txt") {
$dir = Split-Path -parent $file
MarkShipped $dir
MarkShipped $dir "Public"
}

foreach ($file in Get-ChildItem -re -in "InternalApi.Shipped.txt") {
$dir = Split-Path -parent $file
MarkShipped $dir "Internal"
}
}
catch {
Expand Down
57 changes: 56 additions & 1 deletion src/Microsoft.IdentityModel.Abstractions/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,56 @@

const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.ActivityId = "ActivityId" -> string
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.ClientId = "ClientId" -> string
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.Duration = "Duration" -> string
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.Succeeded = "Succeeded" -> string
Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Critical = 1 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Error = 2 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Informational = 4 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.LogAlways = 0 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Verbose = 5 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Warning = 3 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.IIdentityLogger
Microsoft.IdentityModel.Abstractions.IIdentityLogger.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel eventLogLevel) -> bool
Microsoft.IdentityModel.Abstractions.IIdentityLogger.Log(Microsoft.IdentityModel.Abstractions.LogEntry entry) -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient
Microsoft.IdentityModel.Abstractions.ITelemetryClient.ClientId.get -> string
Microsoft.IdentityModel.Abstractions.ITelemetryClient.ClientId.set -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient.Initialize() -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient.IsEnabled() -> bool
Microsoft.IdentityModel.Abstractions.ITelemetryClient.IsEnabled(string eventName) -> bool
Microsoft.IdentityModel.Abstractions.ITelemetryClient.TrackEvent(Microsoft.IdentityModel.Abstractions.TelemetryEventDetails eventDetails) -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient.TrackEvent(string eventName, System.Collections.Generic.IDictionary<string, string> stringProperties = null, System.Collections.Generic.IDictionary<string, long> longProperties = null, System.Collections.Generic.IDictionary<string, bool> boolProperties = null, System.Collections.Generic.IDictionary<string, System.DateTime> dateTimeProperties = null, System.Collections.Generic.IDictionary<string, double> doubleProperties = null, System.Collections.Generic.IDictionary<string, System.Guid> guidProperties = null) -> void
Microsoft.IdentityModel.Abstractions.LogEntry
Microsoft.IdentityModel.Abstractions.LogEntry.CorrelationId.get -> string
Microsoft.IdentityModel.Abstractions.LogEntry.CorrelationId.set -> void
Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel.get -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel.set -> void
Microsoft.IdentityModel.Abstractions.LogEntry.LogEntry() -> void
Microsoft.IdentityModel.Abstractions.LogEntry.Message.get -> string
Microsoft.IdentityModel.Abstractions.LogEntry.Message.set -> void
Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger
Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel eventLogLevel) -> bool
Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.Log(Microsoft.IdentityModel.Abstractions.LogEntry entry) -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.ClientId.get -> string
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.ClientId.set -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.Initialize() -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.IsEnabled() -> bool
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.IsEnabled(string eventName) -> bool
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.TrackEvent(Microsoft.IdentityModel.Abstractions.TelemetryEventDetails eventDetails) -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.TrackEvent(string eventName, System.Collections.Generic.IDictionary<string, string> stringProperties = null, System.Collections.Generic.IDictionary<string, long> longProperties = null, System.Collections.Generic.IDictionary<string, bool> boolProperties = null, System.Collections.Generic.IDictionary<string, System.DateTime> dateTimeProperties = null, System.Collections.Generic.IDictionary<string, double> doubleProperties = null, System.Collections.Generic.IDictionary<string, System.Guid> guidProperties = null) -> void
Microsoft.IdentityModel.Abstractions.ObservabilityConstants
Microsoft.IdentityModel.Abstractions.TelemetryEventDetails
Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.PropertyValues.get -> System.Collections.Generic.IDictionary<string, object>
Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.TelemetryEventDetails() -> void
static Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.Instance.get -> Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger
static Microsoft.IdentityModel.Abstractions.NullTelemetryClient.Instance.get -> Microsoft.IdentityModel.Abstractions.NullTelemetryClient
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Name.get -> string
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Name.set -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Properties.get -> System.Collections.Generic.IReadOnlyDictionary<string, object>
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, bool value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, double value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, long value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, string value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, System.DateTime value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, System.Guid value) -> void
Original file line number Diff line number Diff line change
@@ -1,56 +0,0 @@
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.ActivityId = "ActivityId" -> string
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.ClientId = "ClientId" -> string
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.Duration = "Duration" -> string
const Microsoft.IdentityModel.Abstractions.ObservabilityConstants.Succeeded = "Succeeded" -> string
Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Critical = 1 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Error = 2 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Informational = 4 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.LogAlways = 0 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Verbose = 5 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.EventLogLevel.Warning = 3 -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.IIdentityLogger
Microsoft.IdentityModel.Abstractions.IIdentityLogger.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel eventLogLevel) -> bool
Microsoft.IdentityModel.Abstractions.IIdentityLogger.Log(Microsoft.IdentityModel.Abstractions.LogEntry entry) -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient
Microsoft.IdentityModel.Abstractions.ITelemetryClient.ClientId.get -> string
Microsoft.IdentityModel.Abstractions.ITelemetryClient.ClientId.set -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient.Initialize() -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient.IsEnabled() -> bool
Microsoft.IdentityModel.Abstractions.ITelemetryClient.IsEnabled(string eventName) -> bool
Microsoft.IdentityModel.Abstractions.ITelemetryClient.TrackEvent(Microsoft.IdentityModel.Abstractions.TelemetryEventDetails eventDetails) -> void
Microsoft.IdentityModel.Abstractions.ITelemetryClient.TrackEvent(string eventName, System.Collections.Generic.IDictionary<string, string> stringProperties = null, System.Collections.Generic.IDictionary<string, long> longProperties = null, System.Collections.Generic.IDictionary<string, bool> boolProperties = null, System.Collections.Generic.IDictionary<string, System.DateTime> dateTimeProperties = null, System.Collections.Generic.IDictionary<string, double> doubleProperties = null, System.Collections.Generic.IDictionary<string, System.Guid> guidProperties = null) -> void
Microsoft.IdentityModel.Abstractions.LogEntry
Microsoft.IdentityModel.Abstractions.LogEntry.CorrelationId.get -> string
Microsoft.IdentityModel.Abstractions.LogEntry.CorrelationId.set -> void
Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel.get -> Microsoft.IdentityModel.Abstractions.EventLogLevel
Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel.set -> void
Microsoft.IdentityModel.Abstractions.LogEntry.LogEntry() -> void
Microsoft.IdentityModel.Abstractions.LogEntry.Message.get -> string
Microsoft.IdentityModel.Abstractions.LogEntry.Message.set -> void
Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger
Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel eventLogLevel) -> bool
Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.Log(Microsoft.IdentityModel.Abstractions.LogEntry entry) -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.ClientId.get -> string
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.ClientId.set -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.Initialize() -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.IsEnabled() -> bool
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.IsEnabled(string eventName) -> bool
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.TrackEvent(Microsoft.IdentityModel.Abstractions.TelemetryEventDetails eventDetails) -> void
Microsoft.IdentityModel.Abstractions.NullTelemetryClient.TrackEvent(string eventName, System.Collections.Generic.IDictionary<string, string> stringProperties = null, System.Collections.Generic.IDictionary<string, long> longProperties = null, System.Collections.Generic.IDictionary<string, bool> boolProperties = null, System.Collections.Generic.IDictionary<string, System.DateTime> dateTimeProperties = null, System.Collections.Generic.IDictionary<string, double> doubleProperties = null, System.Collections.Generic.IDictionary<string, System.Guid> guidProperties = null) -> void
Microsoft.IdentityModel.Abstractions.ObservabilityConstants
Microsoft.IdentityModel.Abstractions.TelemetryEventDetails
Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.PropertyValues.get -> System.Collections.Generic.IDictionary<string, object>
Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.TelemetryEventDetails() -> void
static Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.Instance.get -> Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger
static Microsoft.IdentityModel.Abstractions.NullTelemetryClient.Instance.get -> Microsoft.IdentityModel.Abstractions.NullTelemetryClient
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Name.get -> string
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Name.set -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Properties.get -> System.Collections.Generic.IReadOnlyDictionary<string, object>
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, bool value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, double value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, long value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, string value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, System.DateTime value) -> void
virtual Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(string key, System.Guid value) -> void
Loading
Loading