Releases: Sov3rain/pocketbase-unity
Releases · Sov3rain/pocketbase-unity
v0.23.9
[0.23.9] - 2025-11-13
Fixed
- Fixed UTF-8 multibyte character handling in
DownloadHandlerSseBase.ReceiveDatamethod. The SSE client now properly handles UTF-8 multibyte sequences that are split across data chunks by using a stateful UTF-8 decoder instead of naive byte-to-char casting. This prevents character corruption when receiving SSE events containing non-ASCII characters. (Thanks @xavier-ateo!) - Fixed serialization exception in
RecordModel.Dataproperty when the underlying dictionary containsKeyValuePairentries. The property now manually constructs theJObjectby iterating through the dictionary entries instead of using theJObjectconstructor directly.
Changed
- Cleaned up
RecordModeldefault values initialization and removed redundant generic type specifications.
Full Changelog: 0.23.8...0.23.9
v0.23.8
Fixed
- Fixed stack overflow risk in
BaseCrudService.GetFullListandSyncQueue.Dequeuemethods. Converted recursive implementations to iterative approach to eliminate potential stack overflow exceptions. - Fixed null reference exception in
PocketBase.NormalizeQueryParametersmethod. Added null-conditional operator to safely handle null parameter values when converting to string. - Fixed null reference exception in
AuthStore.IsValidmethod during JWT token parsing. Added proper null checking and safe dictionary access for the "exp" key to prevent exceptions during token validation. - Fixed exception handling in
AuthStore.IsValidmethod during Base64 conversion and JSON parsing. Added try-catch block to handle potential exceptions during token validation. - Fixed null reference exception in
Caster.Extractmethod. Added null check before calling ToObject to prevent exceptions when extracting null values. - Fixed null validation in
RecordModel.Setmethod. Added proper null handling to safely set null values using JValue.CreateNull instead of JToken.FromObject. - Fixed unsafe dictionary access in
RealtimeService.UnsubscribeByTopicAndListenermethod. Improved subscription reference handling to prevent potential null reference exceptions during concurrent access. - Fixed exception handling in
RecordService.ConfirmEmailChangemethod. Added try-catch block to handle potential exceptions during token validation. - Fixed exception handling in
RecordService.ConfirmVerificationmethod. Added try-catch block to handle potential exceptions during token validation. - Fixed unsafe access in
SseClient.Closemethod. Added null check before disposing UnityWebRequest to prevent exceptions when closing the client before a connection is established. - Fixed small performance issue in
ExtensionMethods.GetAwaitermethod. Added null check before creating new task to prevent unnecessary task creation when the operation is already completed. - Fixed inverted logic in
RecordService.Unsubscribe()method. The method now properly unsubscribes from all topics whentopicis null or empty. - Fixed incomplete error logging in
AsyncAuthStore.LoadInitialmethod. - Fixed wrong path in
FileService.GetTokenmethod. - Fixed wrong path in
LogService.GetListmethod. - Fixed condition in
RecordService.ConfirmVerificationmethod.
Full Changelog: 0.23.7...0.23.8
v0.23.7
Fixed
- CRITICAL: Fixed stack overflow exception in
RecordModel.Dataproperty caused by infinite recursion betweenDataproperty andToString()method. TheDataproperty now directly constructs aJObjectfrom the underlying_datafield instead of parsing the serialized string representation.
Full Changelog: 0.23.6...0.23.7
v0.23.6
Fixed
- Fixed
RealtimeService.Unsubscribenot working properly because of wrong topic matching logic inGetSubscriptionsByTopicmethod.
Full Changelog: 0.23.5...0.23.6
v0.23.5
Full Changelog: 0.23.4...0.23.5
v0.23.4
Full Changelog: 0.23.3...0.23.4
v0.23.3
Full Changelog: 0.23.2...0.23.3
v0.23.2
Full Changelog: 0.23.1...0.23.2
v0.23.1
What's Changed
- Replaced incorrect using directives by @xavier-ateo in #1
New Contributors
- @xavier-ateo made their first contribution in #1
Full Changelog: 0.23.0...0.23.1
v0.23.0
Full Changelog: 0.22.3...0.23.0