Skip to content

Releases: ddavness/roblox-http-queue

v1.1.2

18 Apr 23:08
Compare
Choose a tag to compare

Updates

  • Dependencies were updated to their latest versions;
    • t to 2.1.4

Fixes

  • Fixed a publishing issue on the npm package, where DependencyLoader was double-nested. This was the result of (trying to) running prepublish scripts in PowerShell 😅

v1.1.1

17 Mar 22:03
Compare
Choose a tag to compare

Updates

  • Dependencies were updated to their latest versions;
    • t to 2.1.1
    • Promise to 3.1.0
  • Because Roblox-TS' Promise library is now properly synchronized with evaera's Promise library, this library will use that one instead (for npm users only)

v1.1.0

01 Aug 22:18
Compare
Choose a tag to compare

Changelog:

  • You can now use a callback to inspect a rate-limited request's response in order to determine how long the queue should stall.
    • This feature is used when creating the queue. The function receives the response to a rate-limited request (this is, to which the response had a status code of 429) and should return the number of seconds the queue should stall. Example:
local myQueue = HttpQueue.new({
    retryAfter = {callback = function(response)
        -- Do something
    end}
})

v1.0.0

14 Jul 17:43
Compare
Choose a tag to compare

Initial Stable Release:

Changelog

  • Url normalization now happens correctly: https://example.com will be coerced into https://example.com/ but https://example.com/page will NOT be coerced into https://example.com/page/
  • Until Roblox-TS releases their refactor branch, the npm package will not use Roblox-TS's provided Promise library, but will ship with one of it's own.

Release Candidate 3

05 May 18:07
Compare
Choose a tag to compare
Release Candidate 3 Pre-release
Pre-release

Changelog

  • The dependency loader now loads the Roblox-TS dependencies correctly;
    • Their upstream Promise implementation might need patching as we cannot do so at a loader level until it's usable out of the box (the Promise.is() checker is unsafe, similar to evaera/roblox-lua-promise#22).
    • This means that we still need for the roblox-ts refactor to be completed in order for @rbxts/http-queue to be usable.
  • The queue is also now aware that HttpService imposes limits. Cases where the 500 requests/minute limit is exceeded are now automatically handled too;
  • queue:AwaitPush(request) should return a similar value to request:AwaitSend() if there's an error;
  • When creating requests with url's not ending with a "/" (for example, https://example.org) with a query parameter, that is corrected so that the HttpService doesn't throw an ``UrlInvalid` error.

Release Candidate 2

04 May 22:07
Compare
Choose a tag to compare
Release Candidate 2 Pre-release
Pre-release

Changelog

  • The Promise implementation used as a dependency was bumped to the latest version.

Release Candidate

03 May 17:12
Compare
Choose a tag to compare
Release Candidate Pre-release
Pre-release

This seems to work, but some testing is still needed to find out if there are any polishes to do.

The file already contains the dependencies, just drop and play!