Releases: ddavness/roblox-http-queue
Releases · ddavness/roblox-http-queue
v1.1.2
v1.1.1
v1.1.0
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
Initial Stable Release:
Changelog
- Url normalization now happens correctly:
https://example.com
will be coerced intohttps://example.com/
buthttps://example.com/page
will NOT be coerced intohttps://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
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).
- 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
-
- This means that we still need for the roblox-ts refactor to be completed in order for
@rbxts/http-queue
to be usable.
- This means that we still need for the roblox-ts refactor to be completed in order for
- 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 torequest: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
Changelog
- The Promise implementation used as a dependency was bumped to the latest version.
Release Candidate
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!