Skip to content

Releases: sportradar/UnifiedOddsSdkNetCore

v3.0.0

11 Feb 14:06
Compare
Choose a tag to compare

New major release contains breaking changes

  • ExceptionHandlingStrategy default value is changed to Throw (before Catch).
  • Code is cleaned up. Outdated classes are removed. Affected classes are - SoccerEvent, SoccerStatistics, SoccerStatus.
  • Asian proxy environments are no longer supported therefore they are removed from enum SdkEnvironment.
  • Removed interfaces ICustomBetSelectionBuilderV1, ICalculationFilterV1, ICalculationV1, ISelectionV1, and IMatchStatusV1. Properties from these interfaces have been consolidated into ICustomBetSelectionBuilder, ICalculationFilter, ICalculation, ISelection, and IMatchStatus respectively.
  • ExportableCompetitor.IsVirtual is null if the competitor's virtual flag was not retrieved initially.
  • Removed configuration option for settings AdjustAfterAge for producer recoveries (now always true)
  • Updated all dependencies to the latest versions (check migration guide)
  • Renamed IAvailableSelections.Event to EventId
  • Renamed IAvailableSelectionsFilter.Event to EventId
  • ICompetitor.IsVirtual can be null if the actual value is not retrieved
  • Added dependency on OpenTelemetry.Instrumentation.Runtime
  • Added dependency on OpenTelemetry.Exporter.OpenTelemetryProtocol
  • IUofUsageConfiguration exposed as IUofConfiguration.Usage for properties configuring usage export (metrics)
  • IUofConfiguration.Usage.IsExportEnabled (default: enabled)
  • Added IConfigurationBuilder.EnableUsageExport(bool enable) method
  • Updated Sdk dependencies
  • Check associated migration guide for more details (in github docs)

v2.4.2

22 Jan 11:16
Compare
Choose a tag to compare
  • SportDataProvider.GetListOfSportEventsAsync issues the call to the right endpoint and properly returns data

v2.4.1

08 Nov 12:05
Compare
Choose a tag to compare
  • Improved how api requests are made (utilizing IHttpClientFactory)

v2.4.0

22 Oct 12:11
Compare
Choose a tag to compare
  • CustomBet ICalculation and ICalculationFilter extended with new property Harmonization (extended with ICalculationV1 and ICalculationFilterV1)
  • CustomBet ISelection extended with new property Odds (extended with ISelectionV1)
  • CustomBetSelectionBuilder extended with new method SetOdds (extended with ICustomBetSelectionBuilderV1)
  • Fix: calling SportDataProvider.GetFixtureChangesAsync without additional filter
  • Fix: calling SportDataProvider.GetResultChangesAsync without additional filter

v2.3.0

30 Sep 11:30
Compare
Choose a tag to compare
  • A player can now have different jersey numbers assigned for different teams (new interface ICompetitorPlayer)
  • Added support for + or - operation in market and outcome name template (e.g. market 739, 725)

v2.1.0

04 Sep 11:29
Compare
Choose a tag to compare
  • Improved variant market handling when API call is not received or has some faulty data (i.e. missing outcome name)
  • Fix: custom configuration now respect Ssl setting to rewrite api_url if needed
  • Fix: directly build custom configuration from app.config settings
  • Fix: default debug level to Debug in example project

v2.0.1

04 Sep 11:29
Compare
Choose a tag to compare
  • Fix for user apps when they use RabbitMq.Client library v6.6.0

v2.0.0

04 Sep 11:27
Compare
Choose a tag to compare

For details about upgrading current versions of sdk (.NET Framework and .NET Standard 2.1) consult migration guide. Summary of changes:

