Releases: sportradar/UnifiedOddsSdkJava
Releases · sportradar/UnifiedOddsSdkJava
v3.5.2
v3.5.1
3.5.1 (2024-10-28)
- fix: restore previous SelectionImpl constructor to preserve backward compatibility for clients relying on the internal SelectionImpl (CustomBetManager.getSelectionBuilder() is the only recommended way to construct selections with SDK)
v3.5.0
3.5.0 (2024-10-22)
- CustomBet Calculation and CalculationFilter extended with isHarmonization
- CustomBetSelectionBuilder extended with new method setOdds
v3.4.0
- Added new Jersey attributes: stripes, horizontalStripes, horizontalStripesColor, squares, squaresColor, split
- A player can now have different jersey numbers assigned for different teams.
- Added support for + or - operation in market and outcome name template (e.g. market 739, 725)
v3.3.2
fix: Information whether competitor is virtual or not can reliably be fetched on all applicable sport events
v3.3.1
3.3.1 (2024-08-12)
- fix: Fixed translation loading logic in Match. Whenever Match.getName is invoked it no longer attempts to fetch all languages at once and fetches only user-requested language instead.
- fix: Car properties of DriverProfile are now properly exposed
v3.3.0
- feat: Enabled accessing match statistics on MatchStatus received via Match.getStatus object (beside Soccer also supports Kabaddi statistics)
v3.2.0
- Improved Variant Market handling when API call is not successful or has some faulty data (i.e. missing outcome name or missing market name)
- Fix: CustomBet API error responses are properly extracted and available for analysis either in logs or in the exception message (dependent on the configured exception handling strategy)
- Fix: Environment.GlobalReplay works properly with production token. API host is updated to production during the bookmaker discovery call.
v3.1.0
- SDK can be used in a construct close-with-resources
- Recovering after network outages no longer causes message duplication
- Markets are no longer excluded from messages handed over to the listener when descriptions of markets are unavailable
- Fix: faulty market descriptions are attempted to be re-fetched irrespective from exception handling strategy configured
v3.0.0
- Consistent casing used in naming in java code as per Google java style guidelines
- Upgrading Apache http client library from 4 to 5
- methods getName/s exposed more consistently in classes:
- categoryData, sportData, currentSeason, drawResult, manager, tournamentInfo
- upgrading sdk libraries. Rabbit, slf4j, guava, guice, icu4j, snakeyaml, jaxb
- removing libraries: logback
- removing deprecated methods
- OddsFeedConfiguration renamed to UofSdkConfiguration
- Removed selectIntegration and selectProduction from EnvironmentSelector (use selectEnvironment)
- user agent indicating basic environment information is submitted on Sports API calls
- Configuration from file - renamed values:
- defaultLocale -> defaultLanguage
- desiredLocales -> desiredLanguages
- ufEnvironment -> environment
- useMessagingSsl -> messagingUseSll
- useApiSsl -> apiUseSsl
- moved HttpClient configuration to UofConfigurationBuilder
- removing test-purposed OddsFeed constructor
- removing OddsFeedSessionBuilder.setSpecificListeners method
- renaming class SportsInfoProvider to SportDataProvider
- renaming method UofSdk.getSportsInfoProvider to UofSdk.getSportDataProvider
- renaming OddsFeed to uofSdk
- renaming OddsFeedSession to UofSession
- renaming OddsFeedSessionBuilder to UofSessionBuilder
- renaming OddsFeedListener to UofListener
- renaming OddsFeedConfigurationBuilder to UofConfigurationBuilder
- renaming UofSdk.getOddsFeedConfigurationBuilder to UofConfigurationBuilder
- renaming OddsFeedException to UofException
- renaming ReplayOddsFeed to UofSdkForReplay
- removed OperationManager
- Venue can now contain multiple courses, each with holes, id, and name translations.
- venue.getCourses signature was changed from returning List to List to accommodate multiple courses and carry additionally id and name for each of them. Corresponding changes were made to ExportableCompetitorCi
- teamCompetitor.getDivision method was moved up in the inheritance hierarchy to competitorCi and its signature was changed from returning Integer to Division in order for Decision to also carry division name. Corresponding changes were made to ExportableCompetitorCi
- timelineEvent.getHomeScore and timelineEvent.getAwayScore signatures were changed from returning double to BigDecimal to make these methods return types consistent with other occurrences of these same methods elsewhere in the SDK API. Corresponding changes were made to ExportableTimelineEventCi
- removed round.getGroupName along with corresponding adjustments in ExportableCompleteRoundCi and ExportableLoadableRoundCi
- round.getName, round.getNames and round.getPhaseOrGroupLongName are backed by their own corresponding attributes "name" and "group_name" only in the Sports API responses, and no longer falls back to other attributes.