diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 9115a49..18066df 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.0] - Fix 403 Errors on Gifts & RoomInfo - 2024-07-14 + +Bugfix for 403-Errors on fetching Available Gifts & RoomInfo. + +### Added + +- Updated Logging to direct users to Discord when issues arise with the signing-server. +- Added HideInCallstack-Attribute to Logging-methods to hide these methods in Unity's Console-UI. + Note: This only works if the user enables "Strip logging callstack" in the console's menu. + +### Fixed + +- Fixed (secondary) regex-match for RoomId +- Removed Origin-Header from HTTP-Requests, as that seemed to be causing the 403-errors. + +### Changed + +- Replaced ?? when checking cancellationtoken with HasValue to try to prevent 'Nullable object must have a value'. +- Updated BugReport-Template to include Environment-info. + ## [1.1.1] - Websocket Bugfix Bugfix for failing Websocket-Connection diff --git a/README.md b/README.md index d54b776..b6d56af 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# TikTokLiveSharp / TikTokLiveUnity v1.1.1 +# TikTokLiveSharp / TikTokLiveUnity v1.2.0 -[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white&style=flat-square)](https://www.linkedin.com/in/frankvhoof93/ ) +[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white&style=flat-square)](https://www.linkedin.com/in/frankvhoof93/) ![Issues](https://img.shields.io/github/issues/frankvHoof93/TikTokLiveSharp) ![Forks](https://img.shields.io/github/forks/frankvHoof93/TikTokLiveSharp) ![Stars](https://img.shields.io/github/stars/frankvHoof93/TikTokLiveSharp) @@ -16,7 +16,7 @@ If you want to showcase a project you've made with this library, create an Issue Other than that issues are purely for bugs, if you're having an implementation issue, please send a message in the [discord server](https://discord.gg/e2XwPNTBBr). ## New Fork -This project is a continuation of the original TikTokLiveSharp-Library by sebheron. The original project can be found on [Github](). The Readme for that project can also be found [here](README_ORIGINAL.MD). +This project is a continuation of the original TikTokLiveSharp-Library by sebheron. The original project can be found on [Github](https://github.com/sebheron/TikTokLiveSharp). The Readme for that project can also be found [here](README_ORIGINAL.MD). As the original Project did not seem to be receiving any new updates, and all the existing TikTokLive-Libraries were lacking in their Messaging-Schema's, this fork involved a re-write of large portions of the original. The original Messaging-Schema has been completely replaced, which can lead to breaking changes. Upgrade to this Library at your own discretion. @@ -28,6 +28,7 @@ Other available versions include: - [GoTikTokLive](https://github.com/Davincible/gotiktoklive) - Go Library (by David Brouwer) - [TikTokLive](https://github.com/isaackogan/TikTokLive) - Python Library (by Isaac Kogan) - [TikTokLiveJava](https://github.com/jwdeveloper/TikTokLiveJava) - Java Library (by JW) +- [TikTokLiveRust](https://github.com/jwdeveloper/TikTokLiveRust) - Rust Library (by JW) The primary incentive behind this library was to update the existing TikTokLive-Library with anew Messaging-Schema and additional Exception-Handling. It's implemented in .NET Standard and should work universally across all .NET supported platforms. An older version of Protobuf-net was used to ensure Unity compatibility. diff --git a/Setup_CSharp.MD b/Setup_CSharp.MD index dfc1f0a..1071d60 100644 --- a/Setup_CSharp.MD +++ b/Setup_CSharp.MD @@ -1,4 +1,4 @@ -# TikTokLiveSharp v1.1.1 +# TikTokLiveSharp v1.2.0 ## Downloading the Source Code Download the TikTokLiveSharp-SourceCode from the [Releases-Page](https://github.com/frankvHoof93/TikTokLiveSharp/releases/) diff --git a/Setup_Unity.MD b/Setup_Unity.MD index 029fb08..5c9049d 100644 --- a/Setup_Unity.MD +++ b/Setup_Unity.MD @@ -1,4 +1,4 @@ -# TikTokLiveUnity v1.1.1 +# TikTokLiveUnity v1.2.0 ## Installing the Project in Unity - Open the Package Manager Window **(Window -> Package Manager)** diff --git a/TikTokLiveSharp/TikTokLiveSharp.csproj b/TikTokLiveSharp/TikTokLiveSharp.csproj index e4e62f2..0619775 100644 --- a/TikTokLiveSharp/TikTokLiveSharp.csproj +++ b/TikTokLiveSharp/TikTokLiveSharp.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 1.1.1 + 1.2.0 Frank van Hoof True https://github.com/frankvHoof93/TikTokLiveSharp diff --git a/TikTokLiveSharpNetCoreWPFTestApp/TikTokLiveSharpNetCoreWPFTestApp.csproj b/TikTokLiveSharpNetCoreWPFTestApp/TikTokLiveSharpNetCoreWPFTestApp.csproj index 65dd11d..cbb40b7 100644 --- a/TikTokLiveSharpNetCoreWPFTestApp/TikTokLiveSharpNetCoreWPFTestApp.csproj +++ b/TikTokLiveSharpNetCoreWPFTestApp/TikTokLiveSharpNetCoreWPFTestApp.csproj @@ -15,7 +15,7 @@ Library TikTok;Live en - 1.1.1 + 1.2.0 diff --git a/TikTokLiveSharpNetFrameworkWPFTestApp/TikTokLiveSharpNetFrameworkWPFTestApp.csproj b/TikTokLiveSharpNetFrameworkWPFTestApp/TikTokLiveSharpNetFrameworkWPFTestApp.csproj index 3f8c65e..66221f1 100644 --- a/TikTokLiveSharpNetFrameworkWPFTestApp/TikTokLiveSharpNetFrameworkWPFTestApp.csproj +++ b/TikTokLiveSharpNetFrameworkWPFTestApp/TikTokLiveSharpNetFrameworkWPFTestApp.csproj @@ -26,7 +26,7 @@ false true 0 - 1.1.1.0 + 1.2.0.0 false true diff --git a/TikTokLiveSharpWinFormsTestApp/TikTokLiveSharpWinFormsTestApp.csproj b/TikTokLiveSharpWinFormsTestApp/TikTokLiveSharpWinFormsTestApp.csproj index 9076c09..2a64748 100644 --- a/TikTokLiveSharpWinFormsTestApp/TikTokLiveSharpWinFormsTestApp.csproj +++ b/TikTokLiveSharpWinFormsTestApp/TikTokLiveSharpWinFormsTestApp.csproj @@ -24,7 +24,7 @@ false true 0 - 1.1.1.0 + 1.2.0.0 false true diff --git a/TikTokLiveSharp_TestApplication/TikTokLiveSharpConsoleTestApplication.csproj b/TikTokLiveSharp_TestApplication/TikTokLiveSharpConsoleTestApplication.csproj index 9fa5b03..97b3bf7 100644 --- a/TikTokLiveSharp_TestApplication/TikTokLiveSharpConsoleTestApplication.csproj +++ b/TikTokLiveSharp_TestApplication/TikTokLiveSharpConsoleTestApplication.csproj @@ -3,7 +3,7 @@ Exe netcoreapp3.1 - 1.1.1 + 1.2.0 Console-TestApp with .NET Core for TikTokLive_Sharp 2024 Frank van Hoof LICENSE.md diff --git a/package.json b/package.json index 83519b2..73e07fe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "dev.vanhoof.tiktokliveunity", "displayName": "TikTokLive Unity", "description": "TikTokLive-Client for Unity", - "version": "1.1.1", + "version": "1.2.0", "author": { "name": "Frank van Hoof", "email": "frank_van_hoof@hotmail.com",