TargetFramework changed from netstandard2.1 to netstandard2.0
Removed all default method implementations on interfaces
Removed obsolete property or methods:

  • IOutcomeSettlement.Result
  • IOddsFeedConfigurationSection.UseIntegrationEnvironment
  • IRound.GroupName
  • IRound.GetGroupName()
    Root classes renamed
  • IOddsFeed to IUofSdk
  • Feed to UofSdk
  • ReplayFeed to UofSdkForReplay
  • IOddsFeedExt to IUofSdkExtended
  • FeedExt to UofSdkExtended
  • IOddsFeedConfigurationSection to IUofConfigurationSection
  • OddsFeedConfigurationSection to UofConfigurationSection
  • IOddsFeedConfiguration to IUofConfiguration
  • Introduced IUofAdditionalConfiguration
  • Removed OperationManager (properties moved to IUofConfiguration)
  • IEnvironmentSelector removed SelectIntegration() and SelectProduction() use SelectEnvironment(SdkEnvironment ufEnvironment)
  • Renamed Feed.CreateBuilder() to UofSdk.GetSessionBuilder()
  • App.config section moved to Sportradar.OddsFeed.SDK.Api.Internal.Config.UofConfigurationSection
  • UofConfigurationSection property supportedLanguages renamed to desiredLanguages
    Renamed IRound.Name to Names
    Renamed IRound.PhaseOrGroupLongName to PhaseOrGroupLongNames
    Added support for IVenue.Courses (returns list of ICourse instead of list of IHole)
    Added support for ICompetitor.Division (moved and replaced from ITeamCompetitor)
    Extended IJersey with SquareColor and HorizontalStripesColor
    IProducerManager method Get() renamed to GetProducer()
    Renamed suffix DTO to Dto (internal)
    Removed CI suffix in Exportable classes (internal)
    Renamed suffix CI to CacheItem (internal)
    Enum values in MessageType changed to CamelCase
    Enum values in ExceptionHandlingStrategy changed to CamelCase
    Enum values in CashoutStatus changed to CamelCase
    Enum values in FixtureChangeType changed to CamelCase
    Enum values in MarketStatus changed to CamelCase
    Enum values in OddsChangeReason changed to CamelCase
    Enum values in PropertyUsage changed to CamelCase
    Enum values in ResourceTypeGroup changed to CamelCase
    Dependent library changes:
  • Removed Newtonsoft.Json
  • Humanizer 2.8.26 -> 2.14.1
  • RabbitMQ.Client 5.1.2 -> 6.5.0
  • Microsoft.Extensions.Logging.Abstractions 3.1.0 -> 7.0.0
  • System.Configuration.ConfigurationManager 4.7.0 -> 7.0.0 Should be changed with Microsoft.Extensions.Configuration 7.0.0,
  • Removed System.Runtime.Caching 4.7.0 replaced with Microsoft.Extensions.Caching.Memory
  • App.Metrics replaced with OpenTelemetry 1.6.0
  • Unity replaced with Microsoft.Extensions.DependencyInjection 7.0.0
  • Introduced Microsoft.Extensions.Diagnostics.HealthChecks 7.0.11
  • Introduced Microsoft.Extensions.Http 7.0.0
  • Removed Castle.Core
    Tests projects upgraded to NET 6.0
    Tests projects depended libraries upgraded to latest versions
    Inconsistent naming
  • IOddsFeedConfigurationSection.UseSSL -> UseSsl
  • IOddsFeedConfigurationSection.UseApiSSL -> UseApiSsl
  • ReplayPlayerStatus.Setting_up SettingUp
  • IFixture.StartTimeTBD -> StartTimeTbd
  • ExportableFixture.StartTimeTBD -> StartTimeTbd
  • EventStatus.Not_Started -> NotStarted
  • FeedMessage.EventURN -> EventUrn
  • URN -> Urn
    Changed namespace
  • API namespace renamed to Api
  • REST namespace renamed to Rest
  • replay interfaces to Api.Replay
  • feed managers to Api.Managers
  • feed providers to Api.Managers
  • enum types moved to Common.Enums
  • IOddsFeedConfigurationSection moved to Api.Internal.Config
  • configuration interfaces moved to Api.Config
  • MessageInterest class moved to Api.Config

v2.2.1

04 Sep 11:50
Compare
Choose a tag to compare
  • Changed registering of ICustomBetManager to singleton
  • Fix: Information whether competitor is virtual or not can reliably be fetched on all applicable sport events

v2.2.0

04 Sep 11:49
Compare
Choose a tag to compare
  • Enabled accessing match statistics on MatchStatus received via IMatch.GetStatus object (beside Soccer also supports Kabaddi statistics)
  • Improved memory management and disposal of resources when UofSdk is closed