Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrovat committed Oct 24, 2023
1 parent 726f219 commit 431392d
Show file tree
Hide file tree
Showing 1,193 changed files with 66,954 additions and 56,791 deletions.
63 changes: 0 additions & 63 deletions .gitattributes

This file was deleted.

125 changes: 116 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
# UnifiedOdds Feed SDK .NET library (.NET Standard 2.1)


[![pipeline status](https://gitlab.sportradar.ag/unifiedoddssdk/unifiedodds.sdk.netcore/badges/main/pipeline.svg)](https://gitlab.sportradar.ag/unifiedoddssdk/unifiedodds.sdk.netcore/-/commits/main)
[![coverage report](https://gitlab.sportradar.ag/unifiedoddssdk/unifiedodds.sdk.netcore/badges/main/coverage.svg)](https://gitlab.sportradar.ag/unifiedoddssdk/unifiedodds.sdk.netcore/-/commits/main)
[![Latest Release](https://gitlab.sportradar.ag/unifiedoddssdk/unifiedodds.sdk.netcore/-/badges/release.svg)](https://gitlab.sportradar.ag/unifiedoddssdk/unifiedodds.sdk.netcore/-/releases)

Notice: before starting DemoProject make sure to enter your bookmaker access token in app.config file and restore nuget packages by right-clicking the solution item and selecting "Restore NuGet Packages".

The SDK is also available via NuGet package manager. Use the following command in the Package Manager Console to install it along with it's dependencies:

`Install-Package Sportradar.OddsFeed.SDKCore`

The SDK uses the following 3rd party libraries which must be added via the NuGet package manager
- App.Metrics (3.2.0)
- Castle.Core (4.4.0)
- OpenTelemetry (1.6.0)
- Dawn.Guard (1.12.0)
- Humanizer (2.8.26)
- Microsoft.CSharp (4.7.0)
- Microsoft.Extensions.Logging (3.1.0)
- Newtonsoft.Json (12.0.3)
- RabbitMQ.Client (4.7.0)
- Unity (5.11.3)
- Humanizer (2.14.1)
- Microsoft.Extensions.Logging (7.0.0)
- Microsoft.Extensions.Caching.Memory (7.0.0)
- Microsoft.Extensions.Configuration (7.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (7.0.11)
- Microsoft.Extensions.Http (7.0.0)
- RabbitMQ.Client (6.5.0)

The package contains:
- DemoProject: A Visual Studio 2019 solution containing a demo project showing the basic usage of the SDK
- DemoProject: A Visual Studio 2022 solution containing a demo project showing the basic usage of the SDK
- libs: DLL file composing the Odds Feed SDK
- Odds Feed SDK Documentation.chm: A documentation file describing exposed entities
- Resources containing the log4net configuration needed by the Odds Feed SDK
Expand All @@ -27,6 +32,103 @@ For more information please contact support@sportradar.com or visit https://iodo

# Change Log

## 2023-10-24 2.0.0
- New major release

## 2023-10-04 2.0.0-rc1.20231004
- Added support for ICompetitor.Division (moved and replaced from ITeamCompetitor)
- Extended IJersey with SquareColor and HorizontalStripesColor

## 2023-09-20 2.0.0-rc1.20230920
- Added support for IVenue.Courses (returns list of ICourse instead of list of IHole)

## 2023-09-18 2.0.0-rc1.20230918
- 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
- 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

change
```xml
<configSections>
<section name="oddsFeedSection" type="Sportradar.OddsFeed.SDK.API.Internal.OddsFeedConfigurationSection, Sportradar.OddsFeed.SDK" />
</configSections>
```
to
```xml
<configSections>
<section name="uofSdkSection" type="Sportradar.OddsFeed.SDK.Api.Internal.Config.UofConfigurationSection, Sportradar.OddsFeed.SDK" />
</configSections>
```

## 2023-07-20 1.32.0
- Added support for StageType.SprintRace

## 2023-04-27 1.31.0
- Introduced OperationManager.MaxConnectionsPerServer property (in DI HttpClientHandler is created with setting MaxConnectionsPerServer)
- Fixed lock issue when calling SportDataProvider.GetActiveTournamentsAsync repeatedly
Expand All @@ -37,6 +139,11 @@ For more information please contact support@sportradar.com or visit https://iodo
- Optimized daily cache population of available sport and category data (does not delete any previous ones anymore)
- Optimized execution of some internal async methods

## 2023-02-XY 1.30.2
- Fixed lock issue when calling SportDataProvider.GetActiveTournamentsAsync repeatedly
- Improved performance for market/outcome name generation
- Fixed WNS API endpoints

## 2023-02-03 1.30.1
- Improved speed on API requests with high concurrency

Expand Down
14 changes: 0 additions & 14 deletions ext/CreateFeedModel.bat

This file was deleted.

10 changes: 0 additions & 10 deletions ext/CreateProbabilitiesModel.bat

This file was deleted.

45 changes: 0 additions & 45 deletions ext/CreateRestModel.bat

This file was deleted.

10 changes: 0 additions & 10 deletions ext/CreateUnifiedModel.bat

This file was deleted.

Loading

0 comments on commit 431392d

Please sign in to comment.