Skip to content

Releases: danclay/eris-fleet

v1.0.2

19 Apr 01:49
af743fa
Compare
Choose a tag to compare

What's Changed

  • Fixed the central request handler not serializing bigints

v1.0.1

12 Mar 21:45
Compare
Choose a tag to compare

What's Changed

  • Added info log level
  • Fixed not broadcasting shard events

v1.0.0

19 Dec 03:18
Compare
Choose a tag to compare

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 from shardStats 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 to ipc.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 and ServiceWorker in your array of services (examples in /test)
  • Added a central storage map

v0.3.9

07 Aug 05:00
b98ef9a
Compare
Choose a tag to compare
  • Added support for extended eris class

v0.3.8

04 Aug 00:13
Compare
Choose a tag to compare
  • Cluster and service control are now accessible via the "Admiral" class

v0.3.7

16 May 04:25
802044a
Compare
Choose a tag to compare
  • Fix error on ipc service command when a non-object is the return value
  • Move eris to a peer dependency

v0.3.6

06 Apr 02:51
Compare
Choose a tag to compare
  • Updated ipc.fetchMember to use Eris's guild.fetchMembers function. This should fix it only returning cached members
  • Updated Eris from 0.14.0 to 0.15.0

Bug fixes

11 Jul 01:27
Compare
Choose a tag to compare
  • Fixed shutdowns failing if the shutdown function is no good
  • Allowed for multiple registered functions to a single event name

Release 0.3.0

18 Jun 00:49
Compare
Choose a tag to compare
  • 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