Releases: danclay/eris-fleet
Releases · danclay/eris-fleet
v1.0.2
v1.0.1
v1.0.0
eris-fleet was updated to use eris v0.16.x and received new features.
Breaking changes:
- Uses eris v0.16.x
- When using
ipc.register
, the message is now the actual message, not an object with the message as "msg" - Fetching members now returns only cached members. Use Eris'
client.getRESTGuildMember
to fetch a member which is not cached options.guildsPerShard
now includes an"auto"
option which is the default. This just uses whatever shard count Discord recommends.
Other changes:
- Added a central request handler. Disabled by default and may be enabled with the
useCentralRequestHandler
option being set to true. - Added ability to change resharding parameters
- Improved logging
- Renamed key for shards array to
shards
fromshardStats
in stats - Allows for the creation of services after the initial launch of the sharding manager
- Added cluster commands
- Added ability to send all clusters a command
- Added cluster eval
- Added ability to send all clusters an eval
- Added services eval
- Added timeout for all command and eval functions
- Added concurrency
- Added option to allow services to start simultaneously
- Added option to load code immediately
- Added option to disable the default function of replacing the console methods in workers
- Added some new stuff to stats (ipc latency, request handler latencyRef, members, and timestamp for when stats were collected)
- Ability to force eris-fleet to collect fresh stats
- Ability to get worker collections
- Added IPC class to Admiral
- Renamed
ipc.admiralBroadcast
toipc.sendToAdmiral
- Added more events to Admiral (e.g. clusters and shards becoming ready)
- Added broadcasting of Admiral events (and option to disable)
- Added maximum sequential restarts (default: 5)
- IPC commands (e.g. restarting clusters) now returns a promise which resolves when complete
- The bot and service classes can now be used without a path by passing the class in
options.BotWorker
andServiceWorker
in your array of services (examples in/test
) - Added a central storage map
v0.3.9
v0.3.8
v0.3.7
v0.3.6
Bug fixes
Release 0.3.0
- Added resharding
- Fixed some issues with the IPC
- Added an optional starting status
- Added some documentation in README.md
- Fetch now returns null if there is no value found
- Fetch now only checks clusters which are connected and will get the data from clusters when they launch unless the timeout has passed
- Now uses eslint to make code look sharp