Skip to content

Releases: RageAgainstThePixel/com.utilities.rest

com.utilities.rest 5.1.1

09 Dec 12:53
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.rest 5.1.1 by @StephenHodgson in #113
    • Fix uri implementation for determining local cached item
      • Replaced usage of uri.IsFile with uri.Scheme == Uri.UriSchemeFile throughout the codebase for more accurate URI type checks
      • Introduced GetCacheItemPath and GetCacheItemUri static methods to generate cache paths and URIs from file names, improving code clarity and reuse
      • Updated file download and cache-checking logic to use the new file name-based methods, improving correctness and reducing reliance on URI string parsing
    • Added new overloads for TryGetDownloadCacheItem to support cache lookup by fileName in both the IDownloadCache interface and its implementations, and updated usages throughout the codebase for consistency
    • Replaced Queue<ServerSentEventPayload> with thread-safe ConcurrentQueue<ServerSentEventPayload> for handling server-sent events, and improved error handling and logging for event processing.
    • Bump com.utilities.extensions 1.3.8

Full Changelog: 5.1.0...5.1.1

com.utilities.rest 5.1.0

07 Dec 00:55
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.rest 5.1.0 by @StephenHodgson in #112
    • Refactored all cache-related methods in IDownloadCache, DiskDownloadCache, and NoOpDownloadCache to use Uri objects instead of strings for URIs and file paths, improving type safety and consistency.
      • Refactor fileName calculations to improve performance
      • Skips UnityWebRequest.UnEscapeURL if loading from local resource
      • Updated cache item lookup, deletion, and writing logic to operate on Uri.LocalPath and handle file existence checks and file operations using the Uri type.
    • Rest.TryGetFileNameFromUrl will return false if the uri is not a remote resource
    • Replaced Rest.TryGetFileNameFromUrl with Rest.TryGetFileNameFromUri
    • Add Uri request overloads for all CRUD operations

Full Changelog: 5.0.4...5.1.0

com.utilities.rest 5.0.4

03 Nov 01:54
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.rest 5.0.4 by @StephenHodgson
    • Fix response body and data decode, added json parsing fallback

Full Changelog: 5.0.3...5.0.4

com.utilities.rest 5.0.3

02 Nov 23:51
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.rest 5.0.3 by @StephenHodgson in #111
    • fix Response.Data and Response.Error not being initialized correctly in .ctor

Full Changelog: 5.0.1...5.0.3

com.utilities.rest 5.0.1

02 Nov 06:27
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.rest 5.0.1 by @StephenHodgson in #108
    • propagate exception when using cancellation token cancel is called
    • com.utilities.async -> 3.0.2
    • com.utilities.extensions -> 1.3.6

Full Changelog: 5.0.0...5.0.1

com.utilities.rest 5.0.0

01 Nov 00:35
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

Full Changelog: 4.1.1...5.0.0

com.utilities.rest 4.1.1

22 Oct 02:17

Choose a tag to compare

What's Changed

  • update package deps
  • update validation workflows
  • update unity editor to 2021.3.45f2 (88f88f591b2e)

Full Changelog: 4.1.0...4.1.1

com.utilities.rest 4.1.0

01 Oct 11:54

Choose a tag to compare

What's Changed

  • Refactored and Optimized Server Sent Event Parser

Full Changelog: 4.0.0...4.1.0

com.utilities.rest 4.0.0

12 Aug 01:58

Choose a tag to compare

What's Changed

  • added api version support to base endpoint

Full Changelog: 3.4.0...4.0.0

com.utilities.rest 3.4.0

03 Aug 23:43

Choose a tag to compare

What's Changed

  • added DownloadTextureAsync override with texture readable flag

Full Changelog: 3.3.9...3.4.0