- Major: Updated login process and cookie retrieval, and revised cookie configuration format.
- Minor: Added option to disable check-in-checker if user have a custom check-in hour set
- Bugfix: Added missing
issigned
property
- Bugfix: Added missing conditional check if stamina set to
false
inconfig.js
file
- Minor: Update account identifier in check-in message.
- Minor: Updated
README.md
with more clear instructions
- Major: Added Docker and Docker Compose support.
- Minor: Added Makefile with a list of general operations.
- Minor: Updated documentation with new elements.
- Bugfix: Fixed typo
example.config.js
->default.config.js
in README.md. - Bugfix: Fixed typo
docker-compose
->docker compose
in Makefile - Bugfix: Fixed service name
starrail-auto
->instance
in Makefile
- Minor: Added donation link to README.md
- Minor: Bumped timeout to 7 seconds
- Minor: Bumped Telegram timeout to 5 seconds
- Minor: Fix error message in config file handling
- Bugfix: Added missing commands module at the config file
- Bugfix: Fixed typo from
thershold
tothreshold
- Major: Reworked codebase from ES6 to CommonJS
- Bugfix: Added missing delay on unsuccessful request
- Bugfix: Add delay after successful request
- Major: Added
check-in-checker
to check if user has checked in or not to avoid missing check-in - Minor: Add
getSignData
method to CheckIn class
- Bugfix: Add await keyword to Discord message preparation
- Minor: Updated Google Script instructions
- Minor: Update account cookie regex to include ltuid_v2
- Major: Reworked Discord embed notification
- Minor: Added icon property to award object
- Minor: Added
formattedAccountRegion
to utils - Minor: Added method to get account by ID
- Minor: Fixed auto redeemer does not work when there's new codes
- Minor: Updated the regular expression used to extract the account ID from the cookie in the account class.
- Minor: Removed log if there's no exchange group
- Minor: Reworked new code checker and codes now check for hoyolab if there's any new codes too
- Minor: Added option to auto-redeem for codes in
config.js
and added function to automatically redeem new codes - Minor: Added missing
REDEEM_CODE
property toconfig.js
file
- Major: Writed newly obtained redeem codes to
codes.js
file to avoid duplicate codes
- Major: Initial implementation for checking if reserve stamina is full
- Minor: Notification now display username of the account
- Bugfix: When expedition is done, it will now display the correct expedition name (#16)
- Major: Added
daily
andweekly
crons to check if user has done their daily and weekly tasks - Minor: Moved all DS generators to
utils
singleton
- Minor: When registering account with no
account_id
provided, it will still be registered with cookie provided but no account data such asregion
,rank
, etc will be fetched. - Bugfix: Fixed bug where when user provided cookie and there's no
account_id
in the cookie, it will throw an error (#13)
- Major: Added
GenericRequestError
class to handle generic request error - Major: Refactored
Account
class to get all account related data - Minor: Improved
RequestError
error message - Minor: Removed log when account is registered
- Minor: Check-in now returns proper account
UID
- Minor: Moved Telegram got into custom
got
instance - Minor: Removed unused
Error
at Telegram controller - Minor: Added duplicate check when registering account
- Major: Reworked command handler for future universal uses
- Bugfix: Code reedem cron didn't save the code properly
- Major: Reworked
config
to class and for easier access to configs - Minor: Defaulted all values to
false
onconfig.js
file
- Major: Added
utils
singleton and moved some of thestamina
andexpedition
function to utils - Major: Added cron to check for new codes (Currently only supports Global server codes)
- Minor: Modified help message for
flag-handler
- Minor: Moved
formatTime
andgetAccountRegion
toutils
- Minor: Refactored notification codes check using optional chaining
- Bugfix: Fixed bug where notification kept being send even skipCheck is set to false (#10)
- Bugfix: Fixed wrong operetor given for expedtion check
- Bugfix: Fixed code redemption logic bug
- Major: Telegram users now can use commands to check stamina, and check expedition status by using
/stamina
and/expedition
respectively. - Minor: Added
prepareMessage
function to prepare message for Telegram and Discord - Minor: Typo fix for
expidition
toexpedition
at expedition cron - Minor: Fix expedition completion check logic
- Minor: Added missing region for
CN/TW
server
- Minor: Discord embed generator now accept
stamina
andexpedition
as a parameter to generate the embed - Minor: Added missing argument handler for
--sign
and--stamina
flag - Minor: Removed flag validation since it can throw an error when other flags are used such as
--color
if you're using pm2 - Minor: Moved process flag handler to it's own function
- Minor: Added
checkOnly
option to expedition - Minor: Renamed
flagHandler
toflag-handler
- Minor: Switched if statement to switch statement for
flag-handler
- Major: Moved
Discord
,Telegram
to controllers folder - Major: Added
Account
class to handle account related functions - Major: Added template for classes
- Major: Added
cron
to handle cronjobs - Major: Reworked script initialization to load all modules on startup and verify if the accounts are valid
- Major: Added core loader to load all core modules on startup
- Major: Added Expedition class to handle expedition related functions and notify user when all expedition is done
- Minor: Moved
check-in
andstamina
tohoyo
folder - Minor: Removed
prefixUrl
from got - Minor: Removed
Notification
class - Minor: Removed
config
from telegram config - Minor: Moved
error
class to objects folder - Minor: Splitted cronjobs into their seperate folders
- Minor: Typo fix for
expidition
toexpedition
- Minor: Added missing expedition cronjob config
- Minor: Added
skipCheck
option to bypassaccount.fired
check and will always send a notification.
- Major: Fixed wrong license provided in the repo, followed correct license at the
package.json
file. - Minor: Moved notifications setup to it's own respective folder.
- Minor: Update the variable name at README.md file.
- Minor: Removed unintended check for
--stamina
flag. - Minor: Update Stamina class to dynamically determine server based on account's region.
- Minor: Misc updates to README.md file.
- Minor: Removed unintended if statement.
- Minor: Fixed
Stamina
class to fix account firing logic. - Minor: Removed unintended
console.log
.
- Major: Added
Telegram
support - Minor: Added
--stamina
flag to allow user to check their current stamina. - Minor: Small code refactor and code reorganization.
- Minor: Removed notifications when user is using flags.
- Major: Reworked the entire check-in functions
- Major: Added custom error class to handle errors
- Major: Added stamina check to notify user when they are above threshold
- Minor: Moved config from using a
.env
file to aconfig.js
file - Minor: Added
skipEmbed
option to skip the embed when sending a message - Minor: README typo fix
- Minor: Refactor Discord initialization in cronjobs function to handle if
DISCORD_WEBHOOK
isnull