Skip to content

azure-ai-contentsafety_1.0.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 12 Dec 03:27
ffd1467

1.0.0 (2023-12-13)

Features Added

  • Support Microsoft Entra ID Authentication
  • Support 8 severity level for AnalyzeText

Breaking Changes

Contract change for AnalyzeText, AnalyzeImage, Blocklist management related methods

AnalyzeText

  • AnalyzeTextOptions
    • Renamed breakByBlocklists to haltOnBlocklistHit
    • Added AnalyzeTextOutputType
  • AnalyzeTextResult
    • Renamed blocklistsMatchResults to blocklistsMatch
    • Replaced TextAnalyzeSeverityResult by TextCategoriesAnalysis

AnalyzeImage

  • AnalyzeImageOptions
    • Replaced ImageData by ContentSafetyImageData
    • Added AnalyzeImageOutputType
  • AnalyzeImageResult
    • Replaced ImageAnalyzeSeverityResult by ImageCategoriesAnalysis

Blocklist management

  • Added BlocklistAsyncClient
  • Renamed AddBlockItemsOptions to AddOrUpdateTextBlocklistItemsOptions
  • Renamed AddBlockItemsResult to AddOrUpdateTextBlocklistItemsResult
  • Renamed RemoveBlockItemsOptions to RemoveTextBlocklistItemsOptions
  • Renamed TextBlockItemInfo to TextBlocklistItem

Other Changes

Dependency Updates

  • Upgraded azure-core from 1.43.0 to version 1.45.0.
  • Upgraded azure-core-http-netty from 1.13.7 to version 1.13.10.
  • Upgraded azure-identity from 1.10.1 to version 1.11.0