Releases: jacobhumston/sxcu.api
Releases · jacobhumston/sxcu.api
v2.0.6
What's Changed
- v2.0.6 by @jacobhumston in #16
- General maintenance changes.
- Updated developer dependencies.
- New guides for the CLI.
Full Changelog: v2.0.5...v2.0.6
v2.0.5
What's Changed
- cli: Completed server command. by @jacobhumston in #15
Full Changelog: v2.0.4-fix...v2.0.5
v2.0.4-fix
v2.0.4
What's Changed
- Server command is now completely working. (Support for upload options will be coming in the next release.)
- New build script.
- Updated docs + new guide.
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- New README banner, fixed broken links.
- CLI help command has received major improvements.
- CLI options system has been completed.
- Added two commands:
server
(WIP) andupload
. - v2.0.3 by @jacobhumston in #11
Full Changelog: v2.0.2...v2.0.3
v2.0.2
v2.0.1
Changes
- Updated development dependencies.
- Fixed types from request.ts returning 404 in the docs.
- Fixed an issue with the cli not being able to update the user agent.
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
- Package completely rewritten in TypeScript.
- Better website: https://sxcu.api.lovelyjacob.com/
- New methods such as
parseSnowflake
. https://sxcu.api.lovelyjacob.com/latest/functions/parseSnowflake.html - Rate limit methods have been changed to:
- https://sxcu.api.lovelyjacob.com/latest/functions/getRateLimits.html
- https://sxcu.api.lovelyjacob.com/latest/functions/promisifyRateLimit.html
- https://sxcu.api.lovelyjacob.com/latest/functions/promisifyGlobalRateLimit.html
- https://sxcu.api.lovelyjacob.com/latest/functions/promisifyEndpointRateLimit.html
- The way rate limits are handled has been changed greatly.
- The queue class was removed, instead replaced with
toggleRequestQueue
. (https://sxcu.api.lovelyjacob.com/latest/functions/toggleRequestQueue.html) - Added some guides. (More later.) https://sxcu.api.lovelyjacob.com/guides/welcome.html
- All the types you could ever need, lol.
- And more...
Full Changelog: v1.2.5...v2.0.0
v1.2.5
Full Changelog: v1.2.4...v1.2.5
Change Log
- Added utility method
setUserAgent
. 9cf7658 - Added utility method
convertSxcuFile
. 9cf7658 - Added some package commands for windows users. 9cf7658
Example of the new convertSxcuFile method:
/* eslint-disable */
const { files, utility } = require('sxcu.api');
const converted = utility.convertSxcuFile('example.sxcu');
files.uploadFile('test.png', converted.options, converted.domain).then(function (response) {
console.log(response.url);
});
v1.2.4
Full Changelog: https://github.com/Lovely-Experiences/sxcu.api/compare/v1.2.3...v1.2.4
Change Log
- Queue is now a member of the Utility namespace. af042190183ac0926723e4438ee2e96220733a82
- Added
clear
method to the queue class. af042190183ac0926723e4438ee2e96220733a82 - The method
<queue>.upload
has be renamed to<queue>.push
. af042190183ac0926723e4438ee2e96220733a82 - Some documentation changes. af042190183ac0926723e4438ee2e96220733a82