Releases: dragonfruitnetwork/dragon6-api
2020.1203
This is a pre-release build. We recommend using the stable version until we've fully tested the changes and made any edits necessary
Breaking Changes
- Refactors lots of the stats, extensions, strings and deserializers to include the word
Classic
- i.e.GetWeaponStats
is nowGetClassicWeaponStats
. GeneralStats
has also been refactored toClassicStats
- Updates the developer client to work as an oauth-based Dragon6Client
Other Changes
- Updates the
DragonFruit.Common.Data
library and removes many computed properties
2020.1121
Adds CancellationToken
support when using Perform<T>(UbiApiRequest)
2020.1117
Updates the API to work with the new DragonFruit.Data.Common library (supporting .NET 5)
Also adds a new ubisoft appid: the new siege stats site
2020.1107
Prepares for a worst-case scenario with operator stats by making the operator-specific action count nullable.
For major changes, check the previous release
2020.1029
This new version includes a multitude of performance improvements, new stats and consistency updates to ensure you get the most from the stats.
Breaking Changes
- We've refactored
AccountLoginInfo
toAccountActivity
to reduce confusion with theAccountInfo
- Trying to get stats for a valid ubisoft account that has never played the game will now return
null
instead of a blank object. - The rank dictionaries that have been obsolete for some time have finally gone - you can now access the user's rank name and info from the
SeasonalStats.RankInfo
property. - All identifiers have been refactored into
switch
statements inside the classUbisoftIdentifiers
- Some property names have changed - but they should all just be from KD -> Kd, ID -> Id, WL -> Wl, etc.
HighScoreContainer
has been scrapped and has been replaced byModeStatsContainer
, accessable fromGeneralStats.Bomb
,GeneralStats.Hostage
andGeneralStats.Secure
- Weapon classes are now identified by an enum (
WeaponType
)
Other Changes
- Server status is back! Can be accessed in the same way as before (ubisoft started getting more consistent)
- You can get info about the client connecting to the servers using the
GetUserLocationInfo()
extension. plz track responsibly though - Weapon stats got better! including the ratios that ubisoft define (but due to the stats being wrong they're incorrect), the pickrate and downs/assists from each weapon
- Operator stats also got buffed with total xp from each operator and total downs (inflicted on others)
- General stats now includes total gadgets
toasteddestroyed, blindkills, distance travelled (not sure what unit it's in though) and total experience - Added xmldocs to all properties that need a bit extra info and to all extensions.
Remarks
Thanks to everyone who contributed over the past couple of months, whether it was for hacktoberfest or because you're interested - we appreciate it 🙏
2020.1023
Adds some missing features from the last release (2020.2022)
Again, we advise not using the pre-release builds until they're released as stable builds
2020.1022
This is a pre-release of the new version, which includes some startup speed boosts, memory reductions, more consistent ratio calculations and more stats that were previously missed.
There may be some breaking changes, we advise that consumers wait until the stable release (when full details will be written up)
2020.915
Introduces the changes made in the previous pre-release and overrides the ToString() method on the AccountInfo class (primarily for PostSharp cache)
2020.901
Pre-Release update for testing 2 changes:
- Extension methods now use overridden methods (if applicable) instead of the base ones
- Locking on the token expiry check to stop duplicated requests
2020.708
Important Changes
The way you get tokens is changing. From this release onwards, you do not need a UbisoftAuthClient
- it has been removed and swapped for the extension d6Client.GetUbiToken("username", "password");
Changes
- Updated the framework version, for changes relating to DragonFruit.Common.Data see their release